After we developed our first Horizon dashboard plugin in Angular 1.X, we had a nice dashboard, but...
Time passed, Angular version was upgraded to 7.X, and the Horizon infrastructure remained stuck with the old and unmaintained Angular framework.
As frontend developers we wanted to use custom libraries/frameworks such as React, and the Horizon infrastructure gave us a very hard time. We also wanted to involve the community in the development of a new plugin, but understood that it won’t be done until the infrastructure allows it.
Starting with our vision, we encountered additional hurdles such as:
- How to use webpack in Horizon
- How to create custom library dependencies withXStatic
- How to debug faster
- How to mock data when thebackend is not available
Now that we're much wiser, we want to share it all with you - how to do it right
After seeing our demo and source code, you'll be just one step from creating your own awesome plugin
- Leverage the amount of frontend developers to create new plugins.
- Change obsolete plugins from maintenance mode to the latest architecture.
- Prepare your code before AngularJS long term support will end