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 afternavigator.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.writeTextmay be permission-blocked; thetoast.infofallback 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.
1Invite People Modal
Replace “Send Invite Link” with a primary “Invite People” action
Invite People
PREVIEW · no messages are sent
TEST — Portugal Story Expedition
Preview state
Demo action · nothing is sent in Phase 1.
Pending Invitations
PREVIEW · demoandresrojo_@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
- • Trip summary header (cover, name, destination, dates)
- • Tabs: Email · Copy Link · Share
- • States: default, validating, sending, success, failure, already invited, rate limited
- • Pending invitation management (pending/accepted/expired/failed) with demo resend/revoke
- • No send/revoke wired in Phase 1 — clearly labelled PREVIEW
2Branded Email Preview
Desktop + mobile · looks like a real transactional email
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.
TEST — Portugal Story Expedition
Portugal · Apr 1–12, 2026
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
Andres invited you
TEST — Portugal Story Expedition
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 People
PREVIEW · no messages are sent
TEST — Portugal Story Expedition
Preview state
Demo action · nothing is sent in Phase 1.
Pending Invitations
PREVIEW · demoandresrojo_@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
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.
TEST — Portugal Story Expedition
Portugal · Apr 1–12, 2026
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.
Andres invited you
TEST — Portugal Story Expedition
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.
Sender → Trip Flow
- 1Sender opens Trip Settings → “Invite People”
- 2Chooses Email / Copy Link / Share; email preview shown before sending
- 3Recipient opens email/link → public /join/:code landing page (privacy-safe summary)
- 4If signed out → stash code → Login/Register → return to /join/:code
- 5After auth → explicit “Confirm you want to join” step (no silent grant)
- 6If a guest (ghost) traveller matches → “Is this you?” claim step (no claiming confirmed accounts)
- 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.