Skip to content

Short page without the form until mails can be sent - #13

Merged
bubulux merged 1 commit into
mainfrom
chore/12-no-form
Nov 3, 2026
Merged

bubulux merged 1 commit into
mainfrom
chore/12-no-form

Conversation

@bubulux

@bubulux bubulux commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Closes #12.

Sending to arbitrary addresses needs the Workers Paid plan or another provider (Resend is the plan), so the double opt-in's confirmation mail never leaves and no address may be collected. Until that is set up:

  • The form, its section and the Turnstile script are gone from the short page; "Where it stands" ends with "Come back later."
  • POST /api/notify is removed from the Worker, with its tests and its row in docs/api.md. parseNotify stays in vocab for the return.
  • The privacy page says the site has no form and stores nothing; the Turnstile and list sections are gone.
  • docs/forms.md explains the state.

Checked locally: the page and the privacy page in both languages render without console errors, /api/notify answers 404.

🤖 Generated with Claude Code

The notify route, its tests, the Turnstile script on the page and the form's CSS go; the texts and
the privacy page say nothing is collected. parseNotify stays in vocab for the return.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@bubulux
bubulux merged commit 0e77e60 into main Nov 3, 2026
5 checks passed
@bubulux
bubulux deleted the chore/12-no-form branch November 3, 2026 16:43
bubulux added a commit that referenced this pull request Nov 4, 2026
* Revert "The short page without the form until mails can be sent (#12) (#13)"

This reverts commit 0e77e60.

* The confirmation mail goes through Resend (#14)

Reverts the form's removal (#13) and replaces the send_email binding with Resend's REST API behind
the RESEND_API_KEY secret, set by the Deploy workflow. Locally without a key the Worker logs the
mail with its link. The mail names the alpha notification, as the page does.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* A used confirmation link says so: the token stays, the page shows "already on the list"

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
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.

Take the sign-up form off the short page until mails can be sent

1 participant