[ovirt-devel] oVirt 4.2 and UI plugin infrastructure

Greg Sheremeta gshereme at redhat.com
Wed Nov 29 00:22:10 UTC 2017


We haven't changed the API, so everything should still work. For example, I
just installed 4.1 versions of dashboard and support-plugin in master, and
all's well [*]:


api.addSubTab('Template', 'Red Hat Documentation',
'my-host-subtab-template', '<url snip>', {alignRight: true});
api.setTabAccessible('my-host-subtab-template', true);

[image: Inline image 1]

[*] however, note that "alignRight" is now ignored

And dashboard 4.1.8 installed in master engine:

[image: Inline image 2]

That said, we probably should have sent some announcement about making sure
the plugins actually look good with the new theme. If some plugins are
greenish, that will look bad.

To help with styling external things, we've started exposing more CSS via a
new SASS brand module:
Also, we're heavily relying on base PatternFly styles, and plugins should
do the same. For example, the new dialog styles are completely PatternFly [
and we don't do anything extra on top of that.

Let us know if something doesn't work, or you need help styling something.


On Tue, Nov 28, 2017 at 6:25 PM, Martin Sivak <msivak at redhat.com> wrote:

> Hi,
> I just got a question from an ovirt-optimizer user about the support
> in 4.2. And I realized I haven't heard anything about how UI plugins
> should be updated to work with the new UI.
> Is there anything special that needs to be done to make the plugin
> functional? Or will everything still work somehow?
> Best regards
> Martin Sivak
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20171128/6375aa32/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_312.png
Type: image/png
Size: 11886 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20171128/6375aa32/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_313.png
Type: image/png
Size: 47206 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20171128/6375aa32/attachment-0003.png>

More information about the Devel mailing list