Repository navigation
Description
Needs your OK: this renames the account link in the header on a phone, from "Settings" to "Account". Swap pipeline:proposed for pipeline:ready to have it built.
What happens
On a phone, a signup's page shows "Settings" twice, one above the other:
- The account's, in the header.
src/app/app/(chrome)/layout.tsxshows the organizer's email there fromsmup. Belowsmthe address doesn't fit, so the link says "Settings". It opens/app/settings, where Connected apps lives. - The signup's, in the tab bar.
TabsNav(src/components/signup/TabsNav.tsx) has Build, Responses and Settings. That Settings opens the signup's own settings, such as whether people must give an email.
They lead to different places with the same name. An organizer after the signup's settings can tap the header one and land on Connected apps. On a computer the header shows the email, so the clash only happens below sm (640px).
The header's "Settings" was a deliberate choice when the settings page came in (#225): the comment in the layout says the address won't fit on narrow screens. The signup's Settings tab was already there.
To see it: create a signup and open it at 390px wide. The header reads "Help Settings Sign out". The tabs under the title read "Build Responses Settings".
Fix, in outline
- Call the header link "Account" on a phone. Change its narrow-screen text in
(chrome)/layout.tsxfrom "Settings" to "Account". - Leave the rest of the link alone. It still shows the email from
smup, and itstitlestays "Settings". - Leave the page and the tab alone.
/app/settingskeeps its "Settings" heading and crumb. The signup's Settings tab keeps its name.
Watch for
- Help page.
connect-an-ai-assistantsays "On a phone, it says Settings" and usesUI.settingsfor both the link and the page heading. Add a separateUIentry for the link, and update the text. - e2e tests.
tests/e2e/help/connect-an-ai-assistant.spec.ts, "the header link says Settings", clicks the link by that name at 390px.tests/e2e/organizer.spec.tsfinds it withgetByTitle('Settings'), which still works if thetitlestays.tests/e2e/oauth-consent.spec.tsfinds it byhref, with a comment that names "Settings". Update the comment.
docs/connect-ai-assistant.mdsays to click your email address to open Settings. That's the computer's header, so it stays true.- CHANGELOG: add a line under Unreleased › Changed.
Choices this makes
- "Account", not an icon. The header's other items are words (Help, Sign out), and "Account" fits where "Settings" did.
- Rename the header link, not the tab. "Signup settings" in the tab bar would make it scroll on a phone. The header link already changes its words by screen size.
- The page keeps the name "Settings". Under its heading it says "Signed in as …", so it reads as the account's. Renaming it would change the crumb, the page title, the help page and the docs on a computer too, for a clash that only exists on a phone.
Done when
- At 390px wide, the header link reads "Account" and opens
/app/settings. Fromsmup it still shows the email. - An e2e check at 390px on a signup's page finds the tab named "Settings" and no link named "Settings". (The tabs have
role="tab", so the header link is the only link that could match.) - The help page and its phone e2e say "Account".
pnpm lint && pnpm typecheck && pnpm knip && pnpm testpass.
Found by the UX walkthrough (scenario O4) on 2026-10-24, and checked against the code on main at 4ed27a9.
Generated by Claude Code
Activity