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.

Resolves #2207 (closed)

How has this been tested?

  1. Open a project
  2. Checkout a branch with an associated merge request, or create one
  3. Merge or close the MR
  4. Refresh the extension state
  • If src/browser or src/common has 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
Screenshot_2026-01-13_at_15.05.56 Opened
Screenshot_2026-01-13_at_15.05.12 Draft
Screenshot_2026-01-13_at_15.06.21 Closed
Screenshot_2026-01-15_at_09.41.31 Merged
Screenshot_2026-01-13_at_15.08.38 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

Merge request reports

Loading
Loading