Global Search - Update Apply Button
What does this MR do and why?
Closes #341426 (closed)
-
Disable the Apply button by default, and enable it once a user has modified a facet selection -
Increase the Apply button to use the default ( btn-med
) size
This change does the above 2 things. The interactions are managed via a sidebarDirty
flag in the Vuex store that tracks when a user has interacted with the sidebar.
Screenshots or screen recordings
Before | After - Disabled | After - Enabled |
---|---|---|
Videos
From "Any" State | From "Selected" State |
---|---|
From_Any_State | From_Selected_State |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Navigate to the Global Search page (ex.
http://127.0.0.1:3000/search
) - Search for a term (ex.
Voluptas quod
) - Switch the Search Scope to Issues
- Note the sidebar Apply button is disabled
- Change a filter on the sidebar
- Ensure the Apply button switches to enabled
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 #341426 (closed)
Edited by Zack Cuddy