docs(spec): projects/archive layout + outline type — v1.1 spec (#106)
CONTEXT.md: Project, Outline, Archive adopted; Content Type rewritten as frontmatter attribute; Post ID global across projects. ADR-0012 (amends 0004), ADR-0013 (specializes 0010). Wayfinder map #97 — spec assembly ticket #106.
This commit is contained in:
1 parent
074f9af080
commit
50eecc6dcb
6 files changed
+46
-9
No files matched your search
@@ -0,0 +1,11 @@
|
||||
# 0013 — The outliner is a dedicated block surface, not the prose editor
|
||||
|
||||
> Specializes [ADR-0010](0010-native-textkit2-prose-editor.md): prose editing stays TextKit2 mode B; outlines edit on a separate substrate.
|
||||
|
||||
Outline editing is a real tree of blocks (parse nested-bullet markdown → tree → serialize on save), not the prose editor's shared text buffer: chrome bullets + per-level vertical rules render exactly at every depth, which a painted-over-buffer approach could not match. Costs were scoped down deliberately: block-granular selection is accepted (no text-granular cross-block selection in v1) and structural edits carry no undo (text undo only). Block structure is also the native substrate for the planned TOC "outline nodes as posts" vision. Interaction: Tab/⇧Tab indent/outdent, ⌥↑/⌥↓ move node with subtree, fold/unfold as view state keyed by node id, Enter splits at caret, Enter on empty node outdents, ↑/↓ hop visible blocks; one promoted NSTextView over the focused row (native undo/IME), static text elsewhere.
|
||||
|
||||
## Consequences
|
||||
|
||||
- Fold is view state, never a text edit — folding never dirties the document.
|
||||
- Reading an outline reuses the apex pipeline unchanged (nested lists already render).
|
||||
- Storage is plain nested-bullet markdown on disk (ADR-0012's `type: outline`); node identity, if the second outline map needs it, arrives then as a migration.
|
||||
Reference in new issue
Block a user