News for hackers. Stuff that matters.
Re:Toasts Are Bad UX by ryandrake on Tuesday August 20, 2024 @11:22AM (#41300887)
You can offer Undo via things other than toasts, though. In fact, I wish more software offered Undo--the Undo feature has kind of gone out of fashion since the early 2000s. You should be able to Undo anything (and follow the Undo chain back through many past actions). We somehow lost this ability from software.
Re:Toasts Are Bad UX by JamesSwift on Tuesday August 20, 2024 @12:19PM (#41301402)
For sure you can, but a toast is a tool in the toolbox. When it makes sense to use it, it definitely justifies its existence as a tool to keep around.
Re:Toasts Are Bad UX by Maxion on Wednesday August 21, 2024 @05:26AM (#41308420)
Undo's (and especially re-do) are quite hard and resource intensive to code, especially for web apps that can be simultaneously accessed via multiple devices.

E.g. you can take action A on your laptop, followed by action B on your phone. Undoing action A may not be easily possible if it was followed by action B.

To make that work properly you need to activel sync states between all the users devices using e.g. websocket or what-have-you. Handling edge cases becomes quite the nightmare, e.g. phone has poor connectivity.

Only the big guys would have budget to do these sort of things (And make them work well).