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

feature: show the status of providers and plugins on the dashboard #591

Merged
merged 19 commits into from Aug 16, 2018

Conversation

sbender9
Copy link
Member

@sbender9 sbender9 commented Aug 13, 2018

status

@@ -221,9 +235,22 @@ module.exports = function (app) {
debug: require('debug')(pluginName),
registerDeltaInputHandler: handler => {
onStopHandlers[plugin.id].push(app.registerDeltaInputHandler(handler))
},
setProviderStatus: (msg, type) => {
app.setProviderStatus(plugin.id, msg, type)
Copy link
Member

Choose a reason for hiding this comment

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

Use pluginName here for consistency? As used below.

plugin.start(getPluginOptions(plugin.id).configuration, restart)
debug('Started plugin ' + pluginName)
try {
plugin.start(getPluginOptions(plugin.id).configuration, restart)
Copy link
Member

Choose a reason for hiding this comment

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

We are calling plugin.start, debug and setPluginStartedMessage in several places. Sounds like we need doStartPlugin(...) that does these consistently.

@sbender9 sbender9 changed the title feature: show the status of providers and plugins on the dashboard [WIP] feature: show the status of providers and plugins on the dashboard Aug 15, 2018
@sbender9 sbender9 changed the title [WIP] feature: show the status of providers and plugins on the dashboard feature: show the status of providers and plugins on the dashboard Aug 15, 2018
@tkurki tkurki merged commit a732e2e into master Aug 16, 2018
@tkurki tkurki deleted the status-on-dashboard branch August 16, 2018 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants