Open jrchudy opened 2 months ago
Here are the different UI approaches we can implement to enhance how we convey messages to users:
UI Options:
Toast Alert: A small, non-intrusive toast notification at the top-right or bottom-right of the screen.
Fixed Notification Bar: A persistent notification bar at the top of the page, similar to the current setup for general alerts.
Toast notifications are commonly used in apps with real-time updates, but applications like Gmail, Netflix, and Amazon tend to use top-fixed, dismissible, or auto-fading alerts, making it a widely adopted practice. Below are some UI examples for displaying global alerts:
Alert with Title on Top:
Alert Highlighting Important Table Updates:
Content Example: "Data for [Table Name] has been successfully updated. [X] new rows have been added."
UX Considerations:
For Color/Visuals we can use standard badge background: Green for successful updates, yellow for warnings, red for errors. But with either dismissible, collapsible or undo/retry options if needed per what kind of scenario we are implementing it on (For eg. Add records, link/unlink records, edit)
Here are the solutions we discussed and how they address the two main concerns: (1) avoiding content shift, and (2) not reducing the workspace.
1. Grouping alerts into a collapsible alert:
2. Adding a "Delete All" option:
3. Fade-away stacked alerts:
4. Having a 'Donot notify me' option to suppress alerts:
We have explored several designs for collapsible alerts to handle success messages effectively. Below are the approaches and corresponding visuals:
-Current Implementation-
Collapsible Alerts with Show More/Less Option:
Collapsible Alerts with Arrow Option:
Close State:
Open State:
Collapsible Alerts with Bullet Points:
Collapsible Alerts without the Success Title:
--Different Styles for the Alert Message--
Style1:
Grid Style (Better Readability):
Wrapping message when table name is long:
--Message Formations and Placements of Words--
This alert will display upon successful completion of user actions such as link, unlink, add, and single edit. (Note: This will not appear for bulk-edit, bulk-delete actions, or for delete actions, as delete has its own summary alert.)
Here are some design improvements for collapsible alerts, as discussed:
Showing more/less option with title :
Showing more/less option without title:
Showing collapse arrow :
--Few success alert title options that can accommodate all the success actions are:
Background
The current implementation of record app, shows success alerts when a pure and binary table has records added to it ("Link records" was used). Other actions on record app that modify the contents of the page don't show an alert. Those actions include:
This behavior to show an alert is removed in issue #2273 to be consistent with what we are currently doing for these other actions.
Task
This issue is for improving the "alerts" on record app to communicate changes more accurately when a user uses the actions on record page that "refresh" content for the user. The content that is refreshed happens "silently" with spinners on the sections that are updated but could easily be missed.
The alert should include information about:
reference.displayname
that was used in the success alert for P&B beforeAlerts should be added when the page is focused again and we are "fetching" data. This happens for
Other UX changes
If we have multiple alerts on the page, this can eventually change the main content area to be very small making it hard to interact with the app unless the user clears the alerts. We need to explore the following:
other pages/places
We have other pages where content can be added/updated where the main page opens a tab and then refreshes then content when focused again. These places include: