feat: indicate which changed files have MR discussions
This MR introduces a
The feature consists of the following two changes that work together:
-
ChangedFileItem
implementation so that thechangedFileItem.resourceUri
contains information whether the changed file has got any comments (?hasComments=true
) or not (?hasComments=false
) - We introduce a new decorator (
has_comments_decoration_provider.ts
) which parses theresourceUri
and returns the💬 if it contains?hasComments=true
query.
The MR also contains a few small refactorings. I tried to split the changes into multiple commits for easier review.
The files in the left-hand-side tree view are instances of ChangedFileItem
class.
Related to #404 (closed)
Edited by Tomas Vik