Repository navigation
fix(providers): name the account action by its login state - #747
Merged
Merged
Conversation
A signed-in account offered "Sign in again", which reads as if something signed the user out. The action now follows the login state on every harness, on web and mobile: "Sign in" without a login, "Sign in again" when it expired or a turn rejected it, "Change account" while it works. The confirm button repeats the action, "Sign out" hides when nothing is signed in, and the status row no longer repeats the in-app action. Related: #696, #732
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Feedback from Settings → Providers → Codex (Device login): a signed-in account offered "Sign in again", which suggests something signed the user out.
What
One state-aware action label, shared by web and mobile through
accountAction()/ACCOUNT_ACTION_LABELSin@canopy/domain/provider-accounts. It applies to every harness (Codex, Claude, Grok).expired)docs/provider-accounts.md(status row) and aprovider accountglossary entry indocs/copy.md.Related: #696, #732
Copy audit (docs/copy.md §8)
provider account. Banned for its action: "switch account", and "sign in again" while the login works.Checks
bun install,gen:check,typecheck,lint,format:check: clean.vite build): clean.expo export --platform all(Android + iOS): clean.dev(android906dc944…, ios138e0c6b…). The change is JS only and ships OTA.check:tmp(full suite; no tests cover these labels and none were added, per the no-UI-tests rule) and a live browser pass.