feat(library): projects & archive UI — S2 (#108)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Variant B per the #104 prototype verdict: the library column groups pieces by project (serif lowercase heads, collapse toggle, Pass-State groups inside, 2px edge-bar selection shared with the new Archive pane via LibraryPostRow). Move to Project / Archive / Move Back / whole-project Unarchive are folder moves — post.md bytes untouched, never clobbering, ids globally unique. File ▸ New Post ⌘N and New Project… ⌥⌘N (CommandGroup, never CommandMenu per #84). Every folder move flushes pending edits first and aborts when the write failed — nothing moves without its text. Project membership and the archived-refusal derive from freshly resolved disk paths, never the scan snapshot. Slug and project-name comparisons fold through one canonical key (NFC + lowercase). Two reviewer fanouts this session; their findings are all fixed or visibly parked. 144/144 tests green (run twice), swiftformat/swiftlint clean. Closes #108
This commit is contained in:
1 parent
9da3a07f4a
commit
e55747e7fe
15 files changed
+1205
-68
No files matched your search
@@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file. The format
|
||||
|
||||
### Added
|
||||
|
||||
- **library:** projects & archive UI (v1.1 S2, variant B per #104) — the library column groups pieces by project under serif lowercase section heads (collapse toggle, `· N` counts, Pass-State groups inside); Move to Project / Move to Archive / Move Back / whole-project Unarchive as folder moves (post.md bytes untouched, never clobbering, ids globally unique); an Archive rail destination lists archived pieces grouped by project with row-click back to Posts; File ▸ New Post ⌘N and New Project… ⌥⌘N; New Project opens a draft targeted at it, and every folder move flushes pending edits first — a failed write aborts the move with nothing relocated (issue #108)
|
||||
|
||||
- **library:** projects & archive storage substrate (v1.1 S1) — pieces live under `projects/<name>/<id>/post.md` with finished work folding into `archive/<name>/` (ADR-0012): the library scans both roots, New Piece and Import land in the selected project (else the default `posts`), slugs stay globally unique across projects and archive so an archived name is never reused, and every piece carries `type: post` frontmatter (absent or unknown types read as post; the file stays `post.md` for every type) (issue #107)
|
||||
|
||||
- **editor:** spellcheck posture (#77, Neo triage input) — Edit ▸ Check Spelling While Typing now toggles continuous spell checking in the editor; off by default (markdown on disk carries the spelling, squiggles on request), per-launch with no persistence
|
||||
|
||||
Reference in new issue
Block a user