This post summarizes the latest weekly Editor meeting, held in the #core-editor Slack channel, on Wednesday, April 1, 2020, 14:00 UTC. These meetings coordinate collaboration in the development evolution of the Gutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ project. Today’s agenda found here:
Gutenberg 7.8.0 released last week
WordPress 5.4 Release 31 March 2020 – Field Guide
No incidents happened during the release and it already contains 2.6 million downloads
- The team reached a milestone closing 10,000 PRs
- The April plan is published and includes
- Full Site Editing: Continue improving the Edit Site screen and blocks
- Global Styles: This will be a big one this month (support in blocks and UI User interface)
- Updated Inserter UI to support patterns and blocks
- Updated Navigation/Menus screen
- Continue G2 iterations
- Release of 7.9 will be pushed one week to account for additional work on Global Styles project that can have some impact on themes. The extra week would be useful to polish the global styles support across different blocks and document the potential impacts properly.
- Release of 5.4.1 is not scheduled. Please mark PR’s/issues with `Backport A port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. to WP Core Core is the set of software required to run WordPress. The Core Development Team builds WordPress.` and keep an eye for potential high impact issues that we may want to include in it.
Besides the release, last Friday, we also did a WordPress 5.4 RC One of the final stages in the version release cycle, this version signals the potential to be a final release to the public. Also see alpha (beta). 5 that included some fixes to problems discovered with the editor. More details of the fixes can be found here and here.
The Good news is WordPress 5.4 is out with no incidents reported during the release and It already has 2.6 million downloads. The situation in the world was far from normal, but we managed to take the release to the finish line and solve the critical issues as soon as they were discovered/reported, so thank you a lot to all that made this possible
- Block Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. support for some of the Global styles variables (mainly colors)
- Patterns API An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. and UI
- Pushing forward Global Styles at edit-site
- Making font-size an implicit attribute of the block.
- For next week, carry on with those and revive this exploration for Global Styles that uses general variables while allowing for targeting specific blocks.
- Supporting release a bit with forums
- Feedback flow: global styles
- Navigation: focusing back on block and nav-menus.php
- Triage The act of evaluating and sorting bug reports, in order to decide priority, severity, and other factors. always be triaging
- Helping stabilize build failures to help unblock people from their work.
- Prompting new contributors to link their GitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ account for props PR 21221 is now merged
- A few other developer experience related improvements
- Starting last week I am focusing back on Navigation block and nav-menus.php
- Work from the past two weeks is blocked by lack of reviewers. There are several PRs open and waiting for reviews / comments with new features for the Latest Posts block.
- Continue to work on “Design Tool” issues
- Continue adding/improving style attributes to blocks to enable better customization
PRs Needing Review
Refactor ReusableBlockEditPanel to use hooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. (and add type info) 21181
Navigation block: show color controls in toolbar only. 20884
[Latest Posts] adds author option to latest posts block 20595
Refactor ReusableBlockEditPanel to use hooks (and add type info) 21181
Add tags in latest posts block 20785
Table of Contents block 21234
Insert post title instead of URL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org, when adding a link to an existing post 21240
This issue needs review for a possible PR:
Bug: Link sometimes embeds other times not. 21029
@julescole PR 21240 Insert post title instead of URL, when adding a link to an existing post
@tobifjellner WordPress TracAPP #49752 Layout issue in WP 5.4 Needs design feedback
@paaljoachim I am very hyped on @shaunandrews PR 21121 as I believe it would make going in and out of full screen a lot easier. But we can wait and see what kind of feedback shows up in regards to the full screen mode that is included in 5.4. (edited)
@paaljoachim I think the Embeds bug issue would fit nicely into 5.4.1. There are multiple aspects to it.
@zebulan For fun, I made a PR to refactor ReusableBlockEditPanel to use hooks. I have no idea if it runs faster (or how to even test that), but the code feels cleaner to me. Also, the PR adds JSDoc type information. Reviews/feedback are welcome as always. Also can use some eyes on a Table of Contents PR.
Having an issue with not being able to grab unpublished permalinks. You can read more about it in core-js but the gist of it is that I’m not sure where the change should occur.
When we actually click to preview it, it can’t use the future permalink because it isn’t live yet. That won’t route and will return a 404. So we have to use the ?p=123 type link for the href on scheduled posts. But we could generate what it would look like using the permalink template and placeholders