UX and motion: notes, share as image, Urdu confirm dialog, toasts, page transitions, moderation dashboard, timelines #74
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "anas/ux-motion"
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?
Readers: notes on couplets and selected text (glyph beside the bookmark, note box, نوٹ in the selection menu); share a couplet as an image; couplets rise in; bookmark and note pop; word sidebar slides in. Everyone: page cross-fade with the logo held; an Urdu confirm dialog instead of the browser's English one; toasts; busy buttons; smooth menus and folding. Moderators: dashboard with count tiles and queue cards; activity as a timeline. Admins: the record as a filterable timeline. API: POST /api/library/note and notes in /api/library/state (tests). All motion off with reduced motion. Restart the API with this branch. 🤖 Generated with Claude Code (https://claude.com/claude-code)
- Notes: a glyph below each couplet's bookmark opens a note box (filled gold when the couplet or a phrase in it has a note; the note shows on hover). Selected text gets نوٹ in the selection menu; a highlighted phrase with a note shows the note glyph and opens its note (with "remove highlight"). API: POST /api/library/note {poemId, couplet, phrase?, note} (bookmarks if needed; empty clears the note), notes in /api/library/state; tests added - Confirm dialog in Urdu (destructive answer in red, named for what it does) in place of the browser's English confirm(); forms use data-confirm - Toasts for "done" messages; errors stay by the form and nudge; a submitting button shows a spinner - Motion: page cross-fade (View Transitions) with the logo held; couplets rise in on load; bookmark and note glyphs pop; the word sidebar slides in; menus and folding sections open smoothly; all off with reduced motion Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Pull request closed