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'
  });

[1] https://bugzilla.redhat.com/1591730
[2] https://www.patternfly.org/styles/icons/


*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).

[3] https://gerrit.ovirt.org/#/c/92354/


Regards,
Vojtech
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/7EYAQRF46GXGUL6DYWP7EPZNJ6HPIYHE/

Reply via email to