Repository navigation
Bifrost waitlist popup on the site banner and customer dashboard - #620
Open
shanerbaner82 wants to merge 4 commits into
Open
shanerbaner82 wants to merge 4 commits into
shanerbaner82 wants to merge 4 commits into
Conversation
Replace the birthday banner shown after the Black Friday sale with a banner linking to the Bifrost waitlist form. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XhTCe1nCta8TiffsmPn5mM
The waitlist banner now opens an in-page modal that posts to the Bifrost Kit form with fetch, instead of sending people to the hosted Kit page. A dismissible waitlist card on the customer dashboard opens the same modal from Dec 1, 08:00 UTC. The Kit endpoints live in services.kit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XhTCe1nCta8TiffsmPn5mM
The modal takes an optional user and fills in their first name and email, then focuses the submit button so signing up is one click. The site and dashboard layouts pass the signed-in user; guests see empty fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XhTCe1nCta8TiffsmPn5mM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Summary
Adds a Bifrost waitlist popup that signs people up to the Bifrost Kit form without leaving the page, and points two new placements at it. Both appear from 2026-12-01 08:00 UTC, when the Black Friday banner ends.
bifrost-waitlist-modal): first name + email, posted to Kit withfetchand Kit's JSON reply shown in place (error message or "check your inbox"). If the request fails outright, it links to the hosted Kit form. Opens on theopen-bifrost-waitlist-modalevent or with?waitlistin the URL.config/services.phpunderkit(overridable withKIT_WAITLIST_SUBSCRIBE_URL/KIT_WAITLIST_HOSTED_URL).bifrost_waitlist_banner_click,bifrost_waitlist_dashboard_click,bifrost_waitlist_modal_submit,bifrost_waitlist_signup.Note: this removes the Bifrost birthday banner (HAPPYBIRTHDAY, 30% off) from Dec 1 to Jan 1.
Tests
BifrostBlackFridayBannerTest: banner opens the modal; modal postsemail_addressandfields[first_name]to the configured Kit URL;?waitlistauto-opens; modal mounted on every page.DashboardLayoutTest: waitlist card hidden during Black Friday, shown after.php artisan test --compact tests/Feature/BifrostBlackFridayBannerTest.php tests/Feature/DashboardLayoutTest.phpandvendor/bin/pint --dirty --format agentbefore merging.https://claude.ai/code/session_01XhTCe1nCta8TiffsmPn5mM
Generated by Claude Code