Build S3: outline type + outliner — block tree, LogSeq keys #109

Closed
opened 2026-10-12 19:32:52 +02:00 by AlexKucera · 0 comments
Owner

Part of #97.

Blocked by: #107

Question

Build slice S3 of the v1.1 layout change: the Outline content type and its keyboard-first outliner (ADR-0013).

Work

  • Outline pieces: type: outline (#101 — one markdown file, indentation = nesting, inline markdown in node text, [[post-id]] inert text, no node IDs in v1). File is post.md like every piece.
  • Outliner per the #105 verdict (variant B, prototype ref/prototypes/wf105-outline-editor-prototype.html): a real tree of blocks (parse nested-bullet markdown → tree → serialize on save), chrome bullets + per-level vertical rules. LogSeq semantics: 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. Block-granular selection accepted; structural undo dropped — text undo only (#105).
  • New Outline ⇧⌘N slots into the File ▸ New submenu S2 builds (if S2 hasn't landed, wire it via the same CommandGroup(after: .newItem) slot). New outline lands in the selected project, else posts.
  • Reading Mode: apex pipeline unchanged — verify nested lists render; no outliner-specific reading surface in v1.
  • Drag-reorder and zoom-in/focus-subtree are second-map scope (#102).

Verification

xcodebuild test green (parse/serialize round-trip, structural ops) + build-and-run smoke of the full key set.

[Generated by AI]

Part of #97. Blocked by: #107 ## Question Build slice S3 of the v1.1 layout change: the Outline content type and its keyboard-first outliner (ADR-0013). ## Work - Outline pieces: `type: outline` (#101 — one markdown file, indentation = nesting, inline markdown in node text, `[[post-id]]` inert text, no node IDs in v1). File is `post.md` like every piece. - Outliner per the #105 verdict (variant B, prototype `ref/prototypes/wf105-outline-editor-prototype.html`): a real tree of blocks (parse nested-bullet markdown → tree → serialize on save), chrome bullets + per-level vertical rules. LogSeq semantics: 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. Block-granular selection accepted; structural undo dropped — text undo only (#105). - New Outline ⇧⌘N slots into the File ▸ New submenu S2 builds (if S2 hasn't landed, wire it via the same `CommandGroup(after: .newItem)` slot). New outline lands in the selected project, else `posts`. - Reading Mode: apex pipeline unchanged — verify nested lists render; no outliner-specific reading surface in v1. - Drag-reorder and zoom-in/focus-subtree are second-map scope (#102). ## Verification `xcodebuild test` green (parse/serialize round-trip, structural ops) + build-and-run smoke of the full key set. [Generated by AI]
AlexKucera added the wayfinder:task label 2026-10-12 19:32:52 +02:00
AlexKucera self-assigned this 2026-10-12 19:32:53 +02:00
Sign in to join this conversation.