Skip to content

Replace ref_switcher in app/views/projects/graphs/charts.html.haml

Ankit Panchal requested to merge ankit.panchal/ref-switcher-graph-chart into master

What does this MR do and why?

This changes the HAML ref switcher for the Project -> Analytics -> Repository page to use our Vue RefSwitcher component, this is part of the dropdown migration epic &8528

#263157 (closed)

Screenshots or screen recordings

Before:

Screenshot_2023-01-23_at_2.04.08_PM

After:

Screenshot_2023-01-23_at_2.03.15_PM

How to set up and validate locally

  1. Navigate to http://gdk:3000/flightjs/Flight/-/graphs/master/charts
  2. Test a dropdown
  3. the functionality should be the same as before, click on the dropdown

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports