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:
- Add the package as a dependency:
> yarn add handsome-custom-widget
- Add the package name to a file like
external.json:
# external.json
[
'handsome-custom-widget',
'handsome-another-custom-widget'
]
- 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?
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:
> yarn add handsome-custom-widgetexternal.json:Proposed External Package Structure
External packages should have a
/widgetsfolder that contains any widgets they want to add. Similarly, they should have a/jobsfolder that contains any jobs they want to add.Open questions