[MGNLUI-4480] Resurface: alert types (info, warning, error) Created: 03/Jul/18  Updated: 02/Aug/18  Resolved: 27/Jul/18

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0

Type: Story Priority: Neutral
Reporter: Antti Hietala Assignee: Cedric Reichenbach
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLUI-4452 Resurface: notification types (info, ... Closed
Relates
relates to MGNLUI-4452 Resurface: notification types (info, ... Closed
relates to MGNLUI-4479 Resurface: banner types (info, warnin... Closed
relates to MGNLUI-4534 Integrate: alerts Closed
duplicate
is duplicated by MGNLUI-4478 Resurface: alerts Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: Resurface theme
Sprint: Basel 151, Basel 152
Story Points: 3

 Description   

Implement alert types for messages.

  • info alert
  • warning alert
  • error alert

https://app.zeplin.io/project/5acc848ede054e0a4865f805?seid=5aec1f0770ca18fa54eca223

If time allows:

  • Maybe checkout if it is at all possible to re-use standard Vaadin functionality (Notification utility) and save some lines of our own codebase. (maybe double check with Mika)

As a follow-up:

  • checkout the OverlayLayer (???) API and maybe create a follow-up for the improvements


 Comments   
Comment by Cedric Reichenbach [ 20/Jul/18 ]

avongunten Are alerts supposed to be globally modal now, that is, "block" the whole UI/screen until a decision has been made (e.g. yes/no clicked)?

So far, alerts have been partially modal depending on the context, e.g. a delete confirmation alert within an app only blocks the subapp's UI, but users can still navigate away using the app launcher.

Comment by Anja von Gunten [ 20/Jul/18 ]

The behavior remains as it is. If we are using partially modal behavior, let's keep that.

Generated at Mon Feb 12 09:17:01 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.