Remove pre-filled search terms in MR revert modal
What does this MR do and why?
Without removing the currently selected branch, this MR removes the currently filtered branch on display, so that when a user clicks into the dropdown, the full list is available (which can then be filtered).
N.B.: This only changes the behavior on first load. This component still "pre-filters" once you pick an option from the list, which is definitely sub-par.
For #358218 (closed)
Screenshots or screen recordings
Before | After |
---|---|
revert-mr-branch-filter-master | revert-mr-branch-filter-fix |
How to set up and validate locally
- Go to any closed MR that you have the permissions to revert
- The closed widget shows the "Revert" button
- Click it
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.
Edited by Thomas Randolph