Navigate user to prometheus integration page when editing multiple metrics
Summary
This is a follow-up issue from !26511 (comment 301985360)
@nadia_sotnikova @dhershkovitch I was looking at a way to return to that particular screen, but I don't have access to that path via the backend response, would it be okay for a first iteration to just return to the path given by the backend for now, which returns to the edit metric screen, and on a follow-up issue, ask the backend to get me the url path for that particular edit screen?
Proposal
The edit metric
dropdown option currently navigates the user to prometheus custom metric form. For charts with multiple metrics, it navigates to the first metric. Instead, it should navigate the list of custom metrics page.
The metric page path is available in the settings-path
prop coming in from BE https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/helpers/environments_helper.rb#L26 to.
Screenshot
This is the page the user would see