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 block: Clicking name/title should bring focus to sidebar name field similar to the Navigation editor. #31391

Closed
paaljoachim opened this issue Apr 30, 2021 · 2 comments
Labels
[Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Enhancement A suggestion for improvement.

Comments

@paaljoachim
Copy link
Contributor

paaljoachim commented Apr 30, 2021

What problem does this address?

Clicking the title/name opens a Transform to drop down.

Clicking-name-opens-dropdown-Transform-to.mp4

Other blocks one clicks the block icon to open the Transform to drop down.

Click-block-icon-to-open-transform-to-dropdown.mp4

What is your proposed solution?

Comparing to the Navigation Editor screen.

Navigation-Editor-Click-name-brings-focus-to-sidebar-name-field.mp4

We see the icon to the left and clicking the "All Pages" brings focus to the Name "All Pages" in the sidebar.

For Reusable blocks:
Consistency with other blocks.
Clicking the Reusable blocks icon should open the Transform to drop down.

Following the same method as Navigation Editor.
Clicking the name should bring focus to the sidebar name field.
It would also use a similar method as Reusable blocks work in WordPress 5.7 when the Gutenberg plugin is not activated.

Navigation Editor: Allow menu renaming
#29012

@jameskoster

@paaljoachim paaljoachim added [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Enhancement A suggestion for improvement. labels Apr 30, 2021
@paaljoachim paaljoachim changed the title Reusable block: Clicking name/title opens Transform to drop down. Reusable block: Clicking name/title should bring focus to sidebar name field similar to the Navigation editor. Apr 30, 2021
@jameskoster
Copy link
Contributor

This is an interesting one. In many ways I see overlap with the idea of putting post attributes in the top bar.

In the short term the proposal here seems to be worth a try. But long term I think we should follow what happens with document attributes closely, and align where we can.

@paaljoachim
Copy link
Contributor Author

I will go ahead and close this issue. As it feels more like a sidetrack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants