dcrdex icon indicating copy to clipboard operation
dcrdex copied to clipboard

ui: transient errors like connection issues should not be persistent in the notifications dropdown

Open buck54321 opened this issue 1 year ago • 2 comments

When we have transient connection issues or a user has a flappy connection for a short time, it makes entries in the notifications dropdown that can be quite spammy. I think there a couple of things that need to happen. 1) Some notifications need a way to either be replaced by later notifications or merged together with similar unacked notifications, and 2) connection issues should maybe not always be sent as error notifications, but rather shown as UI elements and e.g. disabled forms.

buck54321 avatar Sep 04 '24 17:09 buck54321

I'd also add the ability to dismiss individual notifications. For example, once I've been notified that an order has been revoked or a redemption was confirmed, I would very much like to be able to dismiss them.

A simple eyeball icon with a slash through it to the right you can click to dismiss a notification would be ideal imo.

davecgh avatar Sep 11 '24 04:09 davecgh

A simple eyeball icon with a slash through it to the right you can click to dismiss a notification would be ideal imo.

I think it could be even better if wallet requires even less from the user - instead of user clicking wallet could automatically cleanup notifications say after 60m

and I see a bunch of notifications that probably belong under Recent Activity tab (Send successful, Redemption Confirmed, ...) - there isn't much under Recent Activity tab at the moment,

perhaps Notifications tab should show ALL notifications, while Recent Activity tab would server as a sort of UI-log showing only most important events (a coherent event history that also will be persisted and not cleaned up automatically, or manually for that matter)

if you have an urge to swipe notification - it's a good indicator that it should show up on Notifications tab and not on Recent Activity tab (or maybe it shouldn't even be a notification in the first place)

finally, on top of all of that ^ Notifications tab might still feel spammy, the way to address it would be to:

  • for some - not even show some notifications
  • for others - back-end should take better decisions on how/when to issue them (like buck54321 describes above)
  • and if that's still not good enough we might want to show Recent Activity tab by default instead of Notifications tab (which would then serve as a sort of debug-log, if there is even need for such a thing in UI)

norwnd avatar Feb 07 '25 08:02 norwnd