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

Disable block renaming support for Nav Link block #56425

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

getdave
Copy link
Contributor

@getdave getdave commented Nov 22, 2023

What?

Disables the ability to rename the Navigation Link block.

Closes #56155

Closes #55643

Why?

It doesn't make sense in this context.

How?

Set renaming block support to `false.

Testing Instructions

  • Site Editor
  • Click Navigation
  • Open List View
  • Click block options menu for Navigation Link item block.
  • Check that Rename is not shown as an option.

Testing Instructions for Keyboard

Screenshots or screencast

Uploading Screen Shot 2023-11-22 at 09.56.30.png…

@getdave getdave self-assigned this Nov 22, 2023
@getdave getdave added [Type] Enhancement A suggestion for improvement. [Block] Navigation Link Affects the Navigation Link Block labels Nov 22, 2023
@getdave getdave marked this pull request as ready for review November 22, 2023 09:57
Copy link
Member

@fabiankaegy fabiankaegy left a comment

Choose a reason for hiding this comment

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

Agree this makes sense 👍

@getdave getdave force-pushed the fix/no-renaming-for-nav-item-blocks branch from 7302a39 to 370b31c Compare November 27, 2023 11:16
@getdave
Copy link
Contributor Author

getdave commented Nov 27, 2023

Trying a rebase here to see it clears the unusual test results (potentially anomalous).

@getdave getdave enabled auto-merge (squash) November 27, 2023 11:17
@getdave getdave merged commit e93c392 into trunk Nov 27, 2023
51 checks passed
@getdave getdave deleted the fix/no-renaming-for-nav-item-blocks branch November 27, 2023 12:03
@github-actions github-actions bot added this to the Gutenberg 17.2 milestone Nov 27, 2023
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
Development

Successfully merging this pull request may close these issues.

Remove "Rename" option from Navigation Link block Block Renaming Followups for 6.5
2 participants