Skip to content

Display a ref type icon in the ref selector

Jacques Erasmus requested to merge 408388-ref-selector-type-icon into master

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 Screenshot_2023-09-25_at_09.27.36 Screenshot_2023-09-25_at_09.28.02
tag Screenshot_2023-09-25_at_09.27.45 Screenshot_2023-09-25_at_09.28.10

How to set up and validate locally

  1. Enable the redirect_with_ref_type feature flag.
  2. Open a project that has branches and tags (http://127.0.0.1:3000/flightjs/Flight/-/tree/master?ref_type=heads).
  3. 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.

Related to #408388 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading