Core Editor Notes 10 Feb., 2020

This post summarizes the latest weekly Editor meeting (agendaslack transcript). This meeting was held in the #core-editor SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. channel on Wednesday, Feb. 10, 2021, 9:00 AM EDT and was facilitated by @itjusteileen.

WordPress 5.7 Upcoming Release 

WordPress 5.7 Beta 3  is due Februray 16 with general release date schedule for March 9.

GutenbergGutenberg 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/ Version 10.0

Gutenberg RCrelease candidate 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). 10.0.0 was released on Wednesday, February 10. It includes:

Features

  • Add basic pages blockBlock 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. PR 28265

Enhancements

  • Try darker social links state for dark themes PR 28838
  • Fix top toolbar arrow gap PR 28832
  • Categories block: Display message instead of empty content PR 28697
  • Components: Allow extra props for RadioControl component PR 28631
  • Add element-selector to group block PR 28576

Monthly Priorities

  • Global Styles — @nosolosw published the third iteration of Global Styles to Issue 20331
  • Query MVPMinimum Viable Product "A minimum viable product (MVP) is a product with just enough features to satisfy early customers, and to provide feedback for future product development." - WikiPedia@ntsekouras reports this is ready and the polishing of controls and some other things are ongoing. Currently there is are some block patterns integration explorations with Query block setup that will be nice if it proceeds PR 28891

Task Coordination

Note: Anyone reading this summary outside of the meeting, please drop a comment in the post summary, if you can/want to help with something.

@itsjonq

I’m currently preparing a make post for the WordPress Components V2 project listed on the core/features page and what we’re doing to build this experience within Gutenberg. For those who may not know, this “next” Component System (nicknamed “G2 Components”) is a from-scratch reimagining of wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ components designed to accommodate the ever-growing and ever-expressive needs of the Editor and the platform.

We’ve “broken ground” in moving the foundational UIUI User interface pieces into Gutenberg. The first bit took a while, but we’re starting to ramp up Issue 28399

At this very moment, code wise, we’re about ~10% integrated with Gutenberg. So still a long way to go. For a quick glance at integration status, you can check out the site that I keep updates, along with the related GithubGitHub 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/ issues

The immediate need for these components is to improve the Global Styles UI, starting wit the sidebarSidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme..

We haven’t had a lot of design hands on this for a while. I took a crack at prototyping some potential design solutions last month.

@chipsnyder

From the mobile side of things:

We wrapped up:

  • Restricting blocks to single instances where applicable (example: the “More” block is allowed only once in the content).
  • Added “Add to beginning” and “Add to end” block picker options
  • We kicked off work on Embed blocks.

We’re working on:

  • Reusable blocks
  • Removal of the manual Classic editor switch
  • Dual-licensing Gutenberg
  • Scoping out Global Style Settings for Colors Support (as previously mentioned)
  • Search block
  • Block transforms

@annezazu

@getdave

@paaljoachim

  • Triaging.
  • Going through all the Image block issues. Creating new issues to consolidate. + a new issue for enhancements/next steps.
  • Will be getting notes from @gagan0123 in regards to updates needed for setting up a local WP dev environment in coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress..
  • Looking at creating a Learn Workshop (going through the method today to see where it can be improved.)

@ntsekouras

  • Fix insertUsage persistence in block-editor store PR 28694
  • Calculate frecency for block variations properly PR 28663
  • Add keyboard navigation in Patterns at the main Inserter PR 28520

@nosolosw 

  • terating on the abstractions we have server-side to access theme.jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. data 2885528700 , 28788
  • Provide translators context to strings translated via theme.json
  • Help with reviews, bugfixes, etc 28731 , 28837
  • Help in adding support for typescript: 28615 , 28879

My plans for next week are cleaning up my queue and start implementing the tasks for the 3rd iteration of the global styles project.

@aristath

  • Working on improving the way styles get loaded on the frontend PR 28358 (could use feedback & reviews)
  • Triage & lots of PR reviews
  • Reviewing PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher code and working on small refactors on that front

Open Floor

@tellthemachines would like to flag the following as good fixes for 5.7

  • Image block: Duplicate copies of media files created in library 25805
  • Cover: 9.8 does not migrate content position correctly 28656
  • Reusable block can’t be converted to a regular block 26421
  • Can’t paste text into editor on IE 11 26988

@mkaz

Just a brief follow up since it was raised here and posted on Make, I’ve gathered up the feedback from the StaleBot proposal and written it up as an issue for next steps here: https://github.com/WordPress/gutenberg/issues/28900 

@joyously
Asked if the editor conditionally show blocks to choose, or are they all always available? There have been several forum questions lately about the More block, and how it “doesn’t work”. The documentation isn’t clear how it should work, but perhaps the More block shouldn’t be available when editing Pages? @annezazu responded the more block can only be used once in a page or post. @bph noted she’ll make updates to the page on More Block to include the caveats

@annezazu provided the reminder to submit questions for the FSE outreach program! https://make.wordpress.org/test/2021/02/02/fse-program-bring-your-questions/.