Skip to content

Open mail client on newsletter signup and remove public contact email#12

Merged
feispla merged 1 commit into
codex/provide-professional-e-commerce-promptfrom
codex/fix-email-link-formatting-issue
May 15, 2026
Merged

Open mail client on newsletter signup and remove public contact email#12
feispla merged 1 commit into
codex/provide-professional-e-commerce-promptfrom
codex/fix-email-link-formatting-issue

Conversation

@feispla
Copy link
Copy Markdown
Owner

@feispla feispla commented May 14, 2026

Motivation

  • Prevent empty newsletter submissions and route newsletter signups through the user's mail client while keeping a server-side integration call, and remove the publicly visible contact email from the footer.

Description

  • Trim and validate the newsletter email input and return early when empty in assets/store.js.
  • Call window.FormaIntegrations.saveNewsletter and window.FormaIntegrations.trackEvent('newsletter_signup', { email }) before opening the user's mail client with a mailto: URL containing subject and body.
  • Update the newsletter status message and reset the form after triggering the mail client.
  • Remove the explicit contact email line from the footer in index.html.

Testing

  • No automated tests were added or run for this change.

Codex Task

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
feishtml Ready Ready Preview, Comment May 14, 2026 10:43pm

@supabase
Copy link
Copy Markdown

supabase Bot commented May 14, 2026

This pull request has been ignored for the connected project nejzzerwtgtbqawaizuo because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@feispla feispla marked this pull request as ready for review May 15, 2026 00:12
@feispla feispla merged commit 8cef3ca into codex/provide-professional-e-commerce-prompt May 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant