GenSpectrum / dashboard-components

https://genspectrum.github.io/dashboard-components/
GNU Affero General Public License v3.0
2 stars 0 forks source link

Allow sorting of output fields in gs-aggregate #514

Open anna-parker opened 3 hours ago

anna-parker commented 3 hours ago

We use gs-aggregate when selecting clades to filter from, as the output is not sorted alphabetically the result is quite ugly: https://github.com/GenSpectrum/dashboards/pull/302#issuecomment-2478796940

An alternative for pathogens with more clades would be to do sth similar as in the mutation filter where users can start typing and we offer a list of valid clade names.

fengelniederhammer commented 2 hours ago

It is possible to sort the columns of gs-aggregate.

From the comment, I think you're referring to gs-text-input? We could indeed sort the values there.

It also already has an autocomplete functionality. If you start typing, only the matching options will show up.