Skip to content

fix: alert action buttons on top navigation surface - #4872

Closed
mxschll wants to merge 1 commit into
mainfrom
dev-v3-schomax-topnav-alert-fix
Closed

fix: alert action buttons on top navigation surface#4872
mxschll wants to merge 1 commit into
mainfrom
dev-v3-schomax-topnav-alert-fix

Conversation

@mxschll

@mxschll mxschll commented Aug 6, 2026

Copy link
Copy Markdown
Member

Alerts inside top navigation rendered light-mode button colors on the dark surface, making action buttons look disabled.

Before

image

After

image

Includes a test page rendering flashbar and alert permutations on the top navigation surface.

Part of a stacked change; base for #4866.

@mxschll
mxschll requested a review from a team as a code owner August 6, 2026 09:51
@mxschll
mxschll requested review from taheramr and removed request for a team August 6, 2026 09:51
@mxschll mxschll changed the title fix: Alert action buttons on top navigation surface fix: alert action buttons on top navigation surface Aug 6, 2026
builder.addContext(createFlashbarWarningContext((await import('./contexts/flashbar-warning.js')).tokens));
builder.addContext(createAlertContext((await import('./contexts/alert.js')).tokens));
builder.addContext(createHeaderAlertContext((await import('./contexts/header-alert.js')).tokens));
builder.addContext(createTopNavigationAlertContext((await import('./contexts/header-alert.js')).tokens));

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mirrors what createHeaderAlertContext is doing for header contexts.

@codecov

codecov Bot commented Aug 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.63%. Comparing base (6db9984) to head (267f1cc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4872   +/-   ##
=======================================
  Coverage   97.63%   97.63%           
=======================================
  Files         957      957           
  Lines       31140    31140           
  Branches    11463    11463           
=======================================
  Hits        30404    30404           
  Misses        689      689           
  Partials       47       47           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mxschll
mxschll requested a review from YueyingLu August 6, 2026 10:01

@YueyingLu YueyingLu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert approval because of bundle size increase found in offline discussion

@mxschll mxschll closed this Aug 6, 2026
@mxschll
mxschll deleted the dev-v3-schomax-topnav-alert-fix branch August 6, 2026 11:38
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.

2 participants