Skip to content

feat(status-bar): keep Antigravity in the usage menu with a note that its quota isn't shown - #52953

Merged
AmethystLiang merged 4 commits into
mainfrom
AmethystLiang/antigravity-usage-menu-row
Nov 30, 2026
Merged

AmethystLiang merged 4 commits into
mainfrom
AmethystLiang/antigravity-usage-menu-row

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Since #50137 Orca no longer reads Antigravity's quota, so Antigravity simply disappeared from the status-bar usage menu, and users with a linked Google account report it as a bug. This keeps an Antigravity row in the usage menu that says the quota isn't shown, instead of a meter.

  • Detailed: Antigravity icon and name, then the muted line Not shown, per Google's guidance with an info icon right after it.
  • Compact: name, then right-aligned muted Not shown with the same info icon.
  • Info tooltip: To follow Google's guidance, Orca doesn't read Antigravity's live quota. You'll still see a notice when you run out. (the run-out notice is fix(antigravity): show a usage-limit notice with its reset time when agy's quota runs out #50190).
  • The row has no chevron and no action. It is not a provider reading, so it never joins the usage sort, the status-bar chips or any percent logic. The status bar itself is unchanged.
  • When it shows: only when agy is detected on this device's PATH, the same detection the menu already uses for other CLI agents. Orca reads no Antigravity account state here, and this window doesn't know a remote owner's PATH, so the row stays hidden for remote owners and before detection has answered.
  • Accessibility: the info icon is a menu item, so arrow keys reach it and keyboard focus opens the tooltip. Escape closes only the tooltip, and Enter does nothing. The row group and the info item are both labelled by the visible name and line.
  • Tooltip wrapping: ui/tooltip.tsx gains a wrap: 'default' | 'normal' variant. normal uses plain wrapping so a long, width-capped tooltip fits its text instead of leaving the box part-empty. Only this row uses it, and every other tooltip is unchanged. Design-system owners: this is a new option on the shared primitive.
  • The three new strings are single keys, translated in every shipped locale.

Checked against how comparable products handle this.

Screenshots

Component fixtures with invented data, popover at its narrowest (300px).

Detailed (dark) Compact (light)
Detailed, dark Compact, light
Tooltip opened by keyboard focus (dark) Tooltip at the window's right edge (light)
Tooltip, detailed, dark Tooltip at right edge, compact, light

Testing

  • Drove the rendered fixture headless in both themes and both densities. Hover shows the tooltip and leaving hides it. Arrow keys reach the info icon and focus shows the tooltip. Escape closes the tooltip with the menu still open. Enter keeps the menu open.
  • pnpm check:changed: all 32 checks pass.
  • No unit test is added: the exclusion from sorting and chips is structural, because the row is a separate prop and never enters the provider list.

Performance

The row is static markup rendered inside the already-open usage popover. It adds no store subscription, timer, polling, IPC, agy spawn or quota fetch. The visibility check is one includes on the detectedAgentIds array that the status-bar controller already selects and refreshes on mount and on manual refresh, so it adds no re-render trigger. Inside the popover the row adds two useId calls and one tooltip. rosterProviders, the chip-layout measurement and the reset-countdown clock are untouched because the row is not a provider. The tooltip variant adds one empty class string to every other tooltip's class computation.

Files Added Deleted Net
Test 0 0 0 0
Prod 17 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​293 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​291

… its quota isn't shown

Orca stopped reading Antigravity quota in #50137, so the agent vanished from
the usage menu and users reported it as a bug. When agy is detected on this
device, the menu lists Antigravity after every meter with one muted line and
an info tooltip explaining why. The row is not a provider reading: it never
joins sorting, the status-bar chips or any percent logic, and it reads no
Antigravity state.
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The status bar now detects local Antigravity use and passes a flag to the usage roster. When enabled, the roster displays a separate Antigravity notice with compact and regular layouts, explanatory tooltip text, and translations in 11 locales. The change also adds tooltip text-wrapping options and fixtures for different widths, modes, and tooltip positions.

Merge Risk: Minimal · up to cd409

This adds a muted Antigravity "Not shown" row to the usage menu when agy is detected locally. It does not change quota reading, sorting or the status bar. Merge risk is minimal.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Description check Inconclusive The description follows the repository template closely. It has ELI5-style context in the Summary, a What Changed section, a Why section, Visual Proof with four fixture screenshots covering both theme… Add a linked issue for this change, because the template says outside contributors need one. Replace the placeholder Level in the Risk section with Low, Medium, or High, and state how to revert the change. Add the ELI5 section, the Review a…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title names the main change: an Antigravity row kept in the status-bar usage menu with a note that its quota is not shown. It is specific and matches the raw summary, the description, and the obje…
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 names the main change: an Antigravity row kept in the status-bar usage menu with a note that its quota is not shown. It is specific and matches the raw summary, the description, and the objectives. The conventional-commit prefix is acceptable. At 91 characters it is slightly long, but it is still clear.

Full details: Description check

Explanation

The description follows the repository template closely. It has ELI5-style context in the Summary, a What Changed section, a Why section, Visual Proof with four fixture screenshots covering both themes and densities and the tooltip cases, Testing with steps and the pnpm check result, a Performance section with a concrete reason, and a Risk section with the level left as a placeholder. Gaps: the template's ELI5 heading is not present as a separate section, the Linked Issue section is missing a 'Fixes #' issue link (the description cites #50137 and #50190 only as context), the Risk section does not name a level or a backout plan, the Review and Agent skill upstream boundary checkboxes are not addressed, the template's Notes and Checklist sections are absent, and the AI Disclosure section is left blank. The Testing section also does not say which platforms were tested.

Resolution

Add a linked issue for this change, because the template says outside contributors need one. Replace the placeholder Level in the Risk section with Low, Medium, or High, and state how to revert the change. Add the ELI5 section, the Review and Agent skill upstream boundary items, and the Checklist items. Fill in the AI Disclosure section or state that it does not apply. In Testing, state which platforms were tested.

  • 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: e1c7edb9-3280-48c7-80c2-405ec3965bee
Commits

Reviewing files that changed from the base of the PR and between 0c7c859 and cd40908.

Files selected for processing: 17

  • src/renderer/src/components/status-bar/StatusBarUsageArea.tsx
  • src/renderer/src/components/status-bar/composition/use-status-bar-controller.ts
  • src/renderer/src/components/status-bar/usage/AntigravityUsageNoticeRow.fixture.tsx
  • src/renderer/src/components/status-bar/usage/AntigravityUsageNoticeRow.tsx
  • src/renderer/src/components/status-bar/usage/UsageRosterPanel.tsx
  • src/renderer/src/components/ui/tooltip.tsx
  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/zh.json

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

@AmethystLiang
AmethystLiang merged commit f313d12 into main Nov 30, 2026
54 checks passed
DoozyX added a commit to DoozyX/orca that referenced this pull request Nov 30, 2026
Merge stablyai/orca 395b551 (342 commits) into fork main 30107dc.

Conflict resolutions (9 files), keeping fork behavior and upstream intent:
- worker-terminal inventory: upstream SQL pushdown of terminal-state filters
  and counts (stablyai#52172) over the fork's JS scan; the fork's prior-owner handoff
  (#69) stays in WORKER_TERMINAL_HANDED_ON_TO_SQL, which the pushed-down
  retained predicate uses, so a handed-on Dispatch still lists no terminal.
- electron-builder config: fork signing-identity / Touch ID requires plus
  upstream rmSync import; upstream's daily-channel removal (stablyai#52449) kept, and
  the fork-only channel test drops its daily cases.
- build-computer-macos: fork single-arch copy vs universal lipo, then
  upstream's strip -x.
- tsconfig.node: upstream inherited-git-env-setup rename (list now equals
  upstream).
- package.json: upstream build:mac / build:mac:release via build:native, fork
  build:mac:install.
- mobile client-context: fork RpcClientContext module plus upstream holdEntry.
- status bar usage: fork account-entry roster plus upstream Antigravity
  notice row (stablyai#52953) and ProviderIcon size prop, fork omp icon sized too.

Gates: install:release, mobile frozen install, pnpm tc, 22 conflict-area test
files (94 tests), 3 worker-terminal perf contracts, #69 handed-on repro
(fails on upstream's old SQL), check:changed --base=30107dced9e 54/55 with
the load-timed-out worktree-removal-real-git test passing alone (16/16),
build:mobile-web.

Claude-Session: https://claude.ai/code/session_01BPjp5z8knubqaxZaD7QKW6
pythonberg1997 pushed a commit to pythonberg1997/orca that referenced this pull request Nov 30, 2026
… its quota isn't shown (stablyai#52953)

* feat(status-bar): keep an Antigravity row in the usage menu that says its quota isn't shown

Orca stopped reading Antigravity quota in stablyai#50137, so the agent vanished from
the usage menu and users reported it as a bug. When agy is detected on this
device, the menu lists Antigravity after every meter with one muted line and
an info tooltip explaining why. The row is not a provider reading: it never
joins sorting, the status-bar chips or any percent logic, and it reads no
Antigravity state.

* fix(status-bar): keep the Antigravity tooltip inside the usage menu and fitted to its text

* test(status-bar): drop the rendered Antigravity row test

* fix(status-bar): use a normal-wrap tooltip variant and the stock menu-item shape for the Antigravity info icon

(cherry picked from commit f313d12)
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