alerts in webadmin UI

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: http://www.patternfly.org/pattern-library/communication/inline-notifications... Widget: https://github.com/oVirt/ovirt-engine/blob/master/frontend/webadmin/modules/... So instead of this: [image: Inline image 2] Do this: [image: Inline image 1] Thanks! Best wishes, Greg -- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

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: http://www.patternfly.org/pattern-library/communication/ inline-notifications/
Widget:
Oops, wrong link. Should be: https://github.com/oVirt/ovirt-engine/blob/master/frontend/webadmin/modules/...
So instead of this:
[image: Inline image 2]
Do this: [image: Inline image 1]
Thanks!
Best wishes, Greg
--
GREG SHEREMETA
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
Red Hat NA
gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

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: http://www.patternfly.org/pattern-library/communication/inli ne-notifications/
Widget:
Oops, wrong link. Should be: https://github.com/oVirt/ovirt-engine/blob/master/ frontend/webadmin/modules/gwt-common/src/main/java/org/ ovirt/engine/ui/common/widget/panel/AlertPanel.java
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/...
So instead of this:
[image: Inline image 2]
Do this: [image: Inline image 1]
Thanks!
Best wishes, Greg
--
GREG SHEREMETA
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
Red Hat NA
gshereme@redhat.com IRC: gshereme <https://red.ht/sig>
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
participants (2)
-
Greg Sheremeta
-
Vojtech Szocs