Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser: Patch Gutenberg on site import #938

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Conversation

adamziel
Copy link
Collaborator

What is this PR doing?

Related to #646

Applies the missing Playground patch for Gutenberg when importing a Playground site with an unpatched Gutenberg bundled.

Without this PR, importing such a site zip file results in this broken state:

Screenshot 2024-01-03 at 10 07 35 AM

Here’s a replication link: annezazu/playground#2

Testing instructions

Go to http://localhost:5400/website-server/?import-site=https%3A%2F%2Fraw.githubusercontent.com%2Fannezazu%2Fplayground%2Fplayground-changes-2023-12-20T17-29-06-815Z%2Fplayground%2Fplayground.zip&url=/wp-admin/post-new.php and confirm the inserter button is styled correctly.

It would be great to ship an E2E test as a follow-up PR. This one is important enough that I won't block it on lack of a test.

cc @annezazu

@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Aspect] Browser [Aspect] WordPress labels Jan 12, 2024
@adamziel adamziel merged commit 8e5678b into trunk Jan 12, 2024
5 checks passed
@adamziel adamziel deleted the fix-unpatched-site-import branch January 12, 2024 12:24
adamziel added a commit that referenced this pull request Jan 12, 2024
Adds e2e tests for
#938

## Testing Instructions

Confirm the tests pass :D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Aspect] Browser [Aspect] WordPress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant