Skip to content

Task/fix newsletter api request body - #270

Merged
timothygachengo merged 3 commits into
mainfrom
task/fix-newsletter-api-request-body
Jul 23, 2026
Merged

Task/fix newsletter api request body#270
timothygachengo merged 3 commits into
mainfrom
task/fix-newsletter-api-request-body

Conversation

@timothygachengo

Copy link
Copy Markdown
Contributor

Description

fix newsletter api request body

Type of change

  • Bug fix (fix:)
  • New feature (feat:)
  • Breaking change (BREAKING CHANGE:)
  • Refactor / chore (refactor: / chore:)
  • Documentation update (docs:)

Affected package(s)

  • @devgateway/dvz-ui-react
  • @devgateway/wp-react-lib
  • example only (no changeset needed)

Checklist

  • PR title follows Conventional Commits format
  • A changeset has been added (pnpm changeset) for any change to a published package
  • pnpm build passes locally
  • pnpm --filter @devgateway/* typecheck passes
  • No hardcoded credentials, internal URLs, client names, or PII introduced
  • Any new dependency has an Apache-2.0-compatible license

Copilot AI review requested due to automatic review settings July 22, 2026 18:00
@pkg-pr-new

pkg-pr-new Bot commented Jul 22, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@devgateway/dvz-ui-react@3ab61ae
pnpm add https://pkg.pr.new/@devgateway/wp-react-lib@3ab61ae

commit: 3ab61ae

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the embeddable newsletter subscription component so the subscription request body reliably includes list and tag (supporting both data-attribute embedding and direct React prop usage), and updates the related documentation/changeset.

Changes:

  • Update newsletter component to include list/tag in the submit payload and adjust email handling.
  • Tweak newsletter README (props table).
  • Add a changeset for @devgateway/dvz-ui-react (patch).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
packages/dvz-ui/src/embeddable/newsletter/README.md Removes the Redux-managed email prop row from the generated docs.
packages/dvz-ui/src/embeddable/newsletter/index.jsx Updates newsletter submit/input logic and (intended) request body parameters.
.changeset/tall-groups-behave.md Declares a patch release noting the list/tag request body fix.

Comment thread packages/dvz-ui/src/embeddable/newsletter/index.jsx
Comment thread packages/dvz-ui/src/embeddable/newsletter/index.jsx
Comment thread packages/dvz-ui/src/embeddable/newsletter/index.jsx
Comment thread packages/dvz-ui/src/embeddable/newsletter/index.jsx
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@pkg-pr-new

pkg-pr-new Bot commented Jul 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@devgateway/dvz-ui-react@9de6d7e
pnpm add https://pkg.pr.new/@devgateway/wp-react-lib@9de6d7e

commit: 9de6d7e

@timothygachengo
timothygachengo merged commit 736b879 into main Jul 23, 2026
2 checks passed
@timothygachengo
timothygachengo deleted the task/fix-newsletter-api-request-body branch July 23, 2026 05:23
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.

3 participants