Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/tabbed-posts-preview-category-fix.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/dvz-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @devgateway/dvz-ui-react

## 1.9.14

### Patch Changes

- [#296](https://github.com/devgateway/data-viz-ui/pull/296) [`e3149c6`](https://github.com/devgateway/data-viz-ui/commit/e3149c6812a4bd426e8010997e543f412145d0f2) Thanks [@claude](https://github.com/apps/claude)! - Fix TCDICORE-601: the Gutenberg block editor's live preview for Tabbed Posts (and other blocks with array attributes such as `categories`) sent array attribute values to the preview iframe as JSON-stringified arrays (e.g. `"[5,7]"`), while the published front end joins them as comma-separated strings (`"5,7"`). The mismatch produced malformed REST query parameters (`&category=[5,7]`) that WordPress could not parse, so the live preview showed incorrectly-filtered posts even though the published page rendered correctly. Array attributes are now comma-joined in `PreviewComponent.tsx` to match the front-end save format; non-array object attributes are unaffected.

## 1.9.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dvz-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devgateway/dvz-ui-react",
"version": "1.9.13",
"version": "1.9.14",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
Expand Down