Loading
feat: Show merged or closed MR for branch
Description
This changes the API request to not filter by opened Merge Requests, and instead select the most recent Merge Request with the most relevant status (opened > merged > closed). It also updates the display of the Tree Item and the Status Bar when a merged MR is shown.
Related Issues
Resolves #2207 (closed)
How has this been tested?
- Open a project
- Checkout a branch with an associated merge request, or create one
- Merge or close the MR
- Refresh the extension state
-
If
src/browserorsrc/commonhas been modified, please consider interoperability with the Web IDE. See Running the Extension in WebIDE. - Consider an end-to-end test for significant new features that aren't covered by integration tests.
Screenshots (if appropriate)
| Icon | Status |
|---|---|
![]() |
Opened |
![]() |
Draft |
![]() |
Closed |
![]() |
Merged |
![]() |
No MR |
What CHANGELOG entry will this MR create?
-
fix:Bug fix fixes - a user-facing issue in production - included in changelog -
feature:New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog - None - other non-user-facing changes
Edited by Lennard Sprong




