Skip to content

Merge staging to production#133

Merged
MarketDataApp merged 3 commits intomainfrom
staging
Mar 2, 2026
Merged

Merge staging to production#133
MarketDataApp merged 3 commits intomainfrom
staging

Conversation

@MarketDataApp
Copy link
Owner

Summary

  • Add cross-domain dark mode cookie sync via @marketdataapp/ui (head script + MutationObserver client module)
  • Migrate to unified Cloudflare Pages deployment via orchestrator
  • Add staging/production integration test suites and e2e tests
  • Add post-deploy-tests workflow triggered by orchestrator dispatch
  • SEO: emit trailing-slash canonical URLs
  • Various docs fixes and worker improvements

Test plan

  • Staging deploy passed (build, R2 upload)
  • Theme cookie sync verified: head script reads cookie into localStorage, MutationObserver syncs changes back
  • SSR build passes (MutationObserver guarded behind ExecutionEnvironment.canUseDOM)

Sync theme preference cookie across *.marketdata.app subdomains:
- Head script reads cookie into localStorage before Docusaurus renders
- MutationObserver syncs data-theme changes back to cookie
Wrap MutationObserver in ExecutionEnvironment.canUseDOM to prevent
ReferenceError during Docusaurus server-side rendering.
@MarketDataApp MarketDataApp merged commit 0c550a5 into main Mar 2, 2026
4 checks passed
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.

1 participant