Personal library: saved poets, works, couplets and words #45
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/library"
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?
Closes #24, closes #25. Builds on #43 (profile): this branch contains it, so merge #43 first (or merge this one and #43 closes with it).
Saving while reading
میری لائبریری (
/library, "لائبریری" in the header)#c0,#c1… anchors, highlighted when opened).API (
api/src/library.ts), app-ready (JSON in/out, Bearer token, see #44):GET /api/library,GET /api/library/state,POST /api/library/toggle,POST /api/library/:id/note,POST /api/library/:id/delete. Onelibrarytable; deleting an account deletes its library. The site's/api/libraryproxy refuses posts from other origins.Tested
npm test: 25 pass (toggling each kind, missing targets 404, word cleaning, page state, full paths, both misras, notes, readers cannot see or change each other's items, account deletion clears the library).Bookmarked phrases and glyphs (added after review request)
GET /api/library/marks.🤖 Generated with Claude Code