feat: Decorate MR files using cache
Description
The file decoration provider for Merge Requests was added in !1355 (merged) and subsequently removed in !1387 (merged), because the changes in URLs caused other features to become unreliable.
This MR reintroduces the file decoration provider for Merge Requests, but with a different approach that doesn't require any alterations to the URLs. The mrCache
is now searched for every file that is opened in the editor, which is also where the Tree View gets its information.
How has this been tested?
This can be tested with the various Merge Requests found in https://gitlab.com/viktomas/test-project/
Screenshots (if appropriate)
before | after |
---|---|
![]() |
![]() |
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap