Open - Closed - Merged Label on Merge Requests should reflect status without reloading the page
Problem to Solve
The label on Merge Requests for Open
, Closed
, Merged
on Merge Requests is not updated automatically if the underlying status of the Merge Request has changed. A manual refresh of the page is required.
This leads to inconsistent understanding of the status of a Merge Request and can create double-work/confusion as people might see different things no the page.
Proposal
The label at the top of the page should be updated based on the status of the Merge Request without the user needing to refresh the page. For this we can use the state
property from the merge request widget endpoint.
Edited by Phil Hughes