Gutenframe: Re-enable links to manage reusable blocks#12412
Conversation
|
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: June 4, 2019. |
|
Two potential issues:
|
|
As a general question, @Automattic/lannister when would we use modules/calypsoify/mods-gutenberg.js over the common folder in https://github.com/Automattic/wp-calypso/tree/master/apps/wpcom-block-editor ? Are there a specific cases we need to be aware of, or do we need more follow up janitorials? |
We just need to open more janitorial PRs. I didn't notice this logic when I moved the code from In general, I think we should avoid having logic in
|
mmtr
left a comment
There was a problem hiding this comment.
On a second look, I remembered we already moved this logic to the @automattic/wpcom-block-editor package, so I think we only need to keep the changes on class.jetpack-calypsoify.php and style-gutenberg.scss.
Changes in mods-gutenberg.js are likely not needed so the file can be reverted.
|
Aha I reproduced the |
|
Another glitchy behavior here is you can't open the link to manage blocks in a background tab. If I CMD+click it loads in the same tab, and if I right-click and "Open Link in New Tab" it goes to the wp-admin link. |
|
This error occurs on Calypso master visiting a Simple Site's reusable block page, so I think it's not related to this PR. Up for review again... |
jeherve
left a comment
There was a problem hiding this comment.
This works well in my tests. 👍
Noting that I experienced the same thing with a brand new site. After a few minutes the error disappeared. This happens in other places in Calypso when you try to access Calypso pages right after connecting your site to your WordPress.com. |
|
Nice, works for me as well. Merging. |
* Kick off the changelog * Add 7.3.1 * Update date and post link * changelog: add #12219 * changelog: add #12170 * changelog: add #12184 * Changelog: add #12268 * Changelog: add #12081 * Changelog: add #12323 * Changelog: add #12204 * Changelog: add #12269 * Changelog: add #12332 * changelog: add #12339 * changelog: add #12209 * Changelog: add #12319 * Changelog: add #12357 * Changelog: add #12124 * Changelog: add #12373 * Changelog: add #12252 * Changelog: add #12383 * Changelog: add #12372 * changelog: add #12337 * Changelog: add #12290 * Changelog: add #12301 * Changelog: add #12061 * Testing list: add instructions for #12061 * Changelog: add #12393 * Update minimum supported version See #12287 * Changelog: add #12406 * Testing list: add #12406 * Changelog: add #12277 * Changelog: add #12412 * Changelog: add #11318 * Changelog: add #12328 * Changelog: add #12425 * Changelog: add #12380 * Changelog: add #12428 * Changelog: add #12414 * Changelog: add #12395 * Changelog & Testing list: add #12416, #12417, #12418, and #12348 * changelog: add #12379 * Changelog: add #12341 * changelog: add #12444 * Changelog: add #12434 * Changelog: add #12454 * Changelog: add #12460 * Changelog: add #12463 * Changelog: add #12457 * Changelog / testing list: add #10333 * Changelog: add #12467 Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
In D26034-code we unhid the Manage Reusable Blocks links on WPCOM Simple Sites by removing some styles from Calypsoify that were hiding them. These changes now need to be synced to Jetpack.
Fixes Automattic/wp-calypso#32746
Changes proposed in this Pull Request:
Is this a new feature or does it add/remove features to an existing part of Jetpack?
Testing instructions:
/types/wp_block/:siteSlugwp-admin/edit.php?post_type=wp_blockProposed changelog entry for your changes: