Curation + navigation: design system + spec #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "curation-design"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Sets up everything for the next implementation pass — library curation (delete + upload) and the navigation redesign — but stops short of touching any real handlers or store methods. Two commits:
Design system update (
0307ac2) — reverses the earlier "there is no header, just a dropdown in the corner" decision. The new.site-headeris a thin strip with three italic nav links on the left (shelf · library · errata, library as the default/route) and a+ uploadaction on the right. Active-state is inked ink colour plus a thin stamp rule under the word. Mocks the inlinedelete-confirmbutton with both resting and armed states. Deletes the drag-and-drop dropzone concept we iterated on and then explicitly cut. Also fixes a small input bug: italicfwas getting left-clipped in search inputs because the content box had zero inline padding — added 0.12em of inline-start padding across all text inputs. All changes live indesign/and are visible by openingdesign/index.htmlordesign/preview/index.htmlin a browser. No backend code changes.Design spec (
13ad7be) —docs/superpowers/specs/2026-04-11-curation-and-nav-design.md. Covers the three features landing in the next PR: delete books (soft delete, row kept, files moved to<data dir>/archived-books/<hash>.<ext>, auto-unshelve on delete, inline 2-click confirm UI on the book detail page), upload books (+ uploadbutton in the site header triggers a file picker, new file runs through the same importer pipeline as the inbox watcher, re-uploading an archived book restores it), and the site header itself. Also covers an incidentalinternal/kobofix:buildRemovedEntitlementcurrently synthesizes a fake UUID viauuidFromInt, which delete-of-a-shelved-book would silently trip over — the spec resolves it via a newGetBookByIDIncludingDeletedstore method so the removal envelope carries the book's real UUID.The spec has a full self-review done; the open questions section is non-blocking.
What's in this PR
design/index.htmlanddesign/preview/*.htmldocs/superpowers/specs/2026-04-11-curation-and-nav-design.mdTest plan
design/preview/index.htmlopens in a browser, shows the new thin site header with+ uploadon the right, no dropzone wrapperdesign/preview/book.htmlshows the delete button in resting and armed statesdesign/index.htmlcomponent doc reflects the new header and no dropzonefinternal/koboscope addition, the importer split ofImportvsImportFile, the flash cookie design, and the testing listIntended to be squash-merged; the two commits are a breadcrumb trail, not a curated history.
🤖 Generated with Claude Code