-
Notifications
You must be signed in to change notification settings - Fork 2
Plugin system #25
Description
This issue is an umbrella issue for Erlang Performance Lab UI plugin system.
We're working on plugin system which will provide other developers easy way for creating new functionality for Erlang Performance Lab.
Our key part are epl-scripts
. This is Node dependency providing dev, build and test functionality for every plugin. It's preconfigured blackbox with all required parts for new EPL plugin development. Because by default epl-scripts
are preconfigured we support almost none additional configuration. But there comes eject
functionality. You can eject your project which move all epl-scripts
config and scripts into your project. This allow you to tweak configs and/or add custom functionality which we don't support. This is one way path. You cannot revert ejection.
Another part are epl-components
. This dependency will provide styled component for building new EPL views as well as some helper functions for socket connection, Footer and Menu API, etc.
Both epl-scripts
and epl-components
will be published to npm.
erlangpl-ui
will require some refactoring to allow plugins loading in both development mode as well as production mode. In later phase we're thinking about loading additional plugins at runtime, but this may change in the future.
epl-scripts
- Add Elm support Add Elm support epl-scripts#2
- Make eject work Make eject work epl-scripts#3
- CSS and static files export/import CSS and static files export/import epl-scripts#4
epl-components
To be defained
erlangpl-ui
- figure out development method
- inject styles and scripts for prebuilt plugins
- register Component, reducer, and navigation for every available plugin