-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Zoom Out Mode: Iteration issue: WordPress 6.7 #64197
Comments
Here's a demo of the work we have done so far: |
Some thoughts on ways of exiting Zoom Out mode:
I'll create an Issue for these. Also some other things:
|
This comment was marked as outdated.
This comment was marked as outdated.
@youknowriad @mtias @richtabor I've been watching the advancement of the new "Edit" (previously "Select" and under the hood There are some exceptions in Zoom Out:
...there are probably more. However, I'm wondering if there's scope to look to merge these two modes? After all, I expect that users will probably want to make basic edits whilst zoomed out (e.g. amend a heading). Perhaps we'd have some kind of "click through" whereby once a section is selected in zoom out you could click again to "activate" contentOnly editing on that section. I don't recall seeing an Issue capturing this so if it's something you think might be useful I can raise an Issue to track it. |
Yes, I think it seems we can converge in terms of interaction model (selecting sections, potentially selecting content blocks as well) and we can leave the zoom-out mode about setting a zoom level instead. We need to decide what to do with toolbar: should it switch to vertical toolbar when a zoom level is set or should it always stay consistent. |
I think the UX for Zoomed Out is probably better as a vertical toolbar but I would defer to @WordPress/gutenberg-design on that one. Maybe @richtabor as he's been heavily involved in Zoom Out. |
@draganescu @MaggieCabrera @jeryj @ajlende @youknowriad @talldan @richtabor I've drafted the following dev note for Zoom Out in WP 6.7. Feel free to edit/amend as required. Update: draft available on Make Blog. Dev note for WordPress 6.7 (draft)Zoom Out in WordPress 6.7, introduces a new way to easily create and edit content using Patterns rather than lower-level, individual blocks. Accessible via a toggle in the editor toolbar, when activated the canvas will "zoom out" providing users with a high level view of the content currently being edited. The inserter also automatically enables this new feature when the patterns tab is activated, allowing users to quickly and easily build and/or edit their Page or Template using pre-configured Patterns. Note that whilst in this mode, blocks outside the "main content" of the current post will be non-editable. This allows users to focus on easily dealing with larger areas of content. Theme CompatibilityTo facilitate this feature, the Editor will attempt to detect the block which is acting as the "main content" of the current post type. This is achieved via a simple algorithm which optimises for detecting the Post Content ( gutenberg/packages/editor/src/components/provider/use-block-editor-settings.js Lines 149 to 160 in 7d60169
To maximise compatibility with this mode, Theme authors should update their templates to ensure their "main content" is wrapped with a Group block whose Decoupling of Zoom Out mode from "zooming" the canvasAs part of this effort, contributors have also elected to decouple the scaling of the Editor canvas from the "Zoom Out" editor mode. This is largely in anticipation of future efforts around simplifying the editing experience. As a result, invoking Further reading: |
@getdave The dev note is looking great to me! Feel free to publish it on the make blog and I will then reference it in the field guide :) This can be an independant dev note as far as I am concerned 👍 In an ideal world I would love to include a quick video / screenshot similar to the ones we have in the Gutenberg Release posts that showcases the feature. Looking at the Gutenberg posts this image here has been used: |
I added a few edits @getdave |
Update for WordPress 6.7I posted an update on Friday in WP Slack with my top of mind for the Zoom Out feature in 6.7:
I'll update these as and when they are resolved. |
@getdave How do you feel about my suggestion the other day of including an image / video showcasing what it actually looks like in 6.7? Besides that this is good to go from my perspective 👍 |
@getdave small edit from your Dev Note preview:
should be:
|
Hey folks, just noting that the vertical toolbar has been removed in trunk in #66039 as it suffers a few issues: doesn't scale well to other buttons like "change design", doesn't support text only buttons, feels disconnected from blocks when centered. We can consider back-porting this change to 6.7 (it's several bug fixes at once). here's the corresponding manual cherry-pick #66200 |
Update for WordPress 6.7In general Zoom Out feels like it's in a good place. That said here are my top of mind items that we need to land prior to RC2:
Note that RC2 is on Tuesday October 29th, so we should look to release packages on Monday October 28th. Therefore all PRs should aim to land by Friday (or early Monday) latest. cc @ndiego @ellatrix @colorful-tones @cbravobernal @kevin940726 |
Let's close this out with 6.7 out the door and get a new one opened for 6.8. Thanks to everyone who contributed to this future. |
This issue tries to summarize the changes we'd like to make to Zoomed Out Mode in the WordPress 6.7 release:
Next:
Later (WP 6.8 cycle)
Bugs
Bugs can be viewed using Zoom Out and Bug labels.
The project board for WP 6.7 tracks the key bugs.
Later
The text was updated successfully, but these errors were encountered: