-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update toolkit plugin to v2.7 #46018
Conversation
This diff should not be used any longer. see the diff at the end of the page instead. |
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
@noahtallen what is the normal process if we get another change backed up behind an editing toolkit update? eg. we have another Newspack block update to bring in - is it easier to just merge this first and then create another PR to bring that in? PR for this version update at #46023 |
Nope, I think we can go ahead and bring that update into this PR, given it's mainly about updating newspack anyways! I haven't had time to test this yet, so anyone can feel free to incorporate, test and ship this along with that update :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, looks good to me. Thanks @noahtallen
de72fc2
to
b2197d2
Compare
0de3bd1
to
f77df87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The teamcity unit tests in D50376-code are consistently indicating an issue in the wpcom blog posts rest API controller, so we cannot move forward with this until that's fixed.
@arcangelini looks like the broken tests may be related to Automattic/newspack-blocks@dd69bc2, commenting out some of this got rid of at least 3 of the failing tests |
Oof, ok I am pinging @laurelfulford because it looks like she worked on that PR. Hopefully this isn't caused by the one line of code I added |
Thanks for the ping on this! I'm far from an expert on Teamcity tests, but I did some digging: Two of the errors look like they have to do with the rest fields that have been added since the last update to the Newspack Blocks -- the tests don't expect them to be there. The date errors I'm less sure about -- did they stop happening when the Newspack Blocks update was removed, too? |
For the time being, I will have to revert the newspack update. We need to create a new PR which updates newspack, and make sure that we merge updates to the WordPress.com unit tests at the same time as we deploy the WordPress.com code which includes the newspack update. I'm reverting because I'm unsure how long it will take to sort out the tests, and there a lot of unreleased fixes to the editing toolkit plugin. |
Hi @noahtallen I'm looking into updating those tests but it will be a little while, so reverting is a good strategy for now. |
f77df87
to
dbb0a88
Compare
the code is out of date, and we are no longer including newspack changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything is testing well for me on both simple and atomic sites, so I think this is ready to go 👍
NOTE: avoid deploying again until performance issues are addressed. |
98617b9
to
431cde0
Compare
Caution: This PR affects files in the Editing Toolkit Plugin on WordPress.com D50900-code has been created so you can easily test it on your sandbox. See this FieldGuide page about developing the Editing Toolkit Plugin for more info: PCYsg-ly5-p2 |
superseded by #46444 |
Changes proposed in this Pull Request
Update toolkit plugin to v2.7.
Includes these changes (see https://github.com/Automattic/wp-calypso/commits/master/apps/editing-toolkit)
Begin loading patterns from an API. (Editing Toolkit: Load patterns from the rest API endpoint #45926)(reverted)cc @roo2 @arcangelini @krymson24
Testing instructions