Page MenuHomePhabricator

Prefill spelling variant of new form representation
Closed, ResolvedPublic5 Estimated Story Points

Description

When adding a new form most of the time the spelling variant of the form representation will be the same as the spelling variant of the Lemma. We should pre-fill the spelling variant of a new form's first representation with the spelling variant of the first lemma of the lexeme to make it easier to add a new form and avoid mistakes.

Note: When there is more than one Lemma then we don't pre-fill.

GIVEN I am on a lexeme
AND   I click "add form"
THEN  the spelling variant field of the first (auto-added) form representation is pre-filled with the spelling variant of the first lemma of the lexeme it belongs to

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Lydia_Pintscher renamed this task from Prefill language of new Form with language of Lexeme to Prefill spelling variant of new Form with spelling variant of Lexeme.Jun 5 2018, 7:43 PM
Lydia_Pintscher updated the task description. (Show Details)
Pablo-WMDE renamed this task from Prefill spelling variant of new Form with spelling variant of Lexeme to Prefill spelling variant of new form representation.Jun 6 2018, 2:04 PM
Pablo-WMDE updated the task description. (Show Details)
Pablo-WMDE added a subscriber: Pablo-WMDE.

@Lydia_Pintscher Ponder what should happen if there are multiple lemmas. Do we want to add a new (empty) form representation for each lemma a lexeme has?

Let's take the spelling variant for the first Lemma in this case.

@Lydia_Pintscher Unfortunately it doesn't seem that there is an ordering of lemmas. This means that there isn't a first concept of "first".

Some possible alternatives in the situation where there is more than one lemma are:

  1. Add as many new form representations as there are lemmas
  2. Add no default language and only one new representation to be filled in

After talking with the others in the hike there is a "first" that I missed which is the first in list of lemmas displayed in the header.

This isn't guaranteed to appear in any particular order depending on things like the user's browser but we can still always just use the first one.

We discussed it today and concluded that we don't know enough from the users yet and will therefore only pre-fill it for Lexemes with one Lemma. For the Lexemes with more than one we don't pre-fill.

Vvjjkkii renamed this task from Prefill spelling variant of new form representation to z6baaaaaaa.Jul 1 2018, 1:07 AM
Vvjjkkii removed Tarrow as the assignee of this task.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed the point value for this task.
Vvjjkkii edited subscribers, added: Tarrow; removed: Aklapper.
Tarrow renamed this task from z6baaaaaaa to Prefill spelling variant of new form representation.Jul 2 2018, 9:18 AM
Tarrow claimed this task.
Tarrow updated the task description. (Show Details)
Tarrow removed a project: archived--TCB-Team.
Tarrow set the point value for this task to 5.