Open nate-ni opened 2 years ago
Visual design is done - waiting for Figma link to design from Brandon
@NIbokeefe the team had some feedback about the current designs for toast:
I vaguely recall an outline appearance before. Did we decide to cut that? Or we can brainstorm other ideas at our next meeting.
@jattasNI
You are recalling correctly, I originally proposed "high severity and low severity" banners which I referred to as "loud" and "quiet" versions.
I'm not opposed to changing direction. I was initially recommending we build both version knowing we might need them for one reason or another down the road.
However, I'd like to discuss this in more detail before being too reactive. I'm assuming we don't have user feedback on this yet and it's mostly internal. I'd like to look at some contextual examples regarding it being too intense. The solid colored design is still very on trend for banners and sufficient for many companies who's errors are soft and not referring to fires.
If we are still only proposing using 1 and only 1 version of the banner I may have a different perspective. The solid banners were favored over outline for a few reasons, one being they were more legible when multiple banners appeared together. On the flip side, I did always like that the outline version for how it visually aligned with errors on components (but that also had the possibility of being problematic for its lack of distinctive design).
@NIbokeefe Awesome background! Let's chat about it at this Thursday's meeting if we have time or a future one if we don't.
At our team meeting we decided to implement the existing designs so we can try them out in context in applications and see if the feedback still applies.
If the red banner is still too intense for SLE use cases, another option would be for those use cases to mark the banner as info/default instead.
If we still find we need a less intense presentation then we can consider reviving the quiet/outline appearance and coming up with guidance about when to use each.
@NIbokeefe I believe the remaining open design questions on this are:
This is all less urgent than other work right now like the table and combobox/select, so feel free to prioritize it lower.
Notification design relates to a bigger interaction discussion which @leslieab has showed interest in pursuing. For the time being I'll provide some guidance based on the information we have now for the designs I have created.
I updated the Toast/Banner document with as much usage guidance as I have available to provide: https://www.figma.com/file/PO9mFOu5BCl8aJvFchEeuN/Nimble_Components?type=design&node-id=1295%3A65855&mode=dev
This may vary slightly application to application and also depending on the notification type: auto-dismissing vs user dismissible. I've provided guidance in the spec document and will also provide more insight at line 3.
I've provided guidance in the spec document.
I've provided guidance in the spec document. a. Toast vs Banner - Defined See details in spec doc. Banners are inline controls and workspace specific. Toast are non-obstructive/non-modal - low severity application wide notifications. b. Using toast vs invalid state on components - Defined- Banners should be used instead as they often relate to invalid states located inline to a specific workspace in the IDE. Toast notifications should be used as non-modal unobstructive application wide notifications of low severity and unrelated to a specific control. c. Automatically dismissing -Defined- We should support this feature and this should only use the standard versioned (grey) toast visual design; no important information should be displayed in an auto-dismissing notification. This type of notification should align to the center-bottom position easily visible and should not stack/group with multiple notifications. Auto-dismissing versions can be configured to remain active for 5-10 seconds and by default 8 seconds.
All other user-dismissible toast should be located bottom-right aligned and can use any version of the status types. These types of toast can stack/group up to 3 notifications at one time.
More detailed information is available in the spec.
*** Closed this issue accidentally
@fredvisser - TODO: Extract the IxD recommendation into an IxD spec
Problem to Solve
As a user, I need to display a timely message to the user. This message will likely show up on top of the page. Other characteristics of the component:
Similar component from other design systems are:
Material https://material.angular.io/components/snack-bar/overview
From Carbon (IBM) https://carbon-components-svelte.onrender.com/components/ToastNotification https://next.carbondesignsystem.com/libraries/carbon-react/latest/assets/notification#dashboard Stacked Notifications - https://carbon-for-ibm-products.netlify.app/?path=/docs/security-components-stackednotification--default
Shoelace https://shoelace.style/components/alert?id=toast-notifications
Open Questions
Questions for Interaction Design: Is there a need to display this in different locations? (Top, Bottom, Upper-right, etc.)? Are there any content differences between this component and a banner? Or is it similar types of content displayed in a different way?