Account and contact messages: one short, friendly line each
Back to our planSummary
The messages after an account or contact step are still too long: two or three sentences where one short line would do. Each success, warning or error message becomes one short, friendly line in standard wording, and the button or link does the explaining.
Owner direction
- 2026-11-01 (Claude Code session, with a phone screenshot): far too much text; concise and in the brand voice.
- 2026-11-19 (voice): covers every message after an account or contact step: check your email, sign-up done, email verified, sign-in. That brings in
/verify-accountand/confirm-email. - 2026-11-26 (voice, chief of staff session): neighborly, warm and very short. Standard phrasing: a success message just thanks or confirms ("Thanks for activating your account"), a warning just names the issue. No congratulations, no "the next step you can do is…", no explaining what the button already says. He wants to see the proposed lines before they ship.
Details
- The texts live in the message catalog:
src/platform/lib/messages/accounts.tsandcontact.ts, read throughmessage(). The contact thank-you heading is CMS content (the Contact Form document), seeded fromsrc/endpoints/seed/contact-form.ts. - Today, for example:
accounts.forgotPassword.sentis 26 words,accounts.signUp.sent20,contact.sent.checkEmail16. The verify and confirm pages and the Google and passkey messages have more of the same. - Rules every line keeps:
- The same text whether or not the address has an account or is confirmed (
docs/guidelines/security.md; OWASP's account-enumeration guidance). - Never "received" before a contact sender has confirmed.
- Fixed texts only, never the server's (#204).
- The thank-you heading stays CMS content.
- The same text whether or not the address has an account or is confirmed (
- #501 is separate. It decides what happens when an email already has an account and is waiting on the owner. Write today's screens as they are.
Proposed fix
- List every message in
accounts.tsandcontact.tsplus the Contact Form heading, with its word count and a one-line proposal. - Put that table at the top of the pull request description. The PR preview shows the new lines on a phone.
- Change the catalog entries and the seed, update the unit and e2e expectations, and run the visual design review.
- After deploy, an admin updates the live Contact Form heading. Record the before and after text here.
Acceptance criteria
- Not done: Every message in scope is one short line (about 12 words at most; a message that must name a time limit may run a little longer), in the brand voice, and the table of old versus new is in the PR description.
- Not done: No line reveals whether an address has an account or is confirmed, and none says a message was received before it was confirmed.
- Not done: Each success screen fits a 320×568 phone screen right after the action, light and dark (
visual-design-review). - Not done: Unit tests, e2e tests and axe pass with the new expectations.
- Not done: The owner has seen the lines on the PR preview before merge; the live Contact Form heading matches, with before and after recorded here.
Files likely touched
src/platform/lib/messages/accounts.ts, src/platform/lib/messages/contact.ts, src/platform/lib/messages/catalog.test.ts, src/endpoints/seed/contact-form.ts, src/modules/accounts/ui/, src/modules/contact/ui/, src/app/(frontend)/verify-account/, src/app/(frontend)/confirm-email/, e2e/accounts.spec.ts, e2e/contact.spec.ts
Must not touch
src/modules/accounts/domain/, src/modules/accounts/data/, src/modules/verification/, the sign-in and sign-up behavior (that is #501)
Load first
docs/roles/worker.md, docs/guidelines/brand-voice.md, docs/guidelines/security.md, src/modules/accounts/README.md, src/modules/contact/README.md, src/modules/verification/README.md
Open questions
None. The owner reviews the lines on the PR preview.
Generated by Claude Code, opens in a new tab