GraphQL-ify the Web IDE navigation dropdown
Description
The Merge Requests and Branches navigation dropdown in the Web IDE is a prime candidate for moving things over to GraphQL. Currently we do some URL parsing for values which is some undesirable coupling and recently introduced a regression (see #200087 (closed)).
It'd be nice to do away with our URL parsing and just specify what values we need.
Context
The following discussion from !24206 (merged) should be addressed:
-
@pslaughter started a discussion: note: This is a temporary fix... This regression happened because:
- We are using a partially related URL to parse for the value we need (rather than receiving that value directly). This bit is a good candidate for moving over to GraphQL (which will open the door for other parts of the IDE).
Let's handle the GraphQL refactor in a follow up issue.
Edited by Paul Slaughter