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

Design Tools Overview #33447

Open
36 of 65 tasks
Tracked by #33094
mtias opened this issue Jul 15, 2021 · 9 comments
Open
36 of 65 tasks
Tracked by #33094

Design Tools Overview #33447

mtias opened this issue Jul 15, 2021 · 9 comments
Assignees
Labels
[Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Type] Overview Comprehensive, high level view of an area of focus often with multiple tracking issues

Comments

@mtias
Copy link
Member

mtias commented Jul 15, 2021

Splitting work on design tools into its own tracking issue and out of #20331, which we are reserving for infrastructure and global styles specifically.

Goal

Design tools encompass all tools related to the appearance of blocks and ranges from colors, typography, alignments, and positioning, to filters like duotone, cropping, and background media. This issue is primarily focused on the creation of shared tools and its consistent application across blocks. Sometimes blocks do require specific functionality which won't generally be part of this overview.

Another important goal of design tools is ensuring a wide range of exquisitely crafted patterns are possible; that best practices are not only possible but encouraged; and that customizing blocks is a consistent and natural experience.

Challenges

The current main challenges revolve around having a robust base component system that allows creating good and accessible design tools; excellent integration with theme.json mechanics; and the ability to naturally handle different viewports.

Tasks

Components

Different Viewports

This has been amply debated in the history of Gutenberg. The current motivation is to lean on intrinsic web design principles as much as possible to eliminate the need for explicit media query handling which can be not only intimidating for users but fragile in the context of patterns unless they use container queries. This is an opportunity to embrace an emerging way of designing for the web that could be more resilient and expressive from a design perspective.

To be brief, these principles revolve around CSS features like flex and grid to ensure elements know how they need to flow
and stack within containers without further instructions, leveraging properties like mixmax and calc for setting layout boundaries, etc. Ideally controls like font size, even if exposed as single values to users in the UI, are built as functions behind the scenes to accommodate different viewport ranges. (Access to the underlying mechanisms is still important for theme and pattern authors. Some of this is already supported through theme.json: min( max( Xpx, Yvw), Zpx).)

Blocks

Layout

Tools

These are general tools relating to background, color, typography, dimensions, gradients, etc.


Done

@mtias mtias added [Type] Overview Comprehensive, high level view of an area of focus often with multiple tracking issues [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi labels Jul 15, 2021
@mtias mtias mentioned this issue Jul 15, 2021
57 tasks
@priethor priethor pinned this issue Jul 15, 2021
@promocot
Copy link

promocot commented Aug 9, 2021

Add VW, VH units for a better responsive design for mobile and tablet will be better to use VW, VH, and %, give this opportunity for those who know what to do with it

@WordPress WordPress deleted a comment Aug 11, 2021
@apeatling apeatling moved this to Overview Issue in Design Tools Project Nov 2, 2021
@apeatling apeatling moved this from Overview Issue to Project Overview in Design Tools Project Nov 2, 2021
@apeatling apeatling moved this from Project Overview to Not Started in Design Tools Project Nov 2, 2021
@apeatling apeatling moved this from Not Started to Project Overview in Design Tools Project Nov 2, 2021
@mtias
Copy link
Member Author

mtias commented Jan 26, 2022

Update: included #33687 in the list.

@apeatling
Copy link
Contributor

apeatling commented Feb 4, 2022

The above issues are also tracked and kept in sync via this project where you can see who is working on them, status, and some tracking notes: https://github.com/orgs/WordPress/projects/10

@jasmussen
Copy link
Contributor

I'd like to submit #38990 for the issue. The use case is simple: a beautiful circular image is common in patterns, drag a rectangular image in there and it becomes a sad pillshape. The ticket suggests that if the dimensions are preset and object-fit is set, the replacement image would keep the same dimensions and radius.

@jasmussen
Copy link
Contributor

#39452 details a few improvements to duotone and filters:

  • Multiple filters
  • Clearing selected filters to theme defaults
  • A new Filter icon suggestion

@adamziel adamziel moved this to Tracking issues in WordPress 6.0 Editor Tasks Mar 17, 2022
@gziolo gziolo moved this from Tracking issues to Triage in WordPress 6.0 Editor Tasks Mar 29, 2022
@adamziel
Copy link
Contributor

adamziel commented Apr 1, 2022

@jasmussen @apeatling Is there any feature here that you think could still land until Wednesday next week to be included in WordPress 6.0 release? To increase visibility, we can add it to the WordPress Editor 6.0 project board.

@jasmussen
Copy link
Contributor

@adamziel given @aaronrobertshaw's good work on borders, it seems like #35602 and potentially #21540 could still land.

@apeatling apeatling changed the title Design Tools Overview x Apr 25, 2022
@apeatling apeatling changed the title x Design Tools Overview Apr 25, 2022
@mtias mtias unpinned this issue May 23, 2022
@Jabe64
Copy link

Jabe64 commented Oct 27, 2022

Hi, what about adding Box Shadow options to this list? As mentioned on #44651 ?

@jameskoster
Copy link
Contributor

jameskoster commented Aug 2, 2023

Some additional considerations

Needs design / dev:

Needs issue:

  • Add a shortcut to make containers full-height. vh is not intuitive.
  • Enhance the Image → Cover transform flow UX. Surface options (duotone, overlay, etc). Could be connected with patterns.
  • Explore more preset designs for Separator block.
  • Cropping: add handles to the image boundaries for resizing.
  • Aspect ratio control: surface focal point picker when relevant. (Add to Tracking: Aspect Ratio #48079).
  • Comment Next Page and Comment Previous Page: allow an icon-only appearance.
  • Bug: When the Cover block Matrix control is set to anything other than center the width of child blocks is unexpectedly changed.
  • Text-shadow.
  • Blur tools, e.g. for Cover backgrounds.

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 [Type] Overview Comprehensive, high level view of an area of focus often with multiple tracking issues
Projects
Status: 📖 Project Overview
Archived in project
Development

No branches or pull requests

7 participants