Skip to content

Make SpacingSizesControl more intuitiveΒ #63963

Open
@richtabor

Description

The current experience of editing a specific sides of the SpacingSizesControl is difficult to parse.

Here's why:

  1. The "controlName options" icon (the DropdownMenu that lists the individual sides) has a very similar icon to the icons to the left of the RangeControls for each. It's not clear what this icon does, and because it's so similar it's easy to mistake the other icons for this (and vise versa).
  2. We're prioritizing applying one side at a time, over any side at once.
  3. If you switch to any of the individual sides, the UI will only show that current side. You can have a value applied to others, but the UI only shows the current side.
  4. If you switch to any of the individual sides and want to change another, you have to switch back to another state to change another. The alternative is to always change to the "Custom" option, which shows all sides.
  5. We have the notion of "Link sides" and "Unlink sides" settings, as seen in the border and border radius controls. Why should SpacingSizesControl perform differently? It's the only control with an additional DropdownMenu to switch views within the component.

The original effort to only show one side at a time was an effort to save vertical space in the Inspector, but with the current improvements to this UI, I think we can afford to use this spaceβ€”to make it much more intuitive to use.

Current

CleanShot.2024-07-25.at.21.33.32.mp4

Proposed

You select the "Unlink sides" icon and the sides are unlinked. No DropdownMenu to invoke singular sides. I've also updated icons to make them easier to scan and follow a vertical line.

CleanShot.2024-07-25.at.21.35.13.mp4

Here's a prototype

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

General InterfaceParts of the UI which don't fall neatly under other labels.Needs Design FeedbackNeeds general design feedback.[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

Projects

  • Status

    Needs development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions