Phone swipes: swipe a block to select it; swipe from blank space to go back to the list or sidebar #256

Open
opened 2026-10-14 11:51:03 +00:00 by kayg · 2 comments
Owner

kayg, 2026-10-14 (phone): "we should provide multiple pathways so that it feels more intuitive."

Proposed (design first, grilled together with #208 block mode):

  • Swipe left → right on a block selects it, the way Craft mobile does. Tapping still selects too (#208). This is several ways to reach the same result.
  • Swipe right → left on a block: to be decided. Research what Craft mobile does; candidates are quick actions (Delete, → make note, Move) or nothing.
  • Swipe right from blank space (outside the blocks, or from mid-screen) brings back the previous pane: the note list, or the sidebar when you're on a list. This works like the existing phone stack's back gesture, but from anywhere, not just the edge.
    • Edge conflict: in Safari a swipe starting at the screen's left edge is the browser's own Back, so ours must start away from the edge. In the installed app (standalone PWA) there's no browser gesture, so the edge is ours too.

To settle (Claude brings recommendations):

  1. The distance and angle that count as a swipe, versus scrolling and text selection.
  2. What a block swipe looks like: does the block slide with the finger and spring back?
  3. Right → left on a block.
  4. How swipes interact with the bottom bar and the keyboard (#145).
  5. Accessibility alternatives for every gesture.

Reference: Craft iOS; Apple Notes and Mail swipe conventions.

Related: #208 (block mode), #212 (multi-select), #145 (phone bar).

kayg, 2026-10-14 (phone): "we should provide multiple pathways so that it feels more intuitive." **Proposed (design first, grilled together with #208 block mode):** - **Swipe left → right on a block selects it**, the way Craft mobile does. Tapping still selects too (#208). This is several ways to reach the same result. - **Swipe right → left on a block:** to be decided. Research what Craft mobile does; candidates are quick actions (Delete, → make note, Move) or nothing. - **Swipe right from blank space** (outside the blocks, or from mid-screen) brings back the previous pane: the note list, or the sidebar when you're on a list. This works like the existing phone stack's back gesture, but from anywhere, not just the edge. - **Edge conflict:** in Safari a swipe starting at the screen's left edge is the browser's own Back, so ours must start away from the edge. In the installed app (standalone PWA) there's no browser gesture, so the edge is ours too. **To settle (Claude brings recommendations):** 1. The distance and angle that count as a swipe, versus scrolling and text selection. 2. What a block swipe looks like: does the block slide with the finger and spring back? 3. Right → left on a block. 4. How swipes interact with the bottom bar and the keyboard (#145). 5. Accessibility alternatives for every gesture. **Reference:** Craft iOS; Apple Notes and Mail swipe conventions. Related: #208 (block mode), #212 (multi-select), #145 (phone bar).
Author
Owner

Decided (kayg, 2026-10-14): swiping a block either way (left→right or right→left) selects it. Actions then come from the block toolbar: the bar morphs into block actions (D5: separate text and block bars). That toolbar doesn't exist yet.

Reference: Craft's block-selection mode on iOS.

  • A selection circle sits at each block's right edge.
  • The selected block gets a soft tinted row.
  • A ✓ Done sits top right.
  • The block toolbar along the bottom has Style, + Content, Remind, Actions, React and Delete.

Still to design:

  • the block toolbar's actions for us;
  • swipe distance and angle;
  • whether the block follows the finger.
**Decided (kayg, 2026-10-14):** swiping a block **either way** (left→right or right→left) selects it. Actions then come from the **block toolbar**: the bar morphs into block actions (D5: separate text and block bars). That toolbar doesn't exist yet. Reference: Craft's block-selection mode on iOS. - A selection circle sits at each block's right edge. - The selected block gets a soft tinted row. - A ✓ Done sits top right. - The block toolbar along the bottom has Style, + Content, Remind, Actions, React and Delete. ![](https://git.kayg.org/attachments/bc8fb3e2-5720-4910-b294-7ea5503c9f94) Still to design: - the block toolbar's actions for us; - swipe distance and angle; - whether the block follows the finger.
Author
Owner

Decided (kayg, grill round 2026-10-14, G1–G6):

  • G1. Desktop: one click selects the block. Double-click, or Enter on a selected block, places the caret in its text.
  • G2. Typing a letter on a selected text block enters text mode and types it at the end.
  • G3. ⌘A: in text mode, the first press selects the block's text and the second selects all blocks. In block mode, it selects all blocks.
  • G4. Phone: a tap on text goes straight into typing; a swipe either way selects the block.
  • G5. Phone block toolbar: Turn into, Style, Move to…, → Make note, Copy link, Delete, and ⋯ for the rest.
  • G6. Selected block look: a lifted paper sheet behind the selected blocks, with a soft shadow, springing up when selected.
**Decided (kayg, grill round 2026-10-14, G1–G6):** - **G1. Desktop:** one click selects the block. Double-click, or Enter on a selected block, places the caret in its text. - **G2.** Typing a letter on a selected text block enters text mode and types it at the end. - **G3. ⌘A:** in text mode, the first press selects the block's text and the second selects all blocks. In block mode, it selects all blocks. - **G4. Phone:** a tap on text goes straight into typing; a swipe either way selects the block. - **G5. Phone block toolbar:** Turn into, Style, Move to…, → Make note, Copy link, Delete, and ⋯ for the rest. - **G6. Selected block look:** a lifted paper sheet behind the selected blocks, with a soft shadow, springing up when selected.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#256
No description provided.