Build S2: library UI — project grouping, Archive view, in-app commands #108

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

Part of #97.

Blocked by: #107

Question

Build slice S2 of the v1.1 layout change: the library UI over the projects/archive substrate — grouping, the Archive destination, and the in-app commands.

Work

  • PostsLibraryColumn regrouping per the #104 verdict (variant B, prototype ref/prototypes/wf104-library-ui-prototype.html): serif-15 project sections, Pass-State groups inside each, rust edge-bar selection; width-collapse and focus-mode rules unchanged.
  • Nav-rail Archive destination (box icon, bottom — prototype placement) with its own view: archived projects → pieces, still openable/editable (#99).
  • File ▸ New submenu via CommandGroup(after: .newItem) (never CommandMenu("File") — #84 trap): New Post ⌘N, New Project ⌥⌘N. New Project = name ask (sheet), lazily materialized projects/<name>/. Pane-header New Post button stays.
  • Post-row context menu: Rename · Move to Project… · Move to Archive · Move to Trash. Move to Project = picker + folder move (rescan reconciles, #61). Move to Archive = piece moves to archive/<project>/<id>/.
  • In-app restore: "Move Back to " on archived pieces in the Archive view, and project-level unarchive for archived projects (whole archive/<name>/ → projects/<name>/).
  • Project rename and cross-Home moves stay Finder-side (out of scope).

Verification

xcodebuild test green + build-and-run smoke: grouping, archive round-trip (piece and project), commands land in the right menus.

[Generated by AI]

Part of #97. Blocked by: #107 ## Question Build slice S2 of the v1.1 layout change: the library UI over the projects/archive substrate — grouping, the Archive destination, and the in-app commands. ## Work - `PostsLibraryColumn` regrouping per the #104 verdict (variant B, prototype `ref/prototypes/wf104-library-ui-prototype.html`): serif-15 project sections, Pass-State groups inside each, rust edge-bar selection; width-collapse and focus-mode rules unchanged. - Nav-rail Archive destination (box icon, bottom — prototype placement) with its own view: archived projects → pieces, still openable/editable (#99). - File ▸ New submenu via `CommandGroup(after: .newItem)` (never `CommandMenu("File")` — #84 trap): New Post ⌘N, New Project ⌥⌘N. New Project = name ask (sheet), lazily materialized `projects/<name>/`. Pane-header New Post button stays. - Post-row context menu: Rename · Move to Project… · Move to Archive · Move to Trash. Move to Project = picker + folder move (rescan reconciles, #61). Move to Archive = piece moves to `archive/<project>/<id>/`. - In-app restore: "Move Back to <project>" on archived pieces in the Archive view, and project-level unarchive for archived projects (whole `archive/<name>/` → `projects/<name>/`). - Project rename and cross-Home moves stay Finder-side (out of scope). ## Verification `xcodebuild test` green + build-and-run smoke: grouping, archive round-trip (piece and project), commands land in the right menus. [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:52 +02:00
Sign in to join this conversation.