News for hackers. Stuff that matters.
Re:Writing a tiny undo/redo stack in JavaScript by nukem222 on Wednesday March 26, 2025 @05:36PM (#43487635)
> You can shake iPhones to get an Undo/Redo dialog, for example.

When are they gonna add a proper UI for this? I look like a moron using the phone this way, and shaking only works to trigger the undo about half the time.

Re:Writing a tiny undo/redo stack in JavaScript by frou_dh on Wednesday March 26, 2025 @05:51PM (#43487809)
Re:Writing a tiny undo/redo stack in JavaScript by nukem222 on Wednesday March 26, 2025 @05:53PM (#43487833)
Edit: thank you!

Man I get gestures have been embraced by the community, but this is emphatically not what I meant. The only gesture that makes sense to me is pinch-to-zoom and maybe swiping on cards that appear to be floating.

There's no way to discover this functionality outside of googling documentation and it often doesn't work with one hand.

Re:Writing a tiny undo/redo stack in JavaScript by julik on Wednesday March 26, 2025 @06:40PM (#43488292)
There is another that is fairly intuitive for a Mac person: tap-and-hold to get a contextual menu. Shame they have hidden it under some kind of "haptic feedback" thingamagig.
Re:Writing a tiny undo/redo stack in JavaScript by nukem222 on Wednesday March 26, 2025 @07:05PM (#43488499)
The ipad also has an icon above its keyboard. Whatever lack of obvious interaction is available on the phone seems intentional.

Cynically, I think you'd just look like even more of a fool shaking an ipad and this is the only reason they approved such a button.

Re:Writing a tiny undo/redo stack in JavaScript by rekabis on Wednesday March 26, 2025 @05:50PM (#43487792)
Half the time? More like 10% of the time.

Sometimes I think I have to use a paint can shaker on a 5-minute cycle just to trigger it.