Skip to content

feat: detect one-theme as visual refresh via class and global flag#221

Merged
mxschll merged 1 commit into
mainfrom
dev-v3-onetheme
May 27, 2026
Merged

feat: detect one-theme as visual refresh via class and global flag#221
mxschll merged 1 commit into
mainfrom
dev-v3-onetheme

Conversation

@mxschll

@mxschll mxschll commented May 27, 2026

Copy link
Copy Markdown
Member

*Issue #, if available: aQokArCTx9ab

Description of changes:

Recognize .awsui-one-theme as visual-refresh-compatible so vr components/layouts behave like vr when one-theme is active. Detection works via the .awsui-one-theme body class or global flag (window[Symbol.for("awsui-global-flags")].oneTheme).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mxschll mxschll requested a review from a team as a code owner May 27, 2026 13:40
@mxschll mxschll requested review from gethinwebster and removed request for a team May 27, 2026 13:40
@mxschll mxschll marked this pull request as draft May 27, 2026 13:42
@mxschll mxschll force-pushed the dev-v3-onetheme branch from 44f975a to b008169 Compare May 27, 2026 13:43
@codecov

codecov Bot commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.97%. Comparing base (eb4fa98) to head (b008169).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #221   +/-   ##
=======================================
  Coverage   98.97%   98.97%           
=======================================
  Files          44       44           
  Lines        1272     1273    +1     
  Branches      351      348    -3     
=======================================
+ Hits         1259     1260    +1     
  Misses         12       12           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 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 marked this pull request as ready for review May 27, 2026 14:08
@mxschll mxschll added this pull request to the merge queue May 27, 2026
Merged via the queue into main with commit 628cf81 May 27, 2026
42 of 44 checks passed
@mxschll mxschll deleted the dev-v3-onetheme branch May 27, 2026 14:26
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