Repository navigation
Show account usage errors as an alert icon that opens the usage menu - #51182
Merged
orca-remote-automation[bot] merged 3 commits intoNov 27, 2026
Merged
orca-remote-automation[bot] merged 3 commits into
orca-remote-automation[bot] merged 3 commits into
Conversation
Status bar chips no longer print error text; an amber alert sits next to the provider icon, a click opens the usage menu whose rows carry the message, and the menu button describes every alert for screen readers.
11 tasks done
DoozyX
added a commit
to DoozyX/orca
that referenced
this pull request
Nov 28, 2026
Merges stablyai/orca ab26af3 (571 commits) into fork main db01815. Conflict resolutions: - Mobile web bundle: upstream moved the page styles to mobile-web-app-page-styles.mjs and added the React Compiler plugin; the fork moved the aliased package paths to mobile-web-app-aliased-packages.mjs (one React). Both moves kept; the eager budget takes upstream's 12 MiB + 112 KiB, which covers React Compiler's memo caches (fork's 11.25 MiB was below the measured 12,657,291 bytes). - Lazy Zod (stablyai#50444, stablyai#50493): project-group IPC schemas now live in upstream's project-group-ipc-arg-schemas.ts; the fork's ProjectGroupUpdate claudeAccountId moves there. AccountHome uses upstream's lazy definition in structured-agent-session-core-params.ts; the fork's duplicate structured-agent-session-account-home.ts is removed. Baseline pruned. - Lazy main-process imports: commit-message resolvers keep upstream's dynamic imports with the fork's Claude launch scope; window services take upstream's lazy imports and the fork's PrepareClaudeAuth type. - Project groups: upstream lazy-loads the name/delete/suppress dialogs and the header menu content; the fork's local-only "Group settings…" item moves into ProjectGroupHeaderMenuContent and its settings dialog is lazy-loaded the same way. - Status bar: upstream's error alert description (stablyai#51182) is computed over the fork's per-account usage entries, its wrapped status label is carried into the fork's UsageRosterRow, and the refresh uses runWithFinally (stablyai#50419) with the fork's refreshUsage. - Git graph filter: fork's extracted ref source kept (its drain already sits outside the hook, so upstream's runWithFinally change is not needed there). - Agent status counts: upstream's owner-id restructure with the fork's isDerivedChildRow filter. - UI primitives: Button keeps the fork's sm-compact and upstream's toolbar sizes; Input keeps the fork's size prop and upstream's focusFeedback. - i18n: fork gitGraph keys kept; upstream's removed revertConflicts and revertInProgress stay removed (unused). zh 8b9e202e0a uses upstream's 你 wording with the fork's 1 hour default. - Generated: bundled skill guides, manifest and sources regenerated; released-digests is the union of both sides. Claude-Session: https://claude.ai/code/session_01BPjp5yPQp93G7xea8VmfjG
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.
ELI5
When an account's usage can't be read, the bottom-left status bar used to print the problem as text ("Signed out", "Refresh failed", "Run Grok to refresh"). Now it shows a small gray alert next to the provider icon. Clicking it opens the usage menu, which already lists the message for each account.
What Changed
Why
The inline text was noisy and its width changed with the message, so the bar shifted whenever an account failed. One icon pattern works for every provider and error, and the full message stays one click away in the menu that already holds account details. Checked against how comparable products handle this.
Linked Issue
N/A (maintainer change)
Visual Proof
Before (light)

After: Claude "Refresh failed", Codex "Signed out", Grok "Run Grok to refresh"
Usage menu opened by clicking the Grok alert
Longest English message ("Waiting for Claude session"), menu opened by clicking the Claude alert
A healthy chip beside error chips (alignment)
Narrow window (340px): a long message wraps in the menu row (stress text placed in the Grok row's DOM, since no English label is this long)
Testing
Dev build with an isolated profile and seeded usage state, inspected over CDP on macOS: clicking each alert opens the usage menu; the usage button's description lists every error; menu rows wrap at a 340px window with no overflow.
pnpm check:changedpasses; existingStatusBarProviderSegment.test.tsxpasses.No new tests: this is presentational, and the repo rules keep UI behaviour out of unit tests.
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
Performance
None, because the chip renders the same or fewer elements than before, and the screen-reader description is one string built from the provider list already in hand on each status bar render (at most nine providers). No new polling, timers, subscriptions, IPC or disk work.
Risk
Level: Low
Renderer-only styling in the status bar usage chips and menu rows. If it went wrong, users would see an alert without being able to find the message; the menu row and the button description both carry it. Saved data, settings, SSH and mobile are untouched. Back out with a plain revert.
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Cross-platform: Tailwind classes and a lucide icon only. Remote hosts: the same chip renders remote usage, so it follows the same pattern. Mobile has its own usage UI and is unchanged.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)