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

Support for external widgets and jobs #20

Open
davefp opened this issue Aug 4, 2017 · 0 comments
Open

Support for external widgets and jobs #20

davefp opened this issue Aug 4, 2017 · 0 comments

Comments

@davefp
Copy link
Owner

davefp commented Aug 4, 2017

This issue covers adding support for bringing in external widgets and jobs (maybe even dashboards?) using packages.

The desired workflow would be something like this, similar to how external scripts are used in Hubot:

  1. Add the package as a dependency: > yarn add handsome-custom-widget
  2. Add the package name to a file like external.json:
# external.json
[
  'handsome-custom-widget',
  'handsome-another-custom-widget'
]
  1. Any widgets and/or jobs from the package are now available when building dashboards.

Proposed External Package Structure

External packages should have a /widgets folder that contains any widgets they want to add. Similarly, they should have a /jobs folder that contains any jobs they want to add.

Open questions

  • How are external jobs configured (interval, usernames, etc.)?
  • Should all jobs from a package be run automatically once the package is added or should they need to be configured further first?
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

No branches or pull requests

1 participant