Skip to content

feat: auto-open install walkthrough on mobile browsers instead of toast - #144

Merged
balebbae merged 2 commits into
mainfrom
devin/1787949235-auto-open-install-dialog
Aug 28, 2026
Merged

feat: auto-open install walkthrough on mobile browsers instead of toast#144
balebbae merged 2 commits into
mainfrom
devin/1787949235-auto-open-install-dialog

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes all the install onboarding toasts. InstallPromptHost now opens the InstallGuideDialog walkthrough automatically for any logged-in user on a phone browser (platform === "ios" | "android") that isn't running standalone — on every visit, not just the first (the dialog's open state is derived, not gated by the install-prompted localStorage flag):

const guideOpen = !!user && !installed && isMobile && !closed; // closed = dismissed this visit

Closing the dialog still dismiss()es (settles the onboarding step so push/schedule-tip aren't blocked). On desktop there is nothing to install, so the step is settled immediately via an effect. The native beforeinstallprompt Install action is gone along with the toasts; promptInstall/canPromptNatively remain available in useInstallPrompt.

Also drops the min-h-72/mt-auto from the "Get Notified" push dialog so there is no empty gap between the description and the buttons.

Link to Devin session: https://app.devin.ai/sessions/3819fb8e090243e3be94e42b6634f587
Open in Devin Desktop: https://app.devin.ai/desktop/session/3819fb8e090243e3be94e42b6634f587?variant=devin
Requested by: @balebbae

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

Co-Authored-By: Caleb Bae <baecal000@gmail.com>
@balebbae
balebbae merged commit 74598c5 into main Aug 28, 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