griffithlab / civic-client

Web client for CIViC: Clinical Interpretations of Variants in Cancer
MIT License
50 stars 28 forks source link

Make variant type type-ahead list longer and ranked, added root concept #1536

Closed lsheta closed 3 years ago

lsheta commented 3 years ago

See civic curation slack channel on Oct 29th 2020 for more detail.

Currently, the variant type-ahead shows 5 options apparently non-deterministically for any given string. I think the consensus is that the list should be longer and somehow ranked. I think the favorite for ranking schemes is to prioritize items that come from sequence_variant root concept and begin with the search string. It would be nice if the return order was consistent and if the variants showed the root concept in brackets. See photos

Screen Shot 2020-10-29 at 2 29 05 PM Screen Shot 2020-10-29 at 2 30 42 PM Screen Shot 2020-10-29 at 2 32 29 PM