Update UI to show there are merge request dependencies when merge widget updates in real-time
Background
In !109191 (merged), we started triggering a subscription to update the merge widget in real-time when a dependency is added/removed to a MR. When the subscription is triggered, the merge widget updates with the following message:
Merge blocked: you can only merge after the above items are resolved
But the UI to show the blocking MRs above is not shown.
Proposal
Update the UI to show the Depends on n merge request being merged
when merge widget gets updated and detailed_merge_status
is merge_request_blocked
.
Availability and Testing
Add feature spec to ensure merge widget is updated in real-time for MR dependencies. If this is not possible, an E2E test can be added. Exploratory testing of feature.
Edited by Jay McCure