News for hackers. Stuff that matters.
Re:Act on Press by teraflop on Thursday May 23, 2024 @05:28PM (#40460114)
> A related UI principle is “make everything easy to undo”,

But of course, there are plenty of actions that are fundamentally impossible to undo, such as sending an email.

So either you make those actions triggered on mouse-down, which means they're easy to do by accident, or you make them inconsistent with the rest of your UI.

Re:Act on Press by Bjartr on Thursday May 23, 2024 @05:43PM (#40460265)
> there are plenty of actions that are fundamentally impossible to undo, such as sending an email.

That's just a lack of imagination. Gmail and others allow undoing a misclicked send no problem. In cases it doesn't matter to the user if the action in practice doesn't happen exactly immediately, delaying it a bit while instantly providing feedback in the UI gets you the best of both worlds.

Re:Act on Press by edave64 on Thursday May 23, 2024 @05:53PM (#40460351)
Actions that are fundamentally impossible to undo should generally need confirmation anyways

Maybe not for the email example, but the other comments already adress than

Re:Act on Press by whstl on Thursday May 23, 2024 @05:30PM (#40460133)
...or just delay sending the email by a few seconds, like lots of clients currently do.
Re:Act on Press by DaiPlusPlus on Thursday May 23, 2024 @06:11PM (#40460491)
That works for email, but less-so in Slack or IM in general.

I did once play with a hacked-on delay-send setting, but any delay must be long enough to allow you to register making a mistake first, e.g. 3 seconds) but when it's that long it ruins spontaneity and the rapid back-and-forth experience when chatting away - in that situation I definitely prefer send-on-button-up, not send-on-button-down.

Re:Act on Press by whstl on Friday May 24, 2024 @04:59AM (#40464325)
Slack or IM isn't email, though. My answer was only regarding email.

Email doesn't require the spontaneity and rapid back-and-forth, so that's clearly two different problems that might require two different solutions.