Skip to content

chore: fix tabbed posts - #289

Merged
ralvarez-dg merged 1 commit into
mainfrom
fix/fix-tabbed-posts-configuration
Aug 27, 2026
Merged

chore: fix tabbed posts#289
ralvarez-dg merged 1 commit into
mainfrom
fix/fix-tabbed-posts-configuration

Conversation

@timothygachengo

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
  • 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

@pkg-pr-new

pkg-pr-new Bot commented Aug 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 38faf9d

@ralvarez-dg
ralvarez-dg merged commit 41e18a3 into main Aug 27, 2026
3 checks passed

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 a WordPress “tabbed posts” embeddable edge case during editor rendering by short-circuiting rendering when required configuration (data-type) is missing.

Changes:

  • Add an early return in the TabbedPosts Wrapper to avoid rendering the main content tree in editing mode when type is not available.
  • Add a changeset for @devgateway/dvz-ui-react describing the bug fix.

Reviewed changes

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

File Description
packages/dvz-ui/src/embeddable/tabbedposts/index.jsx Adds an editing-mode guard when data-type isn’t loaded.
.changeset/bumpy-dingos-spend.md Publishes the patch changeset note for the fix.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/dvz-ui/src/embeddable/tabbedposts/index.jsx
@timothygachengo
timothygachengo deleted the fix/fix-tabbed-posts-configuration branch August 27, 2026 12:28
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