Skip to content

Add "directory_code_dropdown_updates" feature flag

What does this MR do and why?

  • Adds a new feature flag directory_code_dropdown_updates that flags a new code dropdown component
  • To keep this MR in scope, only added the first section in the new component

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

flag On flag Off
desktop

Screenshot 2025-01-23 at 9.35.04 AM.png

Screenshot 2025-01-23 at 9.35.26 AM.png

mobile

discussion on reusing the same component for mobile

Screenshot 2025-01-27 at 4.39.56 PM.png

Screenshot 2025-01-27 at 4.49.39 PM.png

How to set up and validate locally

  1. Enable directory_code_dropdown_updates and blob_repository_vue_header_app feature flag
   Feature.enable(:directory_code_dropdown_updates)
   Feature.enable(:blob_repository_vue_header_app)
  1. Go to a directory
  2. Click on Code

Related to #450667 (closed) #513599 (closed)

Edited by Chaoyue Zhao

Merge request reports

Loading