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

Reusable blocks and Template Parts isolated editing view: Add menu in top toolbar for navigating to usage locations #30622

Open
critterverse opened this issue Apr 8, 2021 · 0 comments

Comments

@critterverse
Copy link
Contributor

@critterverse critterverse commented Apr 8, 2021

Hi all, this idea was proposed as a part of #30357 (comment) but I'm splitting it off into a separate issue. This functionality is originally stemming from an item on the Improvements to Reusable blocks tracking issue (#27890), but could also work nicely when applied to Template Parts.

Within the isolated editing view for Reusable blocks and Template Parts*, it would be great if one could easily navigate to locations where the items are in use to make sure that any changes made work well in all contexts. This is sort of a reverse counterpart to the proposed popover menu shown for Templates (#29147), which has a menu of Template Part areas leading to their isolated editing views.

*Discussions around the isolated views are for each are ongoing: see #29148 and #29337, comment

Here’s how this might work for Reusable blocks:

RB-menu

And for Template Parts:

TP-menu

Quick look at if the list could scroll in instances where there are a lot of items:

RB-long-list.mov

Questions:

The design of these popover menus mirrors recent changes to the way Template descriptions are working but I wonder if we should revisit the title appearing in both the top toolbar and at the top of the popover menu so it isn't repeated twice (although probably less of an issue when the top bar is displaying the document information as well)

Does it feel like including the number with the section headings such as "Post (2)" helps with clarity, or does the "Used in 4 locations" at the top of the popover seem clear enough on its own?

Figma file here! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant