Page MenuHomePhabricator

Display of labels of Lexemes in entity selector
Closed, ResolvedPublic

Description

As a user I want to be able to link to another Lexeme in a statement. I want to be able to see possible matches in the entity selector after typing in the first few letters of a word.

When making a new statement linking to a Lexeme the suggester should show the Lemma of the Lexemes that can be selected. Currently only the ID of the Lexeme can be entered. Current state:

Screenshot_20180404_175720.png (357×1 px, 27 KB)

Example of the way it should be shown in the dropdown:

L15Lexeme.png (271×1 px, 27 KB)

If there are multiple Lemmas then show them all with a / in between.

Scenario:

GIVEN I am on an entity page
AND I add a new statement with a property of data type Lexeme
AND I start typing in the value field
THEN I see a selector with suggestions for Lexemes with a Lemma starting with my input
AND the suggester shows the Lemma and its associated language and lexical category