Commit Graph
1 Commits
Author SHA1 Message Date
yetone e6f81585c4 gui: a plugin's signed-out account keeps Sign in again and Remove (#1363)
iamyhzhao: Grok, moved onto its plugin, reads as signed out after a
restart, and the row then has no Remove and no way to sign in again; the
only way out was moving to the built-in and back.

The account in use first never had a Remove, and a lapsed plugin account
in use still read as "In use" with the reason where Remove sits. Now a
plugin's account whose sign-in its vendor refused (marked lapsed, or its
allowance read saying the sign-in is gone, as signInGone reads it) shows
"Sign-in required", Sign in again (the plugin's sign-in) and Remove (asked
first, then login/forget), whatever else it is (in use, the agent's own).
Remove on a signed-out row shows without a hover. No new strings.

Run: new internal/gui/tests/plugin-signed-out-account.test.cjs in
Chromium and WebKit, en and zh, 420 and 1100 wide (26 pass); with this
app.js/app.css reverted it fails 18 (only the healthy-account cases
pass). account-*, own-signin-remove, saved-signedout-remove,
plugin-moved-signin, claude-auth-status, click-scroll, routing-account-*,
usage-accounts* and the rest of the 18 related files: 158 pass.
Not tried in the real window or with a real Grok account. A built-in
(non-plugin) account in use and lapsed is not changed.
2026-10-09 09:49:03 +08:00