-
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
Make the Plugin folder
notification user friendly
#5731
Make the Plugin folder
notification user friendly
#5731
Conversation
2ae922c
to
e0e04a3
Compare
Thank you for the PR. We should use |
@@ -265,7 +265,7 @@ export class HostedPluginManagerClient { | |||
if (UriSelection.is(result)) { | |||
if (await this.hostedPluginServer.isPluginValid(result.uri.toString())) { | |||
this.pluginLocation = result.uri; | |||
this.messageService.info('Plugin folder is set to: ' + result.uri.toString()); | |||
this.messageService.info('Plugin folder is set to: ' + decodeURI(result.uri.toString())); |
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.
You can use result.uri.toString(true)
instead.
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.
thinking again, LabelProvider.getLongName
should be used to a display string from a URI to align with the rest of UI
491783a
to
dc78218
Compare
@chattarajoy, please squash your commits. |
Signed-off-by: Joy Lal Chattaraj <Joylal4896@gmail.com>
dc78218
to
f47c6c1
Compare
@kittaakos, have squashed the commits |
I am trying this now on Windows. |
It looks better now on Windows. Thank you for the help, @chattarajoy! |
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 have verified it on Windows; it works as expected. 👍
Fixes #5693.
The message displayed contained an encoded URI, added changes to decode it before displaying the message.