Skip to content

Conversation

@jkmassel
Copy link
Contributor

What?

Simplifies the configuration for passing settings fetched from the API.

Why?

We currently parse the settings then convert them back to raw JSON. This is wasteful for performance reasons, but it also makes the types confusing.

How?

Allows raw JSON to be passed to GutenbergKit for settings.

Testing Instructions

The test suite has been updated to reflect these changes.

Accessibility Testing Instructions

n/a

Screenshots or screencast

n/a

The host app doesn’t need to parse it, so we can pass the raw settings
@dcalhoun
Copy link
Member

I plan to review and test this once we have a sibling WP-iOS PR integrating the latest configuration builder. That will allow testing real-world editor settings in WP-iOS.

Copy link
Member

@dcalhoun dcalhoun left a comment

Choose a reason for hiding this comment

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

This likely close to being ready to merge, but I encountered issues while testing the sibling WP-iOS PR: wordpress-mobile/WordPress-iOS#24662 (review)

@jkmassel
Copy link
Contributor Author

I've removed all of the cookies stuff in bb9d3f9 – I think that deserves its own PR to align the usage.

@dcalhoun dcalhoun enabled auto-merge (squash) September 18, 2025 23:56
@dcalhoun dcalhoun merged commit aafcbc5 into trunk Sep 19, 2025
11 checks passed
@dcalhoun dcalhoun deleted the align/settings branch September 19, 2025 00:02
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.

2 participants