Tweak for UX inconsistency
requested to merge 338678-search-default-scope-is-lost-when-changing-from-project-search-to-a-group-one into master
What does this MR do and why?
While changing the project and group filter on the Global Search page, could change under some scenarios. This change will assure that the scope of the search stays the same if the previous scope exists with new filter settings.
Screenshots or screen recordings
Before | After |
---|---|
before | after |
How to set up and validate locally
- Visit the Global Search page (advanced search is not necessary for testing)
http://gdk.test:3000/search
- Select a group and or project from the filter dropdowns
- Select one of the scopes that are only available with or without filters (eg. scope projects are not visible if the projects filter is selected)
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 #338678 (closed)
Edited by Tomas Bulva