GenSpectrum / dashboard-components

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

Change button description from + to add for mutation filter #474

Closed JonasKellerer closed 2 weeks ago

JonasKellerer commented 1 month ago

The mutation filter uses a "+" sign to add new mutations to the filter. I have not worked with the filter for some time and forgott, that I had to add them first, so I can filter for them. To make the functionality clearer, I would change the button description to "add".

fengelniederhammer commented 1 month ago

We could also make the label configurable? For power users it's maybe good to leave it as a +, but for everyone else it might be confusing.

fengelniederhammer commented 1 month ago

Another idea would be implementing visual feedback when the input was "forgotten" (i.e. showing a little tooltip "click +" when the input is not empty and the element lost focus)

anna-parker commented 2 weeks ago

After discussion we have decided to replace the button with a drop-down similar to in cov-spectrum: https://github.com/GenSpectrum/dashboard-components/issues/482