Enhance the RefSelector component
What does this MR do?
This enhances the RefSelector
component so that it can fulfill other requirements across the product:
- Adds the ability to pick what kind of refs (branches/tags/commits) are being fetched and presented to the user.
- When a single type of ref is enabled, section headers are now automatically hidden.
Screenshots (strongly suggested)
Before | After |
---|---|
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Related to #322890 (closed)
Edited by Paul Gascou-Vaillancourt