Skip to content

Navigation Link: Add dropdownMenuProps and a resetAll function #70505

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

Merged

Conversation

yogeshbhutkar
Copy link
Contributor

@yogeshbhutkar yogeshbhutkar commented Jun 24, 2025

What, Why, and How?

Closes #70504

This PR adds the resetAll function and integrates dropdownMenuProps in ToolsPanel component

Testing Instructions

  1. Within a navigation block, add a custom link block.
  2. Confirm that the ToolsPanel dropdown opens to the left side of the sidebar.

Testing Instructions for Keyboard

Same.

Screenshots

Before After
before after

@yogeshbhutkar yogeshbhutkar marked this pull request as ready for review June 24, 2025 09:34
Copy link

github-actions bot commented Jun 24, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: yogeshbhutkar <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: t-hamano <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Mamaduka Mamaduka added [Type] Enhancement A suggestion for improvement. [Block] Navigation Link Affects the Navigation Link Block props-bot Adding this label triggers the Props Bot workflow for a PR. labels Jun 24, 2025
@github-actions github-actions bot removed the props-bot Adding this label triggers the Props Bot workflow for a PR. label Jun 24, 2025
@Mamaduka Mamaduka merged commit 68d91ef into WordPress:trunk Jun 24, 2025
71 of 74 checks passed
@github-actions github-actions bot added this to the Gutenberg 21.1 milestone Jun 24, 2025
chriszarate pushed a commit to chriszarate/gutenberg that referenced this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Link Affects the Navigation Link Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Link block: Place the ToolsPanel dropdown on the left side of the sidebar
2 participants