-
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
Fix plugin icon URLs in electron & Fix custom icon themes #7583
Conversation
packages/plugin-ext/src/main/browser/view/plugin-view-registry.ts
Outdated
Show resolved
Hide resolved
Please be sure to properly sign the Eclipse ECA, I see that your sign-off email is not yet registered: |
963679b
to
7bd9d28
Compare
Should be registered now |
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.
packages/plugin-ext/src/main/browser/plugin-icon-theme-service.ts
Outdated
Show resolved
Hide resolved
fafcb51
to
00f0851
Compare
beb46b9
to
4f382c1
Compare
packages/plugin-ext/src/main/browser/plugin-icon-theme-service.ts
Outdated
Show resolved
Hide resolved
65acae5
to
09890a4
Compare
Do these changes meet your expectations @akosyakov? |
@owlJaeger it looks very promising, i'm going to test it. |
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.
It looks good code-wise to me and I've tested that icons are available for themes, commands, trees and view containers in browser/electron targets on Linux. I have not tested on Windows.
I think we should mark PluginModel.packagePath
as deprecated and tell to use packageUri instead. Clean up can be done later.
Shall I update the Changelog for that? I see there are more deprecation warnings under the |
Yes, you can mention it. Don't delete code yet, only deprecate. |
@kittaakos Would you be able to check whether on Windows you have icons for electron? |
7ea0382
to
b6b009c
Compare
Updated to include the |
Signed-off-by: Luca Jaeger <owl.jaeger@gmail.com>
merging tomorrow if no objections? |
Signed-off-by: Luca Jaeger owl.jaeger@gmail.com
What it does
Fixes Issues:
#6834 Fixed by:
PluginModel.packagePath
with a backend-createdFileUri
passed on asPluginModel.packageUri
instead ofPluginModel.packagePath
FileUri
through thePluginModel.packageUri
property.packageUri
packageUri
instead ofpackagePath
and fix therelativePath
beingundefined
on Windows.Endpoint
s to fix it for electron specifically.#7040 Fixed by:
Endpoint
s in these files:How to test
electron
andbrowser
example apps in the theia repository and using the Seti File Icon Theme or download other icon themes throughvsx-registry
.electron
example app in the theia repository and install an extension likeGitlens
.Review checklist
Reminder for reviewers