Skip to content

feat: add newsletter signup port - #98

Draft
glitchedmob wants to merge 1 commit into
methodconf-svelte/schedulefrom
methodconf-svelte/newsletter
Draft

glitchedmob wants to merge 1 commit into
methodconf-svelte/schedulefrom
methodconf-svelte/newsletter

Conversation

@glitchedmob

@glitchedmob glitchedmob commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Ports the newsletter signup JSON endpoint and Svelte components for the next migration layer.

  • Adds /api/newsletter POST and GET handling with server-only provider config and the same { success } JSON response shape.
  • Sends only trimmed name, email, and configured list_uuids to listmonk, while preserving honeypot success without upstream calls.
  • Keeps the original form DOM contract, native email validation, SweetAlert copy, and no field clearing after success.
  • Adds deliberate hardening for malformed payloads, invalid inputs, upstream non-2xx or bad JSON responses, and timed-out upstream requests.
  • Ports the intro/email signup block with the hard-coded conference copy and app badge links.

@glitchedmob
glitchedmob added this pull request to stack #93 October 4, 2026 10:57
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