PHASE 1 PREVIEW · invitation experience · visual only · nothing is sent or saved
✈️ Split Your Plans

Invitation Experience — Phase 1 Preview

Four reviewable surfaces for the new invite flow, built with the existing Split Your Plans design system. No emails are sent, no schemas change, no trip/member records are touched. Approve the visuals before Phase 2 wiring.

Root cause: “Send Invite Link” appears to do nothing

  • No success feedback on the native-share path. shareInviteLink() in TripSettingsPanel.jsx returns silently after navigator.share() — there’s no toast when the share sheet completes.
  • AbortError is swallowed. If the user dismisses the OS share sheet, the catch only falls back to clipboard for non-Abort errors — so an abort shows nothing.
  • Iframe/clipboard can block the fallback. Inside the app preview iframe, navigator.clipboard.writeText may be permission-blocked; the toast.info fallback is easy to miss.
  • Naming mismatch. “Send Invite Link” implies sending an email, but it only shares/copies a URL — there is no email send at all.
  • Signed-in members skip the landing page. JoinTrip.jsx calls doJoin() immediately when authenticated, so a member testing /join/G7VFBV is redirected straight into the trip and never sees the recipient experience.

Not changed in Phase 1 — reported only, per instructions.

2Branded Email Preview

Desktop + mobile · looks like a real transactional email

View
Split Your PlansBeta

Subject

Andres invited you to TEST — Portugal Story Expedition

Hi friend,

Andres has invited you to join TEST — Portugal Story Expedition on Split Your Plans — the group travel planner that keeps everyone in sync.

“Hey! Join the Portugal crew so we can plan together. — Andres”
✈️

TEST — Portugal Story Expedition

Portugal · Apr 1–12, 2026

A
MC
LM
SP
JL
AM
+1
7 travellers

You’ll see the itinerary, split expenses, and vote on ideas together. Joining is free.

Or paste this link:

https://splityourplans.com/join/G7VFBV

Or use invite code:

G7VFBV

This invitation only shows the trip name, destination and dates. No expenses or itineraries are shared in this email.

Split Your Plans · Plan together. Travel together. Remember forever.

If you didn’t expect this invite, you can safely ignore this email.

PREVIEW · not a real email · no messages are sent in Phase 1.

3Recipient Landing Page — /join/:code

Public, pre-login, privacy-safe · states: valid, invalid, expired, already joined, unavailable

State
Valid flow
Split Your PlansBeta
✈️

Andres invited you

TEST — Portugal Story Expedition

PortugalApr 1–12, 2026
A
MC
LM
SP
JL
AM
+1
7 travellers

Joining is free. We’ll keep your invite code and bring you right back after you sign in.

Public page · only trip name, destination and dates are shown. No expenses shared.

PREVIEW · route /join/:code · not wired to the real join flow.

4Mobile Previews

390px · no truncation · large touch targets

Invite modal

Invite People

PREVIEW · no messages are sent

✈️

TEST — Portugal Story Expedition

PortugalApr 1–12, 2026

Preview state

Demo action · nothing is sent in Phase 1.

Pending Invitations

PREVIEW · demo

andresrojo_@live.ca

Pending · sent 2 days ago

maya@example.com

Accepted · sent 5 days ago

lucas@example.com

Expired · sent 2 weeks ago

sofia@example.com

Failed · sent 1 day ago

Email
View
Split Your PlansBeta

Subject

Andres invited you to TEST — Portugal Story Expedition

Hi friend,

Andres has invited you to join TEST — Portugal Story Expedition on Split Your Plans — the group travel planner that keeps everyone in sync.

“Hey! Join the Portugal crew so we can plan together. — Andres”
✈️

TEST — Portugal Story Expedition

Portugal · Apr 1–12, 2026

A
MC
LM
SP
JL
AM
+1
7 travellers

You’ll see the itinerary, split expenses, and vote on ideas together. Joining is free.

Or paste this link:

https://splityourplans.com/join/G7VFBV

Or use invite code:

G7VFBV

This invitation only shows the trip name, destination and dates. No expenses or itineraries are shared in this email.

Split Your Plans · Plan together. Travel together. Remember forever.

If you didn’t expect this invite, you can safely ignore this email.

PREVIEW · not a real email · no messages are sent in Phase 1.

Landing page
State
Valid flow
Split Your PlansBeta
✈️

Andres invited you

TEST — Portugal Story Expedition

PortugalApr 1–12, 2026
A
MC
LM
SP
JL
AM
+1
7 travellers

Joining is free. We’ll keep your invite code and bring you right back after you sign in.

Public page · only trip name, destination and dates are shown. No expenses shared.

PREVIEW · route /join/:code · not wired to the real join flow.

5Mobile Text & Social Sharing

Email · Text · WhatsApp · Copy Link · Code · Native Share + social cards

Share channels

Branded copy (Text / WhatsApp)

You’re invited to join “TEST — Portugal Story Expedition” on Split Your Plans! Portugal · Apr 1–12, 2026. Tap to join: https://splityourplans.com/join/G7VFBV

https://splityourplans.com/join/G7VFBV

PREVIEW · native share sheet has Copy Link / SMS / email fallbacks — no silent no-op.

Social card (iMessage · Slack · WhatsApp · Facebook)

Split Your PlansSplit Your Plans

splityourplans.com

Andres invited you to TEST — Portugal Story Expedition

Plan together, split expenses, and keep memories alive with your crew. Joining is free.

Static Open Graph + Twitter card metadata lives in index.html (served for every route, including /join/:code). Per-invite dynamic SSR isn’t available on this SPA deployment.

Plain-text fallback (rich previews unavailable): “You’re invited to TEST — Portugal Story Expedition on Split Your Plans. https://splityourplans.com/join/G7VFBV”

Sender → Trip Flow

  1. 1Sender opens Trip Settings → “Invite People”
  2. 2Chooses Email / Copy Link / Share; email preview shown before sending
  3. 3Recipient opens email/link → public /join/:code landing page (privacy-safe summary)
  4. 4If signed out → stash code → Login/Register → return to /join/:code
  5. 5After auth → explicit “Confirm you want to join” step (no silent grant)
  6. 6If a guest (ghost) traveller matches → “Is this you?” claim step (no claiming confirmed accounts)
  7. 7Success → warm “You’re in!” → Open Trip

Exact files Phase 2 would modify

src/components/trip/TripSettingsPanel.jsxReplace the silent “Send Invite Link” button with an “Invite People” trigger that opens the new modal.
src/components/trip/InvitePeopleModal.jsx (NEW)The modal from preview #1, wired to the new invite backend + pending-invitation list.
src/components/trip/InviteEmailComposer.jsx (NEW)Email composition + pre-send preview, calling the send function.
base44/functions/sendTripInvite/entry.ts (NEW)Server-side invite send (Resend/custom domain) + persistence of Invitation records + rate limiting.
base44/entities/Invitation.jsonc (NEW)Invitation records (pending/accepted/expired/failed) for management + resend/revoke. Needs your schema approval.
src/pages/JoinTrip.jsxAdd a pre-join landing state for already-authenticated non-members so the recipient experience is previewable; keep the confirm step.
base44/functions/joinTrip/entry.tsEnsure no silent join for authenticated members; return landing metadata; keep ghost logic.
src/components/trip/TripMembers.jsxSurface pending invitations and claim UX inside the members list.
src/pages/Login.jsx & src/pages/Register.jsxAlready preserve pending_invite_code redirect — keep as-is, verify round trip.

Base44 email capabilities — facts only

• Built-in SendEmail is transactional but reaches REGISTERED app users only — it cannot deliver to andresrojo_@live.ca unless that address has signed up.

• Custom sender domain is supported (e.g. support@splityourplans.com): 2 integration credits/email (default domain: 1 credit/email).

• No built-in delivery-status, open-tracking, or bounce handling. The docs recommend the Resend integration for external recipients + delivery status.

• No explicit per-function rate limit is documented; effective limit is your workspace integration-credit balance.

• No trip-invitation backend function or Invitation entity exists today — both would be new in Phase 2 (schema/function change → requires approval).

To reach external recipients (e.g. andresrojo_@live.ca) and get delivery status, Phase 2 should use the Resend integration or a custom sender domain + a dedicated backend function — none of which is configured or sent in Phase 1.

Awaiting your visual approval

Phase 2 will wire the send/revoke/join/claim actions behind these previews. Nothing ships until you approve.

Back to app