Prototype P1: drag + zoom interaction prototype #113
Notifications
Due Date
No due date set.
Blocks
Reference: AlexKucera/museion#113
Reference in new issue
Block a user
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]
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:
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]
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:
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]