Open richtabor opened 1 year ago
Related in part to https://github.com/WordPress/gutenberg/issues/48072
@richtabor This PR starts to do what you are asking for I think https://github.com/WordPress/gutenberg/pull/46981.
If it does and you feel it's important then please do let me know.
@richtabor This PR starts to do what you are asking for I think https://github.com/WordPress/gutenberg/pull/46981.
I think it's a nice-to-have, compared to the current experience, though a bit more similar to the edit/search/replace flow here, where you can choose a different page from a popover perhaps.
What problem does this address?
To change say an About page to your site's "Now" page, you need to first delete the About page link, select the parent Navigation block, then re-add via the Inserter (or the new list view within the Navigation block).
We can simplify this by having a chip/token of the selected page within the Block Inspector. When you select it, you should be able to search for, and add other pages.
What is your proposed solution?
Instead of a delete/add-again flow, you would be able to click the clip/token selector to swap the page. We already have this UI, which could be leveraged perhaps, as well as other page link designs floating around:
I was thinking it could be the first control in the Block Inspector: