galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.37k stars 992 forks source link

improve UX of (upload) select box #18562

Open martenson opened 1 month ago

martenson commented 1 month ago

I encounter this regularly on upload, but it is likely happening in other contexts. When you specify a string to filter on, the suggested values are results of fulltext search ordered alphabeticaly even if you have an exact match. Two examples below

Screenshot 2024-07-18 at 9 36 47 AM

above I would argue that a better order would be fasta as an exact hit (thus confirmed by Enter)


Screenshot 2024-07-18 at 9 39 58 AM

Here I would expect tsv

hexylena commented 1 month ago

preferring the exact prefix matches when ranking results would be so helpful!

mvdbeek commented 1 month ago

Finally found @jmchilton's https://github.com/galaxyproject/galaxy/pull/16564, this should be a good compromise for nonsense values like fastq, csfasta and so on, we just need to extend the values.

jmchilton commented 1 month ago

That is why I thought the backend enabled fix would be easy... I did it... and not like years ago 🙈. Past @jmchilton creates a lot of problems but sometimes has some okay ideas.

mvdbeek commented 1 month ago

Ah, we should also show the same warning in the single item datatype selector:

Screenshot 2024-07-29 at 16 49 00
mvdbeek commented 1 month ago

This is probably more used then the set all box, at least that's the case for me personally.