The UI now supports plugins - rails engines that can be added to the Gemfile, and provide additional menu items and screens for the Classic UI.
For info on how to use a plugin, please see Plugin development.
(This section is a stub and will be expanded later. For now, please see (the v2v plugin)[https://github.com/ManageIQ/miq_v2v_ui_plugin] for a working example.)
This is not the same as Simple plugins, which is an older feature using an iframe to point to a specific URL.
- patternfly-sass (and window-shared dependencies, such as bootstrap-switch, bootstrap-select, etc.)
(For the actual versions, please see our package.json.)
A plugin is free to add any additional dependencies of course.
If a plugin happens to depend on the same library in a different version:
- right now, you can’t - either of the 2 versions will get picked, randomly
- after we update to webpack 5, you shouldn’t - this would still mean downloading 2 copies of the library on every page load