Repository navigation
feat(web): toggle a new profile as the default - #73
TheGreatAxios merged 4 commits into
Conversation
|
Screenshots of the default-profile dialog on this branch ( Lead sentence: "New projects start on the one you pick." The new profile is one of the choices, next to the profiles that already exist. Nothing is stored until Set default. This pass used Cancel; the new name was not listed afterward. Settings → Profiles, with the dialog open: The dialog (Which profile is the default? / Set default): |
There was a problem hiding this comment.
Triage requests changes:
- Conventions: added code matches a code pattern
apps/web/src/pages/profiles.tsx:279-283 nested-ternary: Nested ternary; use if statements or a lookup.apps/web/src/pages/profiles.tsx:344-354 promise-chain: Promise chain; use async/await with try/catch.
|
Screenshot of Settings → Profiles → New profile on this branch (form not submitted). When a default already exists, the old “Which profile is the default?” dialog is gone. The new-profile form shows a switch labeled “Do you want to make this your new default profile? It will replace Anthropic Default.” |
8de7e0e to
a6373ff
Compare
|
Triage: Pass No changes needed from you. A maintainer will review this pull request. Triage will approve, request review. |
Nothing triage asked to change still fails, so this request no longer stands.



Closes CL-11946
When a new profile is saved and at least one other profile already exists (shipped or custom), the profiles screen asks which profile is the default. The list includes the new profile and the previous ones. Confirming writes that id to
ModelChoice.profilethrough the existing personal-settings save. Creating the first profile, when nothing else exists, keeps today's save and does not ask. Editing an existing profile does not ask again.Verified:
bun test ./apps/web/src/pages/profiles.test.ts— 3 pass, 0 failbun --bun run oxlint --deny-warningson the changed files — 0 warningsbun check --no-script -p apps/web— no type errorsbun checkacross hub, client, zip, and web — passed