Display a ref type icon in the ref selector
What does this MR do and why?
Renders a ref-type icon in the ref selector based on the selector ref type.
Screenshots or screen recordings
Type | Before | After |
---|---|---|
branch | ||
tag |
How to set up and validate locally
- Enable the
redirect_with_ref_type
feature flag. - Open a project that has branches and tags (http://127.0.0.1:3000/flightjs/Flight/-/tree/master?ref_type=heads).
- A ref type icon should be rendered in the ref selector based on the selected ref type (i.e. tag/branch).
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 #408388 (closed)
Edited by Jacques Erasmus