-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Zoom-out: add page 'carousel' #73628
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
base: trunk
Are you sure you want to change the base?
Conversation
| } | ||
| return a.menu_order - b.menu_order; | ||
| } ); | ||
| }, [ pages ] ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could potentially make it hard to maintain/keep in sync with the Navigation block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's probably a lot left to do like handling Navigation block with more than just Page List.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: +567 B (+0.02%) Total Size: 2.57 MB
ℹ️ View Unchanged
|
This could be lifted by using |
Up for doing that, but it would require some tweaks to the API like removing the back button, update the URL... So let's see how this feels to people and design, then we can try that? |
|
@annezazu Yes, if people think that's better we can try that. It's a bit more difficult technically to know the position of the canvas from outside the iframe, and then the arrow also have to move when the canvas changes size, or the inserter is opened. |


What?
🚨 Vibe code alert: 99% Claude, 1% me (100% my good instructions 😛) 🚨
Adds prev/next buttons to Zoom-out mode:
Why?
There's lots of room, and it could be an interesting way to easily navigate between pages.
How?
It's pretty straightforward, just adds two buttons and queries for menu pages (that part might need polish to match the Navigation block more closely).
Testing Instructions
Go to the Site Editor. Make sure you have multiple pages in the Navigation block. Enter Zoom-out.
Testing Instructions for Keyboard
Screenshots or screencast
Screen.Recording.2025-11-27.at.18.31.41.mov
Screen.Recording.2025-11-27.at.19.51.58.mov