mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Editor: interactive composition wireframe — drag to reorder and restructure
Drag a view's box (or Alt+up/down) to reorder it within its container; drag onto another view's edge to pair the two in a new row/column, move across containers, or insert. Each leaf shows a glyph of its mark type. Core: spec-restructure.wrapViews (wrap, with flatten-to-insert, collapse, and data-pin invariants) and spec-insert.moveViewTo; the editor applies every drag as one undoable edit via AppStore.composeRequest, keeping the editor the single text source.
This commit is contained in:
@@ -11,6 +11,11 @@
|
||||
> because its risk (compiled-name↔source-path correlation, and an edit-vs-interact pointer
|
||||
> conflict) is real and isolated. First build step: a **read-only Phase A spike** —
|
||||
> `viewTree(spec)` + a static nested-box renderer with click-to-cursor sync.
|
||||
>
|
||||
> **Shipped (2026-06-29):** Phases A–C — the wireframe, mark-type leaf glyphs, in-container
|
||||
> reorder (drag + `Alt+↑/↓`), and cross-container drag-to-restructure (`core/spec-restructure`
|
||||
> `wrapViews`). The live contract is now arch 08 (transforms) + arch 10 (interaction). Phase D
|
||||
> (on-chart overlay) and Phase E (size editing) remain deferred — size deferred by choice.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user