Skip to content

Image: Improve the inspector, adopt the unified dimensions panel #38068

Closed

Description

@jasmussen

Part of #28356 and related to #27331.

The inspector controls for the Image block have built up over the years, and could use a little love and unification:
Before

  • The dimension controls could adopt the unified dimensions panel to add consistency across blocks
  • Alt text could be simplified, and arguably deserves its own panel
  • Dimension controls use an older version of the segmented control, and could benefit from the ToolsPanel reset behavior
  • Image size could benefit from being a non-default ToolsPanel control, due to its complexity (Image size settings can be confusing #38050) and for consistency (Post Featured Image: Add size selector #38044)

Here's a mockup taking a stab at some improvements:

Image Block Inspector

  • The unified Dimensions panel brings consistency and the ability to hide the Size control by default.
  • Note the dimensions shown inside the size selector and the added help text (suggested here).
  • For some settings or base properties of the block, such as Styles, they could be integrated directly into the block card at the top.

Activity

  1. added
    [Feature] Inspector ControlsThe interface showing block settings and the controls available for each block
    [Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi
    on Jan 19, 2022
  2. Mamaduka commented on Jan 19, 2022

    @Mamaduka
    Member

    Alt text could be simplified, and arguably deserves its own panel

    I love the idea.

    For some settings or base properties of the block, such as Styles, they could be integrated directly into the block card at the top.

    With the new Styles design, I think this would be a nice change. We already display variation transforms in the block card.

  3. mtias commented on Aug 2, 2023

    @mtias
    Member

    @jasmussen is this still relevant?

  4. jasmussen commented on Aug 3, 2023

    @jasmussen
    ContributorAuthor

    Parts of it are relevant, yes, but these are things that will also likely be naturally intuited when we get to updating the image block inspector. So I don't know that it needs an open issue. Closing for now, it'll be findable still!

  5. jasmussen commented on Aug 25, 2023

    @jasmussen
    ContributorAuthor

    I'm actually going to reopen this one, it keeps coming up in discussions around the ToolsPanel.

  6. richtabor commented on Sep 14, 2023

    @richtabor
    Member

    For reference, here's what we have today:

    CleanShot 2023-09-14 at 09 31 43 CleanShot 2023-09-14 at 09 32 40
  7. richtabor commented on Sep 14, 2023

    @richtabor
    Member

    What gets confusing is when the block is within a row or stack. Then there are two entries for width (also the same for site logo):

    CleanShot 2023-09-14 at 09 33 34
  8. jasmussen commented on Sep 15, 2023

    @jasmussen
    ContributorAuthor

    The width issue feels related to the Row block, but excellent point, it seems like we could definitely unify a) the tab in which width lives, and b) make sure there's only ever one width control.

    Perhaps the final question here is whether we can/should extract the Alternative text as a separate panel, or not. If we want to still do that, we can commandeer this issue to be about that.

  9. jasmussen commented on Mar 19, 2024

    @jasmussen
    ContributorAuthor

    I'll close this for now. Let's see what organically emerges.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Design FeedbackNeeds general design feedback.[Block] ImageAffects the Image Block[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] Inspector ControlsThe interface showing block settings and the controls available for each block[Feature] UI ComponentsImpacts or related to the UI component system[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions