Feature #18560
closedVocabulary picking improvements
Description
When setting properties, the value list can be very large. Suggested improvements:
- In the full list, only show the first (preferred) synonym for each id
- In the search, show the format "Preferred (synonym)" when the partial match is on the synonym
- When there are multiple matches, it should only include a given id in the list once
Updated by Peter Amstutz about 3 years ago
- Related to Idea #17454: Vocabulary checking of properties by API server/controller added
Updated by Lucas Di Pentima almost 3 years ago
- Target version set to 2022-02-02 sprint
Updated by Peter Amstutz almost 3 years ago
- Target version changed from 2022-02-02 sprint to 2022-02-16 sprint
Updated by Lucas Di Pentima almost 3 years ago
- Status changed from New to In Progress
Updated by Lucas Di Pentima almost 3 years ago
Updates at arvados-workbench2|1422847e - branch 18560-wb2-vocabulary-picking
Test run:
In the end, this was super easy to implement thanks to the feature-full component <Autocomplete>
that already supports custom suggestion rendering.
I've added a couple of vocabulary query functions to retrieve the preferred terms for keys and values so that the fields use those to render the suggestion list.
For manual testing I recommend using arvbox because ce8i5
doesn't have any vocabulary configured.
Updated by Lucas Di Pentima almost 3 years ago
Updates at arvados-workbench2|c72cb99d
Test run:
Fixes unrelated flaky test that failed on the previous run.
Updated by Lucas Di Pentima almost 3 years ago
Updates at arvados-workbench2|1e771e80
Test run:
- Refactors the vocabulary querying and suggestion rendering code so that only the synonyms that match the user's input are shown.
- Updates tests.
Updated by Lucas Di Pentima almost 3 years ago
- Target version changed from 2022-02-16 sprint to 2022-03-02 sprint
Updated by Lucas Di Pentima almost 3 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados-workbench-2:arvados-workbench2|e42867f560b3c2f4c09cf6a2c07c964c63714141.