Library UI: project-grouped sidebar + Archive section #104

Closed
opened 2026-10-12 17:25:24 +02:00 by AlexKucera · 2 comments
Owner

Part of #97.

Question

How should the library column look and behave once pieces group by Project? Today: a flat Pass-State-grouped list (PostsLibraryColumn), visual baseline ref/Web-Prototype/museion-workspace.html. Build a cheap prototype (SwiftUI sketch or HTML mock) to react to: project grouping — per-project Pass-State groups or flatter rows? Project headers with counts? Where does the Archive section sit (bottom disclosure vs separate nav-rail destination)? New Project flow, project rename, and move-a-piece-between-projects affordances. Link the prototype as an asset.

[Generated by AI]

Part of #97. ## Question How should the library column look and behave once pieces group by Project? Today: a flat Pass-State-grouped list (PostsLibraryColumn), visual baseline `ref/Web-Prototype/museion-workspace.html`. Build a cheap prototype (SwiftUI sketch or HTML mock) to react to: project grouping — per-project Pass-State groups or flatter rows? Project headers with counts? Where does the Archive section sit (bottom disclosure vs separate nav-rail destination)? New Project flow, project rename, and move-a-piece-between-projects affordances. Link the prototype as an asset. [Generated by AI]
AlexKucera added the wayfinder:prototype label 2026-10-12 17:25:24 +02:00
AlexKucera self-assigned this 2026-10-12 17:43:15 +02:00
Author
Owner

Verdict from the live prototype session (Alexander, 2026-10-12). Prototype: three variants (?variant=A|B|C), bottom-bar cycling, real dev corpus, Museion #89 tokens, 232pt column width.

Asset: the tracker's attachment endpoint is dead server-side (HTML 500 on POST), so the prototype is captured as a repo file on local branch prototype/wf104-library-ui @ 135cc0a — ref/prototypes/wf104-library-ui-prototype.html (push awaits authorization per repo rules). Session-scratch copy: /Users/alex/.hermes/cache/scratch/wf104-library-ui-prototype.html.

Decisions

  1. Grouping: Variant B — one serif-15 section per project (matches the pane-header voice), Pass-State groups inside each project section, rust edge-bar on the selected row (right-aligned border-radius card). Calmer and more editorial than mono headers (A) or flat meta (C).
  2. Archive: nav-rail destination — Archive gets its own rail button (box icon, above Settings at the rail bottom), its own library view; the Posts library stays pure. Archived projects fully openable/editable.
  3. Bundle confirmed with one exception: counts on project headers, ✳ suffix on outline pieces, rename/trash context menu travels with rows — all confirmed. New Project + move-a-piece-between-projects commands are IN v1 — this overturns the map's Out-of-scope line "In-app move/rename UI for projects and pieces — Finder is the v1 surface". Finder remains the v1 surface for project rename and whole-project moves; in-app commands cover New Project and moving pieces between projects.

Build consequences (for the spec ticket #106)

  • PostsLibraryColumn regroups: project sections (serif-15 headers + counts) → Pass-State groups → rows; selection = surface card + rust 2px edge-bar (left edge).
  • Nav rail gains an Archive destination (WorkspaceView rail buttons; Archive view = project-grouped list of archived pieces, openable).
  • PostStore gains movePiece(piece → project) and createProject; rename stays Finder-side in v1.
  • The ✳ outline marker keys off type: outline frontmatter (#101).

[Generated by AI]

Verdict from the live prototype session (Alexander, 2026-10-12). Prototype: three variants (`?variant=A|B|C`), bottom-bar cycling, real dev corpus, Museion #89 tokens, 232pt column width. **Asset:** the tracker's attachment endpoint is dead server-side (HTML 500 on POST), so the prototype is captured as a repo file on local branch `prototype/wf104-library-ui` @ `135cc0a` — `ref/prototypes/wf104-library-ui-prototype.html` (push awaits authorization per repo rules). Session-scratch copy: `/Users/alex/.hermes/cache/scratch/wf104-library-ui-prototype.html`. ## Decisions 1. **Grouping: Variant B** — one serif-15 section per project (matches the pane-header voice), Pass-State groups inside each project section, rust edge-bar on the selected row (right-aligned border-radius card). Calmer and more editorial than mono headers (A) or flat meta (C). 2. **Archive: nav-rail destination** — Archive gets its own rail button (box icon, above Settings at the rail bottom), its own library view; the Posts library stays pure. Archived projects fully openable/editable. 3. **Bundle confirmed with one exception:** counts on project headers, ✳ suffix on outline pieces, rename/trash context menu travels with rows — all confirmed. **New Project + move-a-piece-between-projects commands are IN v1** — this overturns the map's Out-of-scope line "In-app move/rename UI for projects and pieces — Finder is the v1 surface". Finder remains the v1 surface for project *rename* and whole-project moves; in-app commands cover New Project and moving pieces between projects. ## Build consequences (for the spec ticket #106) - PostsLibraryColumn regroups: project sections (serif-15 headers + counts) → Pass-State groups → rows; selection = surface card + rust 2px edge-bar (left edge). - Nav rail gains an Archive destination (WorkspaceView rail buttons; Archive view = project-grouped list of archived pieces, openable). - PostStore gains movePiece(piece → project) and createProject; rename stays Finder-side in v1. - The ✳ outline marker keys off `type: outline` frontmatter (#101). [Generated by AI]
Author
Owner

Correction to the resolution above: it framed the in-app New Project + move-piece verdict as "overturning the map's Out-of-scope line ([#103])". That framing was wrong. #103's verdict covered the one-time migration only (the 4 dev posts move by hand, no migration machinery) — it never ruled on the app's in-app UI surface. The map's Out-of-scope line over-generalized #103, and this resolution repeated that misreading.

Corrected record: in-app New Project and move-a-piece-between-projects commands are new scope confirmed by this ticket's verdict, not an overturn of #103. #103 stands unchanged (migration = manual move, Finder). Project rename and whole-project moves remain Finder-side in v1 as an unconfirmed default. The map's Decisions gist and Out-of-scope line are being repaired to match.

[Generated by AI]

Correction to the resolution above: it framed the in-app New Project + move-piece verdict as "overturning the map's Out-of-scope line ([#103])". That framing was wrong. #103's verdict covered the one-time **migration** only (the 4 dev posts move by hand, no migration machinery) — it never ruled on the app's in-app UI surface. The map's Out-of-scope line over-generalized #103, and this resolution repeated that misreading. Corrected record: in-app New Project and move-a-piece-between-projects commands are **new scope confirmed by this ticket's verdict**, not an overturn of #103. #103 stands unchanged (migration = manual move, Finder). Project rename and whole-project moves remain Finder-side in v1 as an unconfirmed default. The map's Decisions gist and Out-of-scope line are being repaired to match. [Generated by AI]
Sign in to join this conversation.