Repository navigation
test(cmux-next): sidebar cards assert the shared card glass veil (base red) - #22598
Conversation
… the composer fill 17228e1 moved CardSurfaceView from the composer's 13% text fill to the neutral veil of FloatingGlassStyle.card (user 2026-10-20, after Rex), but SidebarCardSurfaceTests still expected the old fill, so the Update Ready card read 0.22 opaque instead of 0.13 on the purple dark theme. The tests now expect CardSurfaceView.style's veil for the card's appearance, with the same 0.01 tolerance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Not verified: macOS jobs did not run: compile and app tests were skipped on CI passes on Written by red: cmux-next checks (god files, concurrency, crash safety, l10n); no finished base run on c09af9b to compare; do not merge until green; see lane-rules |
This comment has been minimized.
This comment has been minimized.
|
Bead |
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Found 67 test failures on Blacksmith runners: Failures
...and 57 more test failures. View all on Blacksmith
|
|
Shipped in:
|
SidebarCardSurfaceTests.theUpdateReadyCardSitsOnTheComposersSurfaceis red onfeat-cmux-next(fleet tip check on 936bad8, step 42a180113a99a967bff08749): alpha off by 0.09 at :52 and RGB mismatch at :54.Cause: 17228e1 ("restart cmux-tui to use new features, and one shared neutral glass for toasts, dialogs and cards", @lawrencecchen) intentionally moved
CardSurfaceViewfrom the composer's 13% text fill to the neutral gray veil ofFloatingGlassStyle.card(user 2026-10-20, after Rex). On the purple dark theme the card now draws 0.22 alpha gray, the test still expected 0.13 theme text. The new design already has its own test (FloatingGlassStyleTests.theSidebarCardDrawsTheNeutralVeilAndRim). Neither #22566 nor #22488 caused it.Fix: test only. Both sidebar card tests now expect
CardSurfaceView.style.look(isDark:).veilfor the card's appearance, with the same 0.01 tolerance, so the Update Ready and notice cards are still checked to share one surface. Renamed to...SitsOnTheSharedCardSurface. No source change.@lawrencecchen: this follows your 17228e1 design; shout if the cards were meant to keep the composer fill.
Verification (fleet,
package-test-lane.sh suite Packages/macOS/CmuxNext CmuxNextAppTests):Changelog
none
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes the failing
SidebarCardSurfaceTestsafter the card surface moved from the composer's 13% text fill to the shared neutral gray veil ofFloatingGlassStyle.card.CardSurfaceView.style.look(isDark:).veilas the card's appearance, with the same 0.01 tolerance....SitsOnTheSharedCardSurfaceto match the new design.Written for commit 78efb7a. Summary will update on new commits.