-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply FileDecoration provider API #8911
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand correctly, we should check if everything works the same as in master
branch.
If so, it works as usual on my side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested it according to the provided "How to test" section. The file decorations, in Git view, seems to work in the same way as in VS Code.
Except for the tooltips. I don't see the file tooltips as it's in VS Code.
I'm not sure if it's a bug or just not implemented feature yet.
@vinokurig could you check the tooltips, please?
There are no tooltips in the master version neither for theia's native git plugin, nor for vscode git plugin. I've created an issue to add them: #9020 |
I see. Thank you for the explanation! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The functionality works as expected and code-wise it looks good to me. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vinokurig I performed a functional test and I noticed the following issues:
- I no longer see decorations for
scm
in the navigator:
The navigator scm decorations has been fixed.
A pull-request that fixes this issue is opened: #9045 |
2838ed0
to
f56516b
Compare
@vince-fugnitto any updates? |
@vinokurig I haven't had a chance to re-review the pull-request, there are a couple of pull-requests currently opened that also need reviewing. If others can help it'd be appreciated. |
@vinokurig I confirmed that the file decorations now work with/without the vscode git plugin. |
Yes it is expected, the API was changed after
You mean add a note to the |
@vinokurig I think so, there are a few apps which will require an update to the builtin to work properly again, and it might be better to be upfront or transparent about older versions of the plugin not working anymore. In addition, do you believe we should aim to merge #9045 first, the following pull-request introduces changes which results in multiple errors with I believe this is an issue: and it grows constantly: |
I agree, so could you please review #9045 as well. There is a discussion around logging an event when a new tree root is set in that PR. |
Depends on #8969. |
@vinokurig |
@vince-fugnitto Since the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I performed a functional review and everything seems to work correctly 👍
I verified that the use-case described in the pull-request works for both browser
and electron
(scm decorations are present in the nav, and scm view). I also confirmed that using @theia/git
works like on master
, decorations are present.
653a951
to
e3c430c
Compare
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
What it does
Align the FileDecoration vscode Plugin API with the latest vscode version. This API was changed and it is used in the vscode git plugin, so to be able to use the latest vscode git plugin it is needed to apply the changes in the Theia's FileDecoration plugin API.
related CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=22921
How to test
"@theia/git": "^1.9.0"
fromexamples/browser/package.json
file.plugins
folder.Review checklist
Reminder for reviewers