-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Alert - Usability improvements to auto-dismiss. #3338
Comments
@macandcheese +100 on this! We have a custom alert in ArcGIS Mission that does exactly what you're suggesting:
We just swapped to the calcite alert, but are currently evaluating whether we should keep the calcite component or switch back to the custom alert we previously had. The lack of the close action might be the deal-breaker. The calcite alert looks more visually appealing, but without the enhancements you've listed in the issue above, the compenent can be a bit frustrating to interact with. One interesting use case we have that may be worth considering: |
Thanks for the additional use-cases @jul11557! Implementer note - ensure we listen for touch events to allow mobile user's interactions to pause timer. Just to check, does the sensor button use case require anything not outlined in the issue? Not sure if this helps or if I'm missing the ask but but we recently added a |
No prob! Thanks—we should be all set with the alert sound stopping. The only other requirement that we may need with regards to sensor buttons would be the ability to click or expand multiple alerts so they can be viewed in a vertically stacked position (when the alert is positioned on the far right side of the page). I know stacking is generally not the preferred practice, but in this particular case it would be helpful as helps improve our users' situational awareness. Can definitely chat about this separately if you need more info. In general, this issue (as-is) would help us significantly with improving usability of the alerts 👍 |
Agreed - this has been requested and although a bit stale can be tracked here: #2835 |
Design complete in Figma. Updated design also addresses issues #5254 and #2382. cc: @geospatialem |
… while a user is hovering over (#5872) **Related Issue:** #3338 ## Summary If an `alert` is `auto-dismissible`, - keep the `close` button there, a user may want to dismiss the alert before the dismiss duration completes. - pause the dismiss timer while a user is hovering over, or focusing on an element within an alert. Although disincentivized, apps may put actions or links inside of an `auto-dismissible alert`.
Installed and assigned for verification. |
This looks good on |
Description
Two related proposals to solve potential annoyances for users:
If an alert is auto-dismissible, currently we remove the close button. We should keep the close button there.
If an alert is auto-dismissible, it may dismiss while a user tries to interact with it. We should pause the dismiss timer while a user is hovering over, or focusing on an element within an alert. I've seen this in the wild and its a very nice interaction (only reference I could find immediately was this https://bootstrap-vue.org/docs/components/toast#comp-ref-b-toast-props)
Which Component
Alert
Example Use Case
For the first - a user may want to dismiss the alert before the dismiss duration completes.
For the second, although disincentivized, apps may put actions or links inside of an auto-dismissible alert. Currently, the alert dismissal timer continues, even if they are hovering over the alert, or using keyboard to navigate and focus within.
The text was updated successfully, but these errors were encountered: