Skip to content

Try zooming out when selecting the patterns tab in the inserter #65749

Closed

Description

@richtabor

Now that it's clearer how to disengage zoom out, with the toggle in the editor header and double-click, let's try introducing zoom out on pattern tab selection as well. Previously, the concern was about inserting patterns within patterns, but now that you can toggle off zoom out right from the header, to insert patterns wherever, I think it's worth exploring this further.

Inserting sections of a site with zoom out engaged is a much better experience than without, as patterns are stacked consistently—not placed within other columns, groups, etc.

CleanShot 2024-09-30 at 10 58 07

Activity

  1. jeryj commented on Sep 30, 2024

    @jeryj
    Contributor

    If zoom out is not engaged, then we engage zoom out when entering the pattern tab. Do we automatically disengage zoom out when clicking away from the pattern tab?

    We’ll need to make sure if zoom out is already engaged when going into patterns that we don’t disengage zoom out when clicking away

  2. richtabor commented on Sep 30, 2024

    @richtabor
    MemberAuthor

    Do we automatically disengage zoom out when clicking away from the pattern tab?

    Yes. If you switch back to "Blocks" it zooms back in.

  3. getdave commented on Oct 1, 2024

    @getdave
    Contributor

    @richtabor just noting that I don't believe this is going to be targeted for 6.7 so I think we can remove from the board. Is that correct?

  4. draganescu commented on Oct 1, 2024

    @draganescu
    Contributor
    • Does going to media reset the view or keeps the zoom out view?
    • If zoom out is engaged manually does any action in the inserter disengage it? (closing the inserter, switching to tabs)
  5. self-assigned this
    on Oct 1, 2024
  6. richtabor commented on Oct 6, 2024

    @richtabor
    MemberAuthor

    Does going to media reset the view or keeps the zoom out view?

    Maintains current zoom state.

    If zoom out is engaged manually does any action in the inserter disengage it? (closing the inserter, switching to tabs)

    Yes, when switching to Blocks.

    Yes, I think when zoomed out and you close the inserter, the canvas should zoom back in. You can get stuck otherwise.

  7. getdave commented on Oct 7, 2024

    @getdave
    Contributor

    No need to backport this one.

  8. afercia commented on Mar 17, 2025

    @afercia
    Contributor

    Going through all the changes for WP 6.8 I noticed this change and I have a question about it: why #65785 is implemented only in the Site Editor?
    In the Post editor, zoom out isn't activated automatically when selecting the Patterns tab.

    How this clearly inconsistent user experience between the two editors helps users in any way? Is there any specific reason why it's not implemented in the Post editor or anything else I may be missing?
    @WordPress/gutenberg-design

  9. t-hamano commented on Mar 18, 2025

    @t-hamano
    Contributor

    why #65785 is implemented only in the Site Editor?
    In the Post editor, zoom out isn't activated automatically when selecting the Patterns tab.

    To be precise, zoom out is enabled if a section root is present, i.e. "Show template" is enabled.

    "Show template" enabled:

    Image

    "Show template" disabled:

    Image

    See #67232 for more details.

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

Metadata

Metadata

Assignees

Labels

[Feature] Zoom Out[Type] Enhancement

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions