Skip to content

feat: replace Supporter checkbox with Endorser field (v1.0.6) - #381

Merged
johannesparty merged 4 commits into
mainfrom
fix/add-endorser
Jul 19, 2026
Merged

feat: replace Supporter checkbox with Endorser field (v1.0.6)#381
johannesparty merged 4 commits into
mainfrom
fix/add-endorser

Conversation

@johannesparty

Copy link
Copy Markdown
Collaborator

Summary

Replaces the Supporter checkbox on the contact form with a new Endorser checkbox, tracking Endorser opt-ins in a new, separate Airtable field (Endorser?). The Supporter field (CotW-Opted In?) is retained in Airtable for historical opt-ins but is no longer written by the form.

Changes

  • Form: Supporter checkbox → Endorser checkbox (Endorser?). Checkboxes stay enabled; an email is required when any opt-in is ticked, surfaced via the browser's native validation popup on the email field (same UX as the required first/last name fields).
  • Auto-reply email: refreshed copy for all cases (endorser welcome + confirmations, updated Adoption copy); subject → Welcome to a Better Deal for Data.
  • On-page success message: "…the BD4D Standard, and the movement…".
  • Backend: Endorser? written; CotW-Opted In? no longer sent (field/history preserved).
  • Version: 1.0.6.
  • Docs: EMAILCASES.md (email cases reference) + deployment-workflow README update.

Airtable

The Endorser? Checkbox column already exists in the base, so deploys write cleanly (no 422).

Test plan

  • Staging: submit with Endorser checked → Airtable record has Endorser? = checked; debug.log shows Airtable API responded HTTP 200.
  • Spot-check auto-reply copy across cases (A/B/C/D/E).
  • Email-required popup appears when a box is checked without an email.

🤖 Generated with Claude Code

johannesparty and others added 4 commits July 19, 2026 10:38
…anch)

Replace the outdated path-config model and 'staging branch unused' note with the verified per-site GitHub Integration settings (Include/Delete toggles), the main->prod / staging->staging branch mapping, a hard warning never to enable the 'Delete files not in repository' toggles (repo only contains bd4d), the mu-plugins-not-deployed caveat, and the feature->staging->main workflow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Snapshot of the current auto-reply copy per case (pre-Endorser) as a reference doc.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Form: Supporter checkbox -> new Endorser checkbox, mapped to the new Airtable field 'Endorser?'. The Supporter field ('CotW-Opted In?') is no longer written but retained in Airtable for historical opt-ins.
- Auto-reply email: refreshed copy for all cases (endorser welcome + confirmations, updated Adoption copy) and new subject 'Welcome to a Better Deal for Data'.
- On-page success message: '...the BD4D Standard, and the movement...'.
- Require an email when any opt-in checkbox is ticked, surfaced via the browser's native validation popup on the email field (matching the required first/last name fields); checkboxes are no longer disabled.
- Bump version to 1.0.6.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Reflect the v1.0.6 auto-reply copy: Endorser replaces Supporter, refreshed Adoption (Case D) copy, and the new subject line.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@johannesparty
johannesparty merged commit 999a74f into main Jul 19, 2026
3 checks passed
@johannesparty
johannesparty deleted the fix/add-endorser branch July 19, 2026 23:37
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