Skip to content

feat: release theme flash fix#9014

Open
wangsijie wants to merge 1 commit into
masterfrom
wangsijie-release-theme-fouc
Open

feat: release theme flash fix#9014
wangsijie wants to merge 1 commit into
masterfrom
wangsijie-release-theme-fouc

Conversation

@wangsijie

Copy link
Copy Markdown
Contributor

Summary

Testing

Tested locally

@github-actions

Copy link
Copy Markdown

COMPARE TO master

Total Size Diff 📉 -291 Bytes

Diff by File
Name Diff
.changeset/release-theme-flash-fix.md 📉 -342 Bytes
packages/account/src/Providers/PageContextProvider/index.tsx 📉 -584 Bytes
packages/core/src/tenants/Tenant.ts 📉 -49 Bytes

@github-actions github-actions Bot added feature Cool stuff size/s labels Jun 12, 2026
@wangsijie wangsijie marked this pull request as ready for review June 15, 2026 02:14
Copilot AI review requested due to automatic review settings June 15, 2026 02:14
@wangsijie wangsijie requested a review from gao-sun as a code owner June 15, 2026 02:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Prepares the previously gated “theme flash prevention” work for release by enabling Account Center SSR theme injection by default and ensuring the Account Center SPA does not override the initial theme while settings are still loading.

Changes:

  • Always mount koaAccountCenterSsr() before serving the Account Center SPA.
  • Remove the dev-feature gate around Account Center theme stabilization logic (early-return while settings load).
  • Add a release changeset covering the theme flash prevention rollout.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/core/src/tenants/Tenant.ts Enables Account Center SSR theme data injection middleware unconditionally.
packages/account/src/Providers/PageContextProvider/index.tsx Makes theme stabilization behavior always-on by removing the dev-feature gate and returning early while settings load.
.changeset/release-theme-flash-fix.md Adds release notes and version bumps for the theme flash prevention rollout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

'/' + UserApps.AccountCenter,
compose([
...(EnvSet.values.isDevFeaturesEnabled ? [koaAccountCenterSsr(libraries)] : []),
koaAccountCenterSsr(libraries),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants