Skip to content
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

Tracking: additional layout options, design tools and refinements #44720

Closed
13 of 18 tasks
andrewserong opened this issue Oct 5, 2022 · 7 comments
Closed
13 of 18 tasks
Labels
[Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Feature] Layout Layout block support, its UI controls, and style output. [Type] Tracking Issue Tactical breakdown of efforts across the codebase and/or tied to Overview issues.

Comments

@andrewserong
Copy link
Contributor

andrewserong commented Oct 5, 2022

This supersedes #39336 for tracking upcoming tasks around the layout block support.

As of WordPress 6.1, the layout block support has been refactored to generate styles based on a central set of layout definitions, a new constrained layout type has been added, along with root padding aware alignments. This issue tracks additional tasks and progress slated for WordPress 6.2 and beyond.

Additional layout options and design tools

Improve and extend existing layout support

Nice-to-haves

Bugs, tasks, and issues not covered here

This issue is not an exhaustive list of all layout related issues, tasks, or bugs. For bug reports and smaller tasks, we can use the [Feature] Layout issue label for tracking and visibility.

@andrewserong andrewserong added [Type] Tracking Issue Tactical breakdown of efforts across the codebase and/or tied to Overview issues. [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Feature] Layout Layout block support, its UI controls, and style output. labels Oct 5, 2022
@andrewserong
Copy link
Contributor Author

andrewserong commented Oct 26, 2022

Update 2022/10/26:

@andrewserong
Copy link
Contributor Author

andrewserong commented Nov 16, 2022

Update for 2022/11/16:

@andrewserong
Copy link
Contributor Author

Update for 2022/12/07:

@andrewserong
Copy link
Contributor Author

Update for 2023/02/03:

Since the last update, the following changes have been merged and appear to be slated for inclusion in 6.2:

Adjacent to the layout support, the sticky position block support has landed, with support for Group blocks at the root of the document. The current tracking issue for position support is over at: #47043

Work continues on exploring a fix for conflicts between margins set at the block level in global styles, and layout styles output (#43404) over in #47399 — the fix is tricky to land on due to the subtleties of the styles at play, but the hope is to see if a fix can land in time for 6.2.

Kudos @tellthemachines for all the recent progress on Layout PRs!

@talldan
Copy link
Contributor

talldan commented Apr 11, 2023

Should layout be added to the Media & Text block? It's an interesting one.

Using block gap is something that was raised in this issue - #49406.

@andrewserong
Copy link
Contributor Author

Should layout be added to the Media & Text block? It's an interesting one.

Thanks for raising that issue! I've left a comment — I tend to agree that it'd be more about arranging the inner blocks. If it were to be opted in, I wonder if it might use a similar approach as @tellthemachines used to convert the Cover block in #45326 🤔

@andrewserong
Copy link
Contributor Author

andrewserong commented Jan 2, 2024

Now that the layout block support has been stabilised within WP core for a couple of releases (6.3 and 6.4, and from this PR: #51434 onwards), I'll close out this tracking issue now, as its goal was largely to get the block support to that state.

There are still many enhancements and fixes to be made for the layout block support (such as simplifying layout in #42385), but they can be explored in follow up issues via the [Feature] Layout label or subsequent tracking issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Feature] Layout Layout block support, its UI controls, and style output. [Type] Tracking Issue Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Projects
None yet
Development

No branches or pull requests

2 participants