Profile: full name and bio #43

Merged
anas merged 1 commits from feature/profile into main 2026-10-08 21:45:20 +00:00
Owner

Closes #42.

  • /account has a پروفائل form: پورا نام (full name, up to 100 characters) and تعارف (bio, up to 1,000, line breaks kept). Urdu or any text; inputs follow the text's direction.
  • The name heads the account page with the bio under it; the header button shows the first name instead of "اکاؤنٹ".
  • API POST /api/auth/profile; /api/auth/me returns full_name and bio. Text is trimmed and control characters dropped. Columns users.full_name, users.bio.

Tested: npm test 23 pass (profile: Urdu name trimmed and control characters removed, bio cut at 1,000, cleared, signed-out refused). On the running site: saved "مرزا اسد اللہ خان" with a two-line bio; heading, header and bio shown.

Next: the personal library (#24, #25), which shows these with the reader's saved poets, works, couplets and words.

🤖 Generated with Claude Code

Closes #42. - `/account` has a **پروفائل** form: پورا نام (full name, up to 100 characters) and تعارف (bio, up to 1,000, line breaks kept). Urdu or any text; inputs follow the text's direction. - The name heads the account page with the bio under it; the header button shows the first name instead of "اکاؤنٹ". - API `POST /api/auth/profile`; `/api/auth/me` returns `full_name` and `bio`. Text is trimmed and control characters dropped. Columns `users.full_name`, `users.bio`. **Tested**: `npm test` 23 pass (profile: Urdu name trimmed and control characters removed, bio cut at 1,000, cleared, signed-out refused). On the running site: saved "مرزا اسد اللہ خان" with a two-line bio; heading, header and bio shown. Next: the personal library (#24, #25), which shows these with the reader's saved poets, works, couplets and words. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
anas added 1 commit 2026-10-08 21:31:21 +00:00
Readers write their full name and a short bio (Urdu or any text) on /account; the name heads the
account page and the header shows the first name. API: POST /api/auth/profile (trimmed, control
characters dropped, 100 and 1,000 characters).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anas merged commit 531d4e9f69 into main 2026-10-08 21:45:20 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: anas/divan#43
No description provided.