Repository navigation
Webview: keep plan gauges with their engine - #241
Merged
zo-sol merged 2 commits intoSep 17, 2026
Merged
Conversation
This was referenced Sep 17, 2026
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.
Addresses #226 items 13 and 14. Plan readings are stored by reporting engine, so switching to Codex cannot display Claude's quota and a late Claude event stays with Claude. The composer groups plan usage, context and queued messages under one auto margin and wraps controls at narrow widths.
Validation at 7e9b77e: 66 core test files / 478 tests passed with Chrome required, including three reducer regressions. Core typecheck and webview production build passed. Assistant-operated browser checks at 360, 480 and 1280 pixels covered engine switching, a late Claude event while Codex was selected, restored Claude usage, and gauge alignment. These used the actual built webview and transport with controlled server events, not live account quota or a physical phone.
The screenshots below show Claude at 73%, Codex after a late Claude event, and Claude restored at 91%.
Merge coordination: this overlaps #238 in Composer and the store. Keep the fixes separate; the later merge will need a rebase preserving the configured-only Custom switcher and its token-count display.
Assistant-operated QA screenshots