Conversation
HTML5 drag-and-drop never fires on touch, so a touchscreen had no way to reorder attachments at all, and a keyboard had none either. The steppers are the cheapest reorder that always works: two small buttons on the thumbnail's bottom corners, reachable by touch and Tab both, splicing the same array the drag does — the appended URLs, the imeta tags and the drawer rows follow either gesture identically. The ends hide their arrow rather than disabling it, because a greyed-out control is an answer to a question nobody asked. The steppers flush the ALT row before they splice, the same rule the drag learned: the row's slot is still where it was opened, and after the move it would not be. And they square with the remove disc in Werkstätte, whose exception list every circular thing answers to. Fixes #346.
This was referenced Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #346. Stacked on #354 (→ #353 → #352 → #351 → #341) — the diff shown here is just this fix.
HTML5 drag-and-drop never fires on touch, so a touchscreen had no way to reorder attachments and a keyboard had none either. The steppers are the cheapest reorder that always works: small ◀/▶ buttons on each thumbnail's bottom corners (buttons — reachable by touch and Tab), splicing the same array the drag does, so everything downstream is identical either gesture. The ends hide their arrow rather than disabling it; a new
arrow-righticon mirrors the existing left one rather than rotating it (the join reads wrong at 14px).The steppers flush the ALT row before splicing (the drag's rule) and square with the remove disc in Werkstätte, whose circular-things exception list now includes them.