Prototype P1: drag + zoom interaction prototype #113

Closed
opened 2026-10-15 14:08:54 +02:00 by AlexKucera · 2 comments
Owner

Part of #110

Question

Prototype P1: drag + zoom interaction prototype. Cheap throwaway HTML prototype (ref/prototypes/ house pattern, cf. wf105) exercising: block drag with subtree, drop-zone indicators (between-gap vs onto-block), auto-nesting feedback, multi-block drag behavior, zoom-in chrome (breadcrumb, zoom-out), and how drag coexists with the existing block selection. Calibrated live with Alexander; verdict bakes the interaction parameters into S6.

[Generated by AI]

Part of #110 ## Question **Prototype P1: drag + zoom interaction prototype.** Cheap throwaway HTML prototype (`ref/prototypes/` house pattern, cf. wf105) exercising: block drag with subtree, drop-zone indicators (between-gap vs onto-block), auto-nesting feedback, multi-block drag behavior, zoom-in chrome (breadcrumb, zoom-out), and how drag coexists with the existing block selection. Calibrated live with Alexander; verdict bakes the interaction parameters into S6. [Generated by AI]
AlexKucera added the wayfinder:prototype label 2026-10-15 14:08:54 +02:00
AlexKucera self-assigned this 2026-10-16 09:57:41 +02:00
Author
Owner

Prototype built and self-verified (browser-driven: drag, multi-block, invalid targets, all three variants, zoom) — ready for live calibration with Alexander.

File: ref/prototypes/wf113-drag-zoom-prototype.html (working tree, uncommitted pending authorization — same posture as #104/#105). Double-click to open; variants switch via the floating bar, ←/→, or ?variant=A|B|C.

Substrate: node rows = the landed ADR-0013 surface (wf105's B language: chrome bullets, per-level rules, block-granular selection). Rows are static text — editing is settled (#105/S3), not exercised. Folds skipped (session-scoped, orthogonal; drag-onto-folded = last child is an S6 detail).

The one variant axis — the drop zone:

  • A Fat gaps — seams insert (depth auto = following block's depth, shown by the line's left edge at the future bullet column); block-middle = drop as last child (ring). Context-driven, shallow-biased.
  • B Row bands — every row in thirds: top edge = insert before at row's depth, bottom edge = after its subtree, middle = last child. Row-driven, precise.
  • C X-nest — A's bands, but pointer X walks a ladder of REAL positions within the seam: rung 0 = before the block below; each step right = last child of the next node up the above-block's chain. Line/ring indent is the whole truth — line-insertion semantics mean a drop can never steal siblings (absorption turned out to be impossible to model honestly at a seam; verified while testing).

Fixed defaults being calibrated (rail probes): subtree travels with drag; ⋮⋮ grip = batch when the row is selected, solo when not; body-drag on already-selected rows; after a drop the moved run IS the selection; zoom-in = double-click bullet, out = breadcrumb/Esc; invalid targets (own subtree) = dashed indicator + no-op; multi-block runs land as a contiguous run; zoom re-bases depths (verified: depth 2 → 0 inside a zoom).

Every drop narrates itself in the rust rail line, and the live markdown rail is the storage truth.

Verification record: gap drop, onto drop, 10-row range selection → 6-block dedup batch drop, invalid-target no-op (storage untouched), C ladder rungs 0–2 all distinct and correct, zoom + crumb + Esc round-trips — zero console errors.

Open for the live calibration; verdict bakes the interaction parameters into #112 (S6).

[Generated by AI]

Prototype built and self-verified (browser-driven: drag, multi-block, invalid targets, all three variants, zoom) — ready for live calibration with Alexander. **File:** `ref/prototypes/wf113-drag-zoom-prototype.html` (working tree, uncommitted pending authorization — same posture as #104/#105). Double-click to open; variants switch via the floating bar, ←/→, or `?variant=A|B|C`. **Substrate:** node rows = the landed ADR-0013 surface (wf105's B language: chrome bullets, per-level rules, block-granular selection). Rows are static text — editing is settled (#105/S3), not exercised. Folds skipped (session-scoped, orthogonal; drag-onto-folded = last child is an S6 detail). **The one variant axis — the drop zone:** - **A Fat gaps** — seams insert (depth auto = following block's depth, shown by the line's left edge at the future bullet column); block-middle = drop as last child (ring). Context-driven, shallow-biased. - **B Row bands** — every row in thirds: top edge = insert before at row's depth, bottom edge = after its subtree, middle = last child. Row-driven, precise. - **C X-nest** — A's bands, but pointer X walks a ladder of REAL positions within the seam: rung 0 = before the block below; each step right = last child of the next node up the above-block's chain. Line/ring indent is the whole truth — line-insertion semantics mean a drop can never steal siblings (absorption turned out to be impossible to model honestly at a seam; verified while testing). **Fixed defaults being calibrated (rail probes):** subtree travels with drag; ⋮⋮ grip = batch when the row is selected, solo when not; body-drag on already-selected rows; after a drop the moved run IS the selection; zoom-in = double-click bullet, out = breadcrumb/Esc; invalid targets (own subtree) = dashed indicator + no-op; multi-block runs land as a contiguous run; zoom re-bases depths (verified: depth 2 → 0 inside a zoom). **Every drop narrates itself in the rust rail line, and the live markdown rail is the storage truth.** Verification record: gap drop, onto drop, 10-row range selection → 6-block dedup batch drop, invalid-target no-op (storage untouched), C ladder rungs 0–2 all distinct and correct, zoom + crumb + Esc round-trips — zero console errors. Open for the live calibration; verdict bakes the interaction parameters into #112 (S6). [Generated by AI]
Author
Owner

Verdict: variant A — fat gaps

Calibrated live 2026-10-16: Alexander felt no meaningful difference between A/B/C and delegated the pick.

Chosen: A — seams between blocks insert (landing depth = the following block's depth; the line's left edge sits at the future bullet column), block-middle = drop as last child (ring). Why: complete position coverage via ONE insert rule + ONE nest rule — the cheapest presenter math in S6; most predictable at speed; drag is the secondary affordance in a keyboard-first app, so simplest wins. C's x-dial rejected (control A already reaches via onto, at x-sensitivity cost); B's thirds rejected (extra bands, no extra reachable positions).

Interaction contract baked into Build S6: outliner interaction II:

  • Hit zones per visible row: top 30% = seam above, bottom 30% = seam below, middle 40% = onto (last child, ring highlight). Seam resolves as insert-before-following-row at its depth; end-of-list seam = after last row at its depth.
  • Line indicator: left edge = future bullet column (11 + d·18 px per level); onto = 2px rust ring around the row.
  • Drag: ⋮⋮ grip in the left margin (hover-revealed) drags — batch when the row is in the selection, solo when not; body-drag works on already-selected rows; ~4px threshold so clicks never drag; Esc cancels.
  • Selection coexistence (the app's anchor↔focus): click = single, ⇧click = extend; dragged run = selection with descendants deduped (an ancestor carries its selected descendants); after a drop the moved run IS the selection.
  • Multi-block runs land as one contiguous run, path-addressed, refs re-resolved by node id after extraction (the OutlinePresenter.applyBatch discipline).
  • Zoom: double-click a bullet zooms in (presenter projection rooted at the node, depths re-based to 0); breadcrumb click and Esc zoom out one level; zoom survives only fully-visible selections.
  • Invalid targets (own subtree, relative to a moving block): dashed indicator, drop no-ops, storage untouched.
  • Standing fact: a drop can never steal siblings — line-insertion semantics make every seam position a real spot in the current tree (absorption was unverifiable and dropped during prototyping).

Fixed defaults stand as built (accepted by delegation): grip batch/solo split, body-drag, moved-run selection, dblclick-bullet zoom, dashed no-op.

[Generated by AI]

## Verdict: variant A — fat gaps Calibrated live 2026-10-16: Alexander felt no meaningful difference between A/B/C and delegated the pick. **Chosen: A** — seams between blocks insert (landing depth = the following block's depth; the line's left edge sits at the future bullet column), block-middle = drop as last child (ring). Why: complete position coverage via ONE insert rule + ONE nest rule — the cheapest presenter math in S6; most predictable at speed; drag is the secondary affordance in a keyboard-first app, so simplest wins. C's x-dial rejected (control A already reaches via onto, at x-sensitivity cost); B's thirds rejected (extra bands, no extra reachable positions). **Interaction contract baked into [Build S6: outliner interaction II](https://git.babylondreams.de/AlexKucera/Museion/issues/112):** - Hit zones per visible row: top 30% = seam above, bottom 30% = seam below, middle 40% = onto (last child, ring highlight). Seam resolves as insert-before-following-row at its depth; end-of-list seam = after last row at its depth. - Line indicator: left edge = future bullet column (11 + d·18 px per level); onto = 2px rust ring around the row. - Drag: ⋮⋮ grip in the left margin (hover-revealed) drags — batch when the row is in the selection, solo when not; body-drag works on already-selected rows; ~4px threshold so clicks never drag; Esc cancels. - Selection coexistence (the app's anchor↔focus): click = single, ⇧click = extend; dragged run = selection with descendants deduped (an ancestor carries its selected descendants); after a drop the moved run IS the selection. - Multi-block runs land as one contiguous run, path-addressed, refs re-resolved by node id after extraction (the OutlinePresenter.applyBatch discipline). - Zoom: double-click a bullet zooms in (presenter projection rooted at the node, depths re-based to 0); breadcrumb click and Esc zoom out one level; zoom survives only fully-visible selections. - Invalid targets (own subtree, relative to a moving block): dashed indicator, drop no-ops, storage untouched. - Standing fact: a drop can never steal siblings — line-insertion semantics make every seam position a real spot in the current tree (absorption was unverifiable and dropped during prototyping). Fixed defaults stand as built (accepted by delegation): grip batch/solo split, body-drag, moved-run selection, dblclick-bullet zoom, dashed no-op. [Generated by AI]
Sign in to join this conversation.