Hello Martin,
UI plugin API in 4.2 should be generally backwards compatible with 4.1.
Comparing PluginManager.java between master and 4.1.8 - the exposePluginApi() function is exactly the same for now.
However, we might do some API changes in the future, mainly due to 4.2 UI redesign. For example:
- taking out the word "Tab" out of function names, since the UI concept of "main tab" is no more
- as mentioned by Alex, support adding buttons inside kebab drop-down, as opposed to adding them directly to the toolbar (UX wise, important things should be outside kebab, less important things should go inside it)
- support adding secondary level menu items when adding new "main tab" (this should become "add menu item" function)
- support customizing the icon for primary menu items
As for the visuals, as Greg wrote, UI plugins should generally follow the PatternFly styling to ensure consistent looks.
WebAdmin has its own branding infra and UI plugins can use that. Just inspect the HTML source and see how WebAdmin requests PatternFly & branding related assets.
Vojtech