On Tue, Nov 28, 2017 at 3:24 AM, Greg Sheremeta <gshereme@redhat.com> wrote:


On Mon, Nov 27, 2017 at 9:22 PM, Greg Sheremeta <gshereme@redhat.com> wrote:
Hi,

If you create new "alert" messages in the webadmin UI, or you are working near some code that has an alert, please use the PatternFly alert widget instead of rendering a plain (or red) label.

Example:

Widget:

Oops, wrong link. Should be:

You can still use ​AlertManager in case you'd like to display application-wide alert messages, rendered in top center part of the page, with optional auto-hide behavior. UI runtime errors, for example, are rendered this way.

Or use AlertPanel directly if the message is local to the given UI component, ideally from within ui.xml file, for example: https://github.com/oVirt/ovirt-engine/blob/master/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/MainEngineErrataView.ui.xml


 
 

So instead of this:

Inline image 2



Do this:
Inline image 1


Thanks!

Best wishes,
Greg

--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

gshereme@redhat.com    IRC: gshereme




_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel