Skip to content

feat(frontend): connect LandingPage email form to newsletter API#1030

Open
Eromosele0110 wants to merge 1 commit into
solutions-plug:mainfrom
Eromosele0110:fix/issue-941-landingpage-api-subscribe
Open

feat(frontend): connect LandingPage email form to newsletter API#1030
Eromosele0110 wants to merge 1 commit into
solutions-plug:mainfrom
Eromosele0110:fix/issue-941-landingpage-api-subscribe

Conversation

@Eromosele0110

Copy link
Copy Markdown

Replace local-only submission handler with actual POST to /api/v1/newsletter/subscribe via the API client. Success and error responses are surfaced to the user. Update existing accessibility tests to mock the API and use waitFor for async assertions.

Adds test verifying:

  • API endpoint is called on valid submission
  • API errors are displayed to the user

Description

Type of Change

  • Bug fix
  • New feature
  • Refactor / code cleanup
  • Documentation update
  • CI / tooling change
  • Breaking change

Testing Done

Checklist

  • Tests pass locally
  • Documentation updated (if applicable)
  • No breaking changes, or breaking changes are documented above

Related Issues

Closes #941

Replace local-only submission handler with actual POST to
/api/v1/newsletter/subscribe via the API client. Success and error
responses are surfaced to the user. Update existing accessibility
tests to mock the API and use waitFor for async assertions.

Adds test verifying:
- API endpoint is called on valid submission
- API errors are displayed to the user
@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Eromosele0110 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

LandingPage email form does not POST to API — submission is local state only

2 participants