Repository navigation
Reorder AI provider accounts - #51221
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
StatusProblem: Settings > AI provider accounts opened with OpenCode and Devin, and Grok sat below MiniMax. Change: Sections now go Claude, Codex, Antigravity, Grok, OpenCode (data + Go usage), Devin, then MiniMax, Cursor and GLM. On Windows the account location picker comes first. The OpenCode and Devin data sections keep one shared search condition and still reset when the account owner changes. No other behavior changes. Fixed during review: an earlier revision also deleted explanatory code comments; they are restored, and the diff is now order-only. The PR description gained before/after screenshots and a corrected note about the location picker. Deferred: none. Verified on 4f46c10:
|


ELI5
Before, the AI provider accounts page opened with OpenCode and Devin, and Grok sat far down the list after MiniMax. Now the page goes Claude, Codex, Antigravity, Grok, OpenCode, Devin, and then the rest. On Windows, the account location picker, which used to sit below OpenCode and Devin, now comes first. Nothing else on the page changes.
What Changed
AccountsPanebuilds its section list in the new order. The OpenCode and Devin managed-data sections, which used to render together in one wrapper, are now two entries placed beside their providers (OpenCode next to OpenCode Go usage, Devin right after). Both still use one shared search condition (managedDataShown), and both still remount when the account owner changes.Why
The most used providers should come first, and each provider's sections should sit together.
Linked Issue
N/A
Visual Proof
Settings > AI provider accounts in a dev build with a fresh test profile (Linux). One warning line showing a local file path is blanked out.
Testing
On a Linux dev build I opened Settings > AI provider accounts on this branch and on its base, and recorded the section order (screenshots above). Settings search for "devin", "opencode" and "grok" still lists and jumps to the right sections. Format, lint, typecheck and the changed-file checks pass. No test was added because this only reorders existing sections.
Performance
None, because this only changes the order of sections that already render on the settings page.
Risk
Level: Low
The worst case is a section in the wrong place or missing during search. Saved settings and accounts are untouched, and a plain revert restores the old order.
AI Disclosure
N/A
Review
Reviewed for correctness across local, WSL, remote-host and web-client scopes, and for performance.
Agent skill upstream boundary
Notes
Security, cross-platform behavior, remote accounts, mobile, backwards compatibility, and performance are unaffected.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)