Skip to content

Reorder AI provider accounts - #51221

Merged
brennanb2025 merged 4 commits into
mainfrom
brennanb2025/reorder-ai-provider-accounts
Nov 28, 2026
Merged

brennanb2025 merged 4 commits into
mainfrom
brennanb2025/reorder-ai-provider-accounts

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

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.

Files Added Deleted Net
Test 0 0 0 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​14 $\color{#cf222e}{\Huge{\mathbf{−}}}$​9 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5

What Changed

AccountsPane builds 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.

Before After
before after

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below
  • Every added test fails without this change and avoids the test anti-patterns

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

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Security, cross-platform behavior, remote accounts, mobile, backwards compatibility, and performance are unaffected.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@brennanb2025
brennanb2025 marked this pull request as ready for review November 28, 2026 07:54
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The account settings pane now uses a shared search condition for the OpenCode and Devin managed-account sections, which render separately. The Grok section appears earlier in the section list.

Merge Risk: Minimal · up to 4f46c

This change reorders AI provider sections on the accounts settings page and keeps the managed-data search behavior. No concrete risk was found, and saved settings and accounts are not touched, so it looks safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Reorder AI provider accounts" matches the main change: the AccountsPane section order on the AI provider accounts settings page is changed. It is short, specific, and states the primary cha…
Description check Passed The description follows the template well. It includes ELI5, What Changed, Why, Linked Issue (N/A), Visual Proof with before/after images, Testing, Performance, Risk with level, AI Disclosure, Review,…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Reorder AI provider accounts" matches the main change: the AccountsPane section order on the AI provider accounts settings page is changed. It is short, specific, and states the primary change. The OpenCode/Devin managed-data split is a secondary detail that the title does not need to cover.

Full details: Description check

Explanation

The description follows the template well. It includes ELI5, What Changed, Why, Linked Issue (N/A), Visual Proof with before/after images, Testing, Performance, Risk with level, AI Disclosure, Review, the upstream boundary checkbox, Notes, and Checklist. The Linked Issue is marked N/A, while the template says an issue should always exist for outside contributors. The Visual Proof section gives a before and after comparison. The description is clear and specific about the reordering and the shared managedDataShown gate.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8713cb97-f5c4-4b3f-9d07-764c1a025125
Commits

Reviewing files that changed from the base of the PR and between fd21b93 and 4f46c10.

Files selected for processing: 1

  • src/renderer/src/components/settings/accounts/AccountsPane.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Status

Problem: 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:

  • Format, lint, typecheck and changed-file checks pass; CI green.
  • Linux dev build with a fresh test profile: section order recorded on this branch and its base. Searching "devin", "opencode" and "grok" lists and jumps to the right sections.
Before After
before after

@brennanb2025
brennanb2025 merged commit 2eccacb into main Nov 28, 2026
85 checks passed
@brennanb2025
brennanb2025 deleted the brennanb2025/reorder-ai-provider-accounts branch November 28, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant