Skip to content
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

ux friendly use of remixd inside electron #2354

Merged
merged 3 commits into from
Sep 23, 2019
Merged

ux friendly use of remixd inside electron #2354

merged 3 commits into from
Sep 23, 2019

Conversation

yann300
Copy link
Collaborator

@yann300 yann300 commented Sep 19, 2019

merge after #2348

@yann300 yann300 added the WIP label Sep 19, 2019
console.log(error)
modalDialogCustom.alert(
'Cannot connect to the remixd daemon.' +
'Please make sure you have the remixd running in the background.'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it run by default ? Maybe could be good to have a link to documentation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yep, there's already a link in the content of the modal

@@ -85,6 +90,10 @@ export class RemixdHandle extends Plugin {
}
}
)
} else {
this.locahostProvider.init((error) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could be on one line : this.locahostProvider.init(error => connection(error))

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated

@@ -19,11 +19,14 @@ export class RemixAppManager extends PluginEngine {
constructor (plugins) {
super(plugins, settings)
this.event = new EventEmitter()
this.donotAutoReload = ['remixd'] // that would be a bad practice to force loading some plugins at page load.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure to understand what it does.

@yann300 yann300 merged commit 5418de8 into master Sep 23, 2019
@yann300 yann300 deleted the remixd_electron branch September 29, 2019 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants