Knowledge

← All knowledge

Settings

src/app/(authenticated)/settings/_components/settings.knowledge.md

Source: PRD 07 — User Management, docs/product/prd-07-user-management.md.

Screen role

Where a signed-in user edits their profile and manages their account. Two tabs in the left panel — Profile and Account — and nothing else. The profile control at the top right of the platform opens it with Profile selected.

Built so far

  • Profile: the name (3 to 30 user-perceived characters (designer override of PRD 07's 3–100), validated, saves with confirmation), the Google email read-only, Save changes.
  • Account: the sign-in method (Google and its email), Log out, and Delete account in a block of its own.
  • The Delete account? modal: the warning, the timelines, the exact phrase, Cancel, and the red button that stays off until the phrase matches; confirming shows "Account closed. Data deletion in progress."
  • Two sign-in methods on the Account tab: Google, and the account's own email and password (the password can be changed, verified through the email on the account; the email cannot be changed). PRD 07 as written covers Google only.
  • Four layouts, one component (layout prop): list (standard, PRD), list-rows, top-tabs, one-page. The last two depart from the PRD's left-panel tabs. The three alternatives are workboard options.

Not built yet

  • Loading, load error, save error, unsaved-edit warning, session expired, deletion failure states.
  • Fresh Google identity verification before deletion, and the entered phrase drawn in red.
  • The profile control at the top right that opens Settings (the shell has none today; the sidebar's Account item opens this page for now).

Guessed — confirm or correct

  • The layout: a page header, then a vertical tab list beside the content. The PRD asks for left-panel tabs; the proportions and the page header are drafts. The deletion timelines are worded from the PRD.
  • The words under "Profile" and under the Email field.

Open questions

See PRD 07: which providers store user data, and any retention exceptions.