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)

Copy link
Member

Choose a reason for hiding this comment

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

I feel we should address the incomplete cookie configuration referenced in #146 (comment). Would you be willing to address that in this PR or a follow-up PR?

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