Fixed VSA multi-select project dropdown
What does this MR do and why?
Fixes bug where initial project selections are cleared out upon entering a search query and selecting a search result.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen Recording 2023-09-21 at 6.42.12 PM.mov | Screen Recording 2023-09-21 at 6.43.39 PM.mov |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Please make sure that you're on the GitLab Ultimate plan.
- Visit VSA for any group with projects and create a value stream if necessary or follow these steps:
- run
SEED_CYCLE_ANALYTICS=true SEED_VSA=true FILTER=cycle_analytics rake db:seed_fu
- Visit the group value stream. The group URL is present in the output of the command above.
- Open rails console and run
Analytics::CycleAnalytics::ReaggregationWorker.new.perform
- Refresh the group value stream and you should see data
- run
- Verify that the projects dropdown is working correctly:
- Use text search to find a project
- Select that project
- Use text search to find a different project
- Select the project
- Ensure that the first selection isn't cleared and that there are now two projects 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 #422206 (closed)
Edited by Rudy Crespo