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

Widgets screen: Show block previews on hover in the inserter #38268

Open
noisysocks opened this issue Jan 27, 2022 · 2 comments
Open

Widgets screen: Show block previews on hover in the inserter #38268

noisysocks opened this issue Jan 27, 2022 · 2 comments
Labels
[Feature] Widgets Screen The block-based screen that replaced widgets.php. Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.

Comments

@noisysocks
Copy link
Member

We currently do not show block previews when hovering over an item in the inserter on the Widgets screen. Implementing this would help clarify to the user what will be inserted, see #25959.

image

@noisysocks noisysocks added [Type] Enhancement A suggestion for improvement. Needs Dev Ready for, and needs developer efforts [Feature] Widgets Screen The block-based screen that replaced widgets.php. labels Jan 27, 2022
@JustinyAhin
Copy link
Member

JustinyAhin commented Apr 6, 2022

@noisysocks I would like to work on this issue, but I don't have a clear clue about where to start. When I look at the widget screen inserter sidebar, I can see that showInserterHelpPanel is present

Shouldn't that shows the blocks previews on hover?

@noisysocks
Copy link
Member Author

Hi @JustinyAhin. Yes that sounds right. You'll need to investigate why showInserterHelpPanel isn't working in this case. No doubt it's a bug. Try putting a breakpoint in InserterPreviewPanel to see what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Widgets Screen The block-based screen that replaced widgets.php. Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants