Skip to content

feat(onboarding-email): restyle UK volunteer welcome, state subscription status - #1115

Merged
hturnbull93 merged 2 commits into
mainfrom
onboarding-email/uk-volunteer-style-and-subscribed-copy
Sep 14, 2026
Merged

hturnbull93 merged 2 commits into
mainfrom
onboarding-email/uk-volunteer-style-and-subscribed-copy

Conversation

@hturnbull93

Copy link
Copy Markdown
Collaborator

Summary

  • Restyled the UK volunteer welcome email onto the same plain, short-note layout the UK non-volunteer (act-now/keep-informed) email already uses, instead of the old rich card/video layout — keeps the video and global Discord mention as a plain line.
  • Threaded the Members Email subscription checkbox through the render endpoint (email_subscription in the Airtable automation's request body, already forwarded but previously unread) so the newsletter line can state subscription status directly instead of always hedging with "if you opted in". Falls back to the old hedged wording when the status isn't known.
  • The UK/Canada/Sweden "own words" line only gets the definite wording when subscribed; not-subscribed stays hedged, since spelling out "you didn't opt in" reads oddly inside a chapter's own welcome note.
  • Added a "Subscribed" control (Unknown/Yes/No) to /onboarding-email-preview for QA.

Test plan

  • vitest run src/lib/server/onboardingEmail — 17/17 pass
  • tsc --noEmit — clean
  • Eyeballed UK volunteer + non-volunteer, all three Subscribed states, on /onboarding-email-preview

🤖 Generated with Claude Code

https://claude.ai/code/session_01T2LtYeM7ABtR9bX7CaTaYZ

…scription status

UK volunteer email used a rich/video layout inconsistent with the plain,
short-note style already used for UK non-volunteers; restyled it to match
(same shape, keeps the video/Discord mention as a plain line).

Also thread the Members "Email subscription" checkbox through to the
render endpoint so the newsletter line can state it directly instead of
hedging with "if you opted in" — falls back to the old hedged wording
when the field isn't known. The UK/Canada/Sweden "own words" line stays
hedged for a not-subscribed signup, since spelling out the "no" reads
oddly inside a chapter's own welcome note.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T2LtYeM7ABtR9bX7CaTaYZ
@netlify

netlify Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for pauseai ready!

Name Link
🔨 Latest commit df0db68
🔍 Latest deploy log https://app.netlify.com/projects/pauseai/deploys/6aa79f7c65b9ae0008e093ae
😎 Deploy Preview https://deploy-preview-1115--pauseai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 59 (🔴 down 15 from production)
Accessibility: 91 (no change from production)
Best Practices: 100 (no change from production)
SEO: 82 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Dead since the UK volunteer rewrite switched to ukCommunityStep — left
in place and failed eslint's no-unused-vars in CI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T2LtYeM7ABtR9bX7CaTaYZ
@hturnbull93
hturnbull93 merged commit e664cf0 into main Sep 14, 2026
9 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