Hi everyone, just a heads-up on recent UI plugin API changes.
oVirt 4.2
4.2.5+ will support "icon" option when adding new menu item & content via addMainTab API function [1]. Both Font Awesome and PatternFly icons are supported [2].
api.addMainTab('Test', 'fooBar', 'plugin/plugin-name/test.html', {
icon: 'fa-lock'
// icon: 'pficon-security'
});
oVirt master
You can now use showToast API function [3] to render "toast" notifications in top right corner of the page.
api.showToast('success', 'Operation completed successfully.');
The first parameter can be "info" (white), "success" (green), "warning" (yellow) or "danger" (red).
Regards,
Vojtech