Skip to content

fix: propagate one-theme class to portaled content#4599

Merged
mxschll merged 2 commits into
mainfrom
dev-v3-schomax-onetheme/portalmode
Jun 11, 2026
Merged

fix: propagate one-theme class to portaled content#4599
mxschll merged 2 commits into
mainfrom
dev-v3-schomax-onetheme/portalmode

Conversation

@mxschll

@mxschll mxschll commented Jun 11, 2026

Copy link
Copy Markdown
Member

Description

Propagates .awsui-one-theme to portaled content.

Related links, issue #, if available: n/a

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

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 amanabiy June 11, 2026 09:08
@mxschll mxschll marked this pull request as ready for review June 11, 2026 09:09
@mxschll mxschll requested a review from a team as a code owner June 11, 2026 09:09
@mxschll mxschll removed the request for review from a team June 11, 2026 09:11
@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.50%. Comparing base (150ce91) to head (aaab441).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4599   +/-   ##
=======================================
  Coverage   97.50%   97.50%           
=======================================
  Files         948      948           
  Lines       30275    30277    +2     
  Branches    11039    11039           
=======================================
+ Hits        29520    29522    +2     
  Misses        748      748           
  Partials        7        7           

☔ 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 enabled auto-merge June 11, 2026 11:49
expect(screen.getByTestId('subject')).not.toHaveClass('awsui-visual-refresh');
});

test('should let one theme win when visual refresh is also active', () => {

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.

Do we want One Theme to win over Visual Refresh?

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.

Yes. We can have pages with .awsui-visual-refresh AND with .awsui-one-theme classes. In that case, one theme should shown.

@mxschll mxschll added this pull request to the merge queue Jun 11, 2026
Merged via the queue into main with commit fd06cd6 Jun 11, 2026
86 of 87 checks passed
@mxschll mxschll deleted the dev-v3-schomax-onetheme/portalmode branch June 11, 2026 13:04
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