start-os
start-os copied to clipboard
[bug]: Optimize showing multiple error toasts
Prerequisites
- [X] I have searched for existing issues that already report this problem.
EmbassyOS Version
0.3.1~1
Device
Laptop/Desktop
Device OS
MacOS
Device OS Version
12.5
Browser
Firefox
Browser Version
103
Current Behavior
See video:
https://user-images.githubusercontent.com/45926711/183265341-3f221d65-886b-4a0f-9dc1-6c2c72d59176.mp4
Expected Behavior
New error should force close old error
Steps to Reproduce
Trigger error Don't close it Trigger another error (if it should be a different error, it will be obvious that you're not seeing the new error)
Anything else?
No response
I've noticed this bug too. My intuition tells me it's easy to fix :) Though maybe a better behavior than force-closing previous errors, in case they've not even been displayed long enough to read or take note of, is to stack the new error on top of the previous error.
Agreed, modified title.
Yes, I think most UIs just stack them up somehow