fix(calendar): gate the enable-calendar prompt off on mobile - #5422
Merged
gbirman merged 1 commit intoAug 5, 2026
Conversation
The mobile custom-toast layout drops the body and the close button, so the "Enable calendar" prompt lands on a phone as a bare truncated title over the composer with no way to dismiss it and an action button styled `text-panel` — a background token — that is near-invisible on the dark island. Hide it on phones behind a new `enable-calendar-prompt-mobile` flag, off by default everywhere including dev, so it can be turned back on in PostHog once the mobile layout is fixed. Desktop is untouched, and Settings > Email keeps a per-inbox "Enable calendar" button, so the action stays reachable while the prompt is off.
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe calendar permission prompt now checks 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
gbirman
deleted the
gbirman/macro-2754-disable-calendar-prompt-on-mobile
branch
August 5, 2026 15:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hides the "Enable calendar" prompt on phones behind a new
enable-calendar-prompt-mobileflag, off by default everywhere including dev. The mobile custom-toast layout drops the body and close button, so the prompt lands as a bare title over the composer with no way to dismiss it.Desktop is unchanged, and Settings > Email keeps a per-inbox "Enable calendar" button, so the action stays reachable while the prompt is off. Turn the flag on in PostHog once the mobile layout is fixed — #5407 is the alternative that fixes the layout instead.