Skip to content

Bifrost waitlist popup on the site banner and customer dashboard - #620

Open
shanerbaner82 wants to merge 4 commits into
mainfrom
bifrost-waitlist-banner
Open

shanerbaner82 wants to merge 4 commits into
mainfrom
bifrost-waitlist-banner

Conversation

@shanerbaner82

@shanerbaner82 shanerbaner82 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Site banner: replaces the birthday banner in the post-Black Friday slot (until 2027-01-01). Clicking it opens the popup.
  • Customer dashboard: a dismissible waitlist card above the existing banners opens the same popup. Dismissal is remembered per browser.
  • Popup (bifrost-waitlist-modal): first name + email, posted to Kit with fetch and 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 the open-bifrost-waitlist-modal event or with ?waitlist in the URL.
  • Kit endpoints live in config/services.php under kit (overridable with KIT_WAITLIST_SUBSCRIBE_URL / KIT_WAITLIST_HOSTED_URL).
  • Fathom events: 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 posts email_address and fields[first_name] to the configured Kit URL; ?waitlist auto-opens; modal mounted on every page.
  • DashboardLayoutTest: waitlist card hidden during Black Friday, shown after.
  • The popup flow (open, focus, error, success, Escape, dashboard dismissal) was checked in headless Chrome against rendered markup. Kit's cross-origin JSON reply was verified with a live request.
  • PHPUnit and Pint were not run (authoring environment lacked PHP 8.4). Run php artisan test --compact tests/Feature/BifrostBlackFridayBannerTest.php tests/Feature/DashboardLayoutTest.php and vendor/bin/pint --dirty --format agent before merging.

https://claude.ai/code/session_01XhTCe1nCta8TiffsmPn5mM


Generated by Claude Code

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
@shanerbaner82 shanerbaner82 changed the title Swap post-Black Friday site banner to Bifrost waitlist Bifrost waitlist popup on the site banner and customer dashboard Nov 25, 2026
claude and others added 2 commits November 25, 2026 10:58
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

No deployments
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