Skip to content
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

Navigation Items: Add transform items in the inspector, a la Group/Row/Stack #46195

Open
jasmussen opened this issue Nov 30, 2022 · 0 comments
Open
Labels
[Block] Navigation Affects the Navigation Block [Type] Enhancement A suggestion for improvement.

Comments

@jasmussen
Copy link
Contributor

When you insert a menu item, it can be either a Page Link, a Custom Link, or a variety of other link types. This makes for a lot of very similar items to choose from in the inserter menu. It would be nice if there was just a single block to insert, of which all of these were variations, as ultimately they are all just links, and the variation mainly affects which items to show in the "Recent" menu.

It could then be possible to switch between these items types in the inspector, just like it is for a Group that can transform into a Row or a Stack. Here's a mockup showing those transforms:

Inspector transforms for navigation items

  • It remains to be decided which items become variations. It can become quite a lot of transforms otherwise, so it would be good to curate a little. Page Link, Custom Link and Home all feel important to include, though.
  • It would be a bonus to revisit the descriptions of each varation, so they all span the same number of lines of text, and don't cause a jump when clicking between the transforms.
  • Note for the "Page Link" that the link becomes a page selector dropdown. I imagine this page selector would show the same recent pages, with a search box, as the new menu item dialog does.
@jasmussen jasmussen added [Type] Enhancement A suggestion for improvement. [Block] Navigation Affects the Navigation Block labels Nov 30, 2022
@jasmussen jasmussen changed the title Navigation Items: Add tranform items in the inspector, a la Group/Row/Stack Navigation Items: Add transform items in the inspector, a la Group/Row/Stack Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

1 participant