-
Notifications
You must be signed in to change notification settings - Fork 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
Page navigation in the block editor #41298
Comments
Given that #41294 is almost done, does it still make sense that this isone of the "very nice to haves" for the soft launch? pbAok1-BW-p2 Given that there won't be any other starter pages they won't need to edit them before launching (just thinking of keeping the project scope to onboarding and activation only) |
Good point. Unless this is a general wish list for the WordPress.com editor, in which case I think it could still be punted upfield, metaphorically speaking. |
This could also get wily if we list hierarchical pages, and there are dozens of them. |
This is intended to be a help for new users... It would be more than ok to
list just 4-5 pages and then, maybe, have a search box. If you have
hierarchical pages in your site you don't need help navigating around
anymore :D
El vie., 24 abr. 2020 a las 11:12, Ramon (<[email protected]>)
escribió:
… This could also get wily if we list hierarchical pages, and there are
dozens of them.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#41298 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAL3TJ7ZCSWN46PDOC6BRSTROFJXPANCNFSM4MMUQ3IA>
.
|
I've been looking at this task today, and various ways we might achieve what we want. I've come up with three possibilities. There may be more :) The first is to carry on with #39826From a data perspective, this would be the most convenient. The Calypso store has most of the data we need already, and we can reuse any Calypso lib/component. The downside is that it's not really part of the editor, and so we'll need to juggle the element's position hoping that it won't interrupt use of the tool bar underneath. Create a must-use Gutenberg sidebar pluginSitting beside the Jetpack plugin sidebar icon, our Creating a Gutenberg plugin would be extra work, but the integration would be more compatible with the block editor. Showing users that it's there would be another matter. Through the welcome modal perhaps. Extend the block editor in apps/wpcom-block-editorI haven't fully tested this, but we might be able to append a We can fetch and search pages using the WP rest API ( This third option feels like the most error-prone and fiddly. @p-jackson What do you reckon? Do you wanna take a stab at this task and let us know what you think the right direction might be? |
Some discussion kicked off over at pbAok1-Ii-p2 on whether we can add this functionality to a side bar |
Given the comments on pbAok1-Ii-p2, I think we should work with design on this one and maybe consider the sidebar option. It might be that a sidebar solves more than just the need for a page navigation widget, in which case we would see a better return on development investment. Whether we can come up with consistent functionality across wp-admin and Calypso is something that we'll need to crack regardless. |
Thanks for raising this @vindl @p-jackson has made a healthy start to this already in the FSE plugin. We should keep @olaolusoga in the loop on the design front if it's all good to continue with that work. 👍 |
Linking a more recent mockup from @shaunandrews in this tracking issue |
no one saw anything |
Hi @olaolusoga Should we be matching @shaunandrews's work in WordPress/gutenberg#23939 for the sidebar before we launch it? |
Not all of it since there's chatter still going on. I can mock up the small adjustments we should include, and share shortly. Is the preview in Shaun's GIF possible with what we're doing? |
Might be possible, but certainly not trivial. We might be able to use the same technique that the fullscreen layout picker uses, but it wouldn't be a short term thing. I worry a about performance there too, if you're already on a very large sluggish page, then loading a preview of another large sluggish page could even crash the browser tab. A skeleton preview might be a way around it i.e. just showing block outlines as boxes and removing the actual images/text from the preview. |
Makes sense. Let's punt on the previewer for now; core can figure it out, and we'll roll it into FSE on dotcom. |
Page navigation has now been shipped to 100% users. There are some tasks/issues on the board for small improvements we could make, but the main task is now done. |
Let's add a dropdown to the block editor, when you are editing a page, that lets you navigate to one of the existing pages in your site or create a new one.
Previous attempt:
#39826
The text was updated successfully, but these errors were encountered: