Skip to content

Alive dev#264

Merged
timothygachengo merged 16 commits into
mainfrom
alive-dev
Jul 7, 2026
Merged

Alive dev#264
timothygachengo merged 16 commits into
mainfrom
alive-dev

Conversation

@sdimunzio

@sdimunzio sdimunzio commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Description

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
  • No hardcoded credentials, internal URLs, client names, or PII introduced
  • Any new dependency has an Apache-2.0-compatible license

…rops

Previously read flat lowercase props from URL querystring (e.g. submitlabel,
list). Now read data-* prefixed props consistent with all other embeddables
(e.g. data-submit-label, data-list). Fixed newsletter submit() closure to
read props["data-list"] and props["data-tag"] directly.
Copilot AI review requested due to automatic review settings June 29, 2026 13:58
@sdimunzio sdimunzio self-assigned this Jun 29, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 29, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: fc2701f

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

This PR refactors the showcase and newsletter embeddables to consume configuration via data-* props (intended for the postMessage-based embedding flow) instead of flat, lowercase props previously sourced from URL query parameters.

Changes:

  • Update showcase embeddable label/message props to read from data-* keys (e.g., data-success-message, data-submit-label).
  • Update newsletter embeddable to read list/tag and UI text from data-* keys; adjust submit payload accordingly.
  • Add a changeset describing the embeddable prop-source alignment.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/dvz-ui/src/embeddable/showcase/index.jsx Switches label/message props to data-* keys for embedding consistency.
packages/dvz-ui/src/embeddable/newsletter/index.jsx Reads config from data-* props and updates submit to use data-list/data-tag.
.changeset/postmessage-embeddables.md Documents the patch release and rationale for the embeddable prop changes.

Comment thread packages/dvz-ui/src/embeddable/newsletter/index.jsx
@pkg-pr-new

pkg-pr-new Bot commented Jun 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 2d00554

Comment thread package.json Outdated
@pkg-pr-new

pkg-pr-new Bot commented Jul 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 52d3636

@pkg-pr-new

pkg-pr-new Bot commented Jul 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: b511e8d

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

Copilot reviewed 17 out of 18 changed files in this pull request and generated 10 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

Comment thread packages/dvz-ui/src/embeddable/tabbedposts/index.jsx
Comment thread packages/dvz-ui/src/embeddable/tabbedposts/index.jsx Outdated
Comment thread packages/dvz-ui/src/embeddable/utils/parseUtils.js
Comment thread packages/dvz-ui/src/tracker/internalTrafficUtils.ts
Comment thread packages/dvz-ui/src/tracker/internalTrafficUtils.ts
Comment thread packages/dvz-ui/src/tracker/InternalTrafficWatermark.tsx
Comment thread packages/dvz-ui/src/tracker/InternalTrafficWatermark.tsx
Comment thread packages/dvz-ui/src/embeddable/sankeychart/index.jsx Outdated
Comment thread packages/dvz-ui/src/embeddable/data-paragraph/index.jsx Outdated
Comment thread packages/dvz-ui/src/embeddable/big-number-trend/BigNumberTrendContainer.jsx Outdated
sdimunzio and others added 4 commits July 7, 2026 12:40
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@pkg-pr-new

pkg-pr-new Bot commented Jul 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 82022f0

@pkg-pr-new

pkg-pr-new Bot commented Jul 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 7e54b05

@pkg-pr-new

pkg-pr-new Bot commented Jul 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: f355a9a

@timothygachengo
timothygachengo merged commit 7877ea5 into main Jul 7, 2026
2 checks passed
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