Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store dark mode in cross-subdomain cookie #8132

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Store dark mode in cross-subdomain cookie #8132

merged 1 commit into from
Mar 26, 2024

Conversation

Twixes
Copy link
Member

@Twixes Twixes commented Mar 26, 2024

Changes

Companion to PostHog/posthog#21149. Local storage can't be shared across subdomains, but cookies can, so this should allow us to offer a smooth experience where signup always has the same theme as the website you just came from. Let me know if this is a workable solution.

@Twixes Twixes requested a review from smallbrownbike March 26, 2024 00:09
Copy link

vercel bot commented Mar 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog ✅ Ready (Inspect) Visit Preview Mar 26, 2024 0:16am

@Twixes Twixes merged commit 391debc into master Mar 26, 2024
2 checks passed
@Twixes Twixes deleted the dark-mode-cookie branch March 26, 2024 11:30
@Twixes Twixes restored the dark-mode-cookie branch March 27, 2024 12:56
Twixes added a commit that referenced this pull request Mar 27, 2024
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