Add new state for label that's selected but not applied
requested to merge 416607-follow-up-from-labels-as-a-facet-client-side-for-issues-visual-bug into master
What does this MR do and why?
This MR fixes a UX issue where if you slect label or labels and close the dropdown you can't see what has been selected before you applie the filter which is confusing.
Screenshots or screen recordings
Before | After |
---|---|
before-sm | after-sm |
How to set up and validate locally
- This MR requires advanced search to be configured and enabled.
- enable feature flag
echo 'Feature.enable(:search_issue_label_aggregation)' | rails c
- Visit the Advanced search page:
http://gdk.test:3000/search?scope=issues&search=%2A
- select some labels and observe unapplied pills to appear above the dropdown
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #416607 (closed)
Edited by Tomas Bulva