start-os icon indicating copy to clipboard operation
start-os copied to clipboard

[bug]: Optimize showing multiple error toasts

Open BitcoinMechanic opened this issue 2 years ago • 3 comments

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

BitcoinMechanic avatar Aug 06 '22 20:08 BitcoinMechanic

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.

gStart9 avatar Aug 08 '22 18:08 gStart9

Agreed, modified title.

BitcoinMechanic avatar Aug 08 '22 18:08 BitcoinMechanic

Yes, I think most UIs just stack them up somehow

chrisguida avatar Aug 08 '22 20:08 chrisguida