-
Notifications
You must be signed in to change notification settings - Fork 4.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
WP 5.7 Dev Notes #28539
Comments
Dev note for: Change replaceInnerBlocks updateSelection property to false #26312 Inner Blocks API ChangesWe noticed that the majority of block authors prefer to keep the focus on the parent block upon insertion in the editor rather than move it to one of the child blocks. Prior to the changes introduced the default behavior was the latter, so we decided to change it to follow the more popular choice that is going to simplify API usage. To accomplish that we had to change the definition of the following parts of API:
|
Dev note for #27995, Make empty paragraphs take up the same space on the frontend, as in the editor Empty paragraph changes In 27995 the default behavior of a published empty paragraph ( |
Comment by @nosolosw This has been surpassed by this other note below. Dev note for Verse Block: Add support for Font Size #27735 and Code block: Add support for font sizes #27294 Code and Verse Blocks |
Dev note for: Display Block Information by matching block variations #27469 With the new hook
|
Dev note for: Add srcset for cover image #25171 Cover BlockThe cover block now uses an |
Edited by @nosolosw : this shouldn't be part of the dev notes, see this comment. Dev note for: Block Support: Add border radius support #25791 Border Radius SupportThe ability to manage a border radius style property for blocks has been added. This support is disabled by default however it can be opted into and themes can specify default border radii using Opting InAn individual block can opt in by setting the
Default Border Radius StylesThemes can apply a default border radius for desired block contexts via
Sidebar ControlsThe inspector control to manage border radius values is disabled by default while the sidebar is being refined. It can still be turned on by updating the appropriate context within
|
I don't think this is ready for prime time if it is behind the experimental flags. @nosolosw should have a better overview of where the Global Styles project is, but I don't think this is going to be possible to use this Border Radius Support in WP 5.7. |
This comment has been minimized.
This comment has been minimized.
@gziolo is correct here: the border radius is still experimental (as other properties we added in this cycle such as font height, etc). I'm going to remove it from the issue description. It was me who tagged that PR with "needs dev note", though. @aaronrobertshaw I'm sorry that I made you write this note down! The good news is that we can reuse that text for when it's marked as stable. |
I've reviewed the existing dev notes and it looks like the ones for the code and verse block shouldn't be listed either: these are not dev-facing features (don't add, update, remove any API) but user-facing ones. Again, it was me who tagged those PRs ― it seems I've been misusing the "need dev note". Sorry about that. Hopefully, I've learned how to use it in the future! Going to delete them from the issue description. |
Apologies, but I don't think the existing documentation is actually sufficient for "Make i18n functions filter their return values #27966" - there is another API change that should go in the dev note. I'll collate everything today and post here when ready! |
Dev note for #27966 is here, which includes a note about the changes to instantiation of i18n instances: |
Thanks for getting in early everyone! Friendly* reminder that the due date for dev notes is 23 Feb. Ping me if you need help or can't do it. * read: passive aggressive |
The PR I was asked to write a note on was later reverted: #26828 – you may safely cross it off the list :-) |
I've had a second pair of eyes over the dev note for #27966 and it's updated based on feedback here: I don't have the ability to post on make core though so someone else would have to actually post it... |
No worries I can handle that. |
Dev note for: Add widget id to blocks in the widgets screen #28379
|
Dev note for Data: Use store definition to reference registered stored when using Changes in
|
Dev note for: Block supports for style properties added since 5.6. This is so themes have a heads-up on styles that users can now tweak. Following the initial work done for WordPress 5.6 to automatically support style properties for blocks and expose UI controls for users, in WordPress 5.7 this mechanism has been expanded to new blocks. Themes may want to review if their styles need to adjust their specificity to accommodate the user choices. User have now the ability to update the font size of the following blocks via the inspector panel: |
URLInput component In previous versions the URLInput component available on the |
@youknowriad I spotted a little typo:
|
Dev note for: Buttons block: overhaul alignment/justification controls #23168 Changes to the Buttons block's alignment optionsThe buttons block now provides justification options for its inner button blocks (Justify items left, Justify items center, Justify items right, Space between items). To implement this feature, the block's The left and right alignment options for the buttons block have now been deprecated. Users can achieve the same results using a combination of a full alignment and left or right justification. Any buttons blocks that were already added to posts with left and right alignment will be migrated (via the block deprecation system) to use justification in this way when a post is loaded—users should see no change in the visual appearance of buttons. |
Thanks everyone! |
I'd tweak the dev note to be a bit clearer: The Buttons block now provides justification options for its inner button blocks (Justify items left, Justify items center, Justify items right, Space between items). To implement this feature, the block's The left, right, and center block alignment options for the buttons block have now been deprecated. The center option was deemed redundant with the introduction of the "Justify items center" option, and the left and right options (which applied Users can achieve the same results as the center block alignment option by using the "Justify items center" option, and they can recreate the wrapping/float behavior of the left and right block alignment options by wrapping the Buttons block in a Group block and using its block alignment controls. Since the wrapping behavior was unexpected and out of place for most use cases of the block, any Buttons blocks that were already added to posts using left, right, or center alignment will be migrated (via the block deprecation system) to use the corresponding justification options when a post is loaded in the editor—Buttons on the front-end will continue to appear as they did until their containing post is edited and updated. |
https://github.com/WordPress/gutenberg/pulls?q=is%3Apr+is%3Amerged+label%3A%22Needs+Dev+Note%22
Here are all the PRs that need a Dev Note to be written. Please share them here as comments, see what is related, and create Make/Core posts accordingly. Please let me know if you're unable to write a note for your PR. The notes should be posted before WP 5.7 RC (Feb 23), but the sooner, the better.
@jasmussen
@ajlende
@ntsekouras
@youknowriad
@gziolo
@wordpress/data-no-store-string-literals
Add eslint rule for preventing string literals in select/dispatch/useDispatch #28726@ZebulanStanphill
@leewillis77
@nosolosw
The text was updated successfully, but these errors were encountered: