Skip to content

plugin: fix starting hosted-plugins#9874

Merged
vince-fugnitto merged 1 commit intomasterfrom
vf/fix-hosted-plugin
Aug 13, 2021
Merged

plugin: fix starting hosted-plugins#9874
vince-fugnitto merged 1 commit intomasterfrom
vf/fix-hosted-plugin

Conversation

@vince-fugnitto
Copy link
Member

What it does

Fixes: #9871

The pull-request fixes an issue where the hosted-plugin mode cannot be started when selecting a resource from the dialog.
Previously, we relied on a UriSelection but we now refactored the dialog to use the service instead which returns us a Uri directly. The logic to set the pluginLocation was adjusted to support the new type.

How to test

  1. clone theia-hello-world test frontend plugin
  2. start the example-browser application
  3. execute the command hosted plugin: start instance (using F1)
  4. in the dialog, choose the theia-hello-world project folder
  5. the hosted plugin should start

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com

The commit fixes the start of the hosted-plugin mode when selecting
resource in the dialog.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
@vince-fugnitto vince-fugnitto added the plug-in system issues related to the plug-in system label Aug 10, 2021
@vince-fugnitto vince-fugnitto self-assigned this Aug 10, 2021
@ups216
Copy link

ups216 commented Aug 11, 2021

tested, and works for me
图片

@StanZGenchev
Copy link

Built and tested it. Works as it should.

Screen Shot 2021-08-12 at 12 50 42

Copy link
Contributor

@colin-grant-work colin-grant-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirm that no hosted plugin session is started on master, and that one is started with these changes.

@vince-fugnitto vince-fugnitto merged commit 421a4b7 into master Aug 13, 2021
@vince-fugnitto vince-fugnitto deleted the vf/fix-hosted-plugin branch August 13, 2021 15:55
@github-actions github-actions bot added this to the 1.17.0 milestone Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plug-in system issues related to the plug-in system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Plugins] Hosted mode not working

4 participants