Skip to content

Media Editor Modal: iterate on design for details tab #81121

Open

Description

@annezazu

In a call with Matt about 7.1, we explored the new media cropper and the Details view stood out as being too squished/ugly considering the rest of the design:

Image

Edit: extending this issue (by @ramonjd):

Media Editor Modal: design refactor for panel layout

Widening the scope: the squeeze is a symptom of the panel architecture, the same architecture that causes #81487 (Details absent on mobile).

Problem

  • Crop and Details are mutually exclusive tabs in one narrow sidebar, so Details gets ~250px for four editable fields plus six read-only facts.
  • Four stacked label-above-box fields in that width is what reads as squished. Consider giving alt text more visual weight.
  • Read-only file info competes for space with editable fields.
  • On mobile the sidebar is dropped entirely, so Details is unreachable (Media Editor Modal: Details section is missing entirely on mobile viewports #81487).
  • Crop's own panel is growing (manual W/H/X/Y input, filters), so the sidebar contention gets worse, not better.

Proposed direction

  1. Investigate moving basic crop controls under the canvas, that is, rotate, flip, zoom, aspect ratio, next to the existing angle ruler. Frees the full sidebar height for one panel at a time. Matches what mobile already does.
  2. Permanent panel switcher: always visible whether or not a panel is open: Crop (advanced) / Filters / Details. Header segmented group or right-edge icon rail on desktop; bottom bar on mobile. This is the mobile fix — Details stops being a viewport-conditional tab.
  3. Restructure the Details fields:
    • Alt text first, with a "Decorative" checkbox so it can be legitimately skipped.
    • Short values (Title, Caption) as single-line rows that expand on click, rather than four stacked textareas.
    • Read-only file info collapsed into a chip row or a single expandable group.
    • Can Details take a wider region (or the full modal), or is the sidebar width fixed?
  4. Also look into advanced crop input and filters opening from the under-canvas toolbar or the switcher, not by displacing Details.

Constraints

  • Existing wp-components only, no new libraries.
  • Crop must remain available at all times on mobile.
  • Icon-only switcher needs visible labels or tooltips and a clear pressed state.

Scope

Related

Activity

  1. added
    [Type] Enhancement
    [Feature] Media
    Needs Design Feedback
    on Aug 3, 2026
  2. andrewserong commented on Aug 4, 2026

    @andrewserong
    Contributor

    Good idea to take a fresh look at the Details area. For quick reference as we look at design ideas, here's the comparable area from the attachment details screen in core:

    Image

    So, the task is: where and how should we display the metadata info associated with the image, and how can we make it look pleasing while still being useful?

  3. ramonjd commented on Aug 4, 2026

    @ramonjd
    Member

    where and how should we display the metadata info associated with the image, and how can we make it look pleasing while still being useful?

    This is the question!

    I've been slapping about ideas with Claude, and want to post a few just to get our juices flowing. None are indicative of what we should do, but rather can give ideas of what we can do.

    What Mockup
    1. Rather than use tabs, move the switcher to the header. Can later accommodate filters, and whatever. Crop tools shown in mobile also show in Desktop. Details panel is wider. Image
    2. Riffing on above, with a full screen details panel. Image
    3. Grouped fields for less scrolling Image
    4. Details from the deep! Drawer with more horizontal potential. Image
    5. Like 4, but a mix for mobile/desktop Image

    An MVP could be:

    • make the details tab wider or full screen, and
    • ditch the tabs, use header icons or some other permanent UI
    • give mobile users the ability to see/edit details

    Another thought I had is: Is the order of the fields still right? Which field has priority? For example, for me, Alt text seems more important than title.

  4. andrewserong commented on Aug 4, 2026

    @andrewserong
    Contributor

    Another thought I had is: Is the order of the fields still right? Which field has priority? For example, for me, Alt text seems more important than title.

    Also the relationship between editable fields and those that are informational, some interesting ideas if your screengrabs there (i.e. using pills/badges for fields that are just informational 🤔).

  5. jasmussen commented on Aug 4, 2026

    @jasmussen
    Contributor

    Before we throw the baby out with the bathwater, let me be sure I understand the issue correctly. When i see the screenshot, I immediately zoom in on this,

    Image

    A way too big avatar, not circular, and no space to the author image. This is a straight up bug, but it also looks fixed in trunk for me, as I see this:

    Image

    As far as the list itself, I would love to loop in @fcoveram for instincts. One of the things about that list is that, it could-be/should-be a DataForm component, which is built for that thing. Not saying that has to happen for 7.1 RC, but the perspective is likely that, and it would allow what Ramon suggests for us to iterate between which values to show directly as inputs, vs. which ones to show in flyouts or simply list as read-only.

    The DataForm will also power the inspectors. It's an experiment for the moment, and looks like this:

    Image

    The change to font weight could use a second eye here, but just to extract one thing: the value shown in black with the label shown in grey is a nice little change that visually makes this feel pretty good, IMO.

  6. annezazu commented on Aug 4, 2026

    @annezazu
    ContributorAuthor

    Before we throw the baby out with the bathwater, let me be sure I understand the issue correctly. When i see the screenshot, I immediately zoom in on this,

    Yes! That squished-ness, for lack of a better word, was a big part of the initial impression, as was the attachment modal being poor. I pulled the latest from trunk for the walkthrough but somehow missed these changes when demoing (sigh). Overall, this looks much better and, if we can fix the attachment modal issue (see below), I think we're actually in "good enough" shape here: #81122

    I am going to close this out as a result as I do think the design is better than what we saw on the call and data forms will naturally continue improvements.

  7. andrewserong commented on Aug 5, 2026

    @andrewserong
    Contributor

    This is a straight up bug, but it also looks fixed in trunk for me, as I see this:

    but somehow missed these changes when demoing (sigh).

    I don't think it was you @annezazu, just closing the loop here but it was fixed in wordpress-develop in WordPress/wordpress-develop#12813 which was likely after you tested this out 🙂

    Thanks for the discussion here, folks! While this issue is closed out, it'll still be a good one for us to iterate on as we look at controls and how we reveal information in the sidebar as the media editor modal grows in 7.2 and beyond

  8. ramonjd commented on Aug 5, 2026

    @ramonjd
    Member

    it'll still be a good one for us to iterate on as we look at controls

    Agree. I think we're going to have to revisit/reconsider anyway for at least two of the reasons I mentioned above:

    ditch the tabs, use header icons or some other permanent UI
    give mobile users the ability to see/edit details

    "ditch the tabs", not necessarily, but we need to accommodate new panels (think filters) and also 3rd party extensions.

    That mobile users cannot access the details tab at all is another.

  9. ramonjd commented on Aug 12, 2026

    @ramonjd
    Member

    I'll reopen this and update the description/scope to include. I think we need to revisit how we surface the details tab, and, as a consequence all tabs.

    See:

  10. ramonjd commented on Aug 19, 2026

    @ramonjd
    Member

    This is just playing around for now. Details sidebar increased in width, and available in mobile.

    The more radical proposal was to keep the crop tools permanently beneath the crop canvas at all screen widths.

    Kapture.2026-08-19.at.17.03.53.mp4

    Actually not so radical since it makes screens consistent. 🤔

  11. andrewserong commented on Aug 19, 2026

    @andrewserong
    Contributor

    This is just playing around for now. Details sidebar increased in width, and available in mobile.

    Looking pretty good to me so far! I think a wider panel might help the controls to feel less cramped, too.

  12. ramonjd commented on Aug 20, 2026

    @ramonjd
    Member

    Looking pretty good to me so far! I think a wider panel might help the controls to feel less cramped, too.

    Thanks! That's what I was thinking. In my opinion, we should decoupling from the interface skeleton anyway, it's less code and we're not shackled to its quirks.

    The only thing I want to try out is moving the controls out of the "grey zone" so the image has the wiggle room to take up the full area. I think the contrast would be better too.

  13. mahdialikhanusiya commented on Oct 1, 2026

    @mahdialikhanusiya

    Thanks for the clear direction and the prototype @ramonjd
    the wider panel + mobile access already feels much better.

    A few quick thoughts:

    1. Alt text first + Decorative checkbox is the right priority.
    2. Collapsing the read-only file info into a compact expandable group will help a lot with the cramped feel.
    3. Permanent panel switcher (header segmented control or icon rail) feels like the cleanest solution, especially with Filters coming later.

    Happy to help with layout feedback if useful.

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 Feedback[Feature] Media[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions