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

PublishMenuItem label is not overridable through hook #10664

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

SebCorbin
Copy link
Contributor

Fixes #10663

Please check the following:

  • Do the tests still pass?[^1]
  • Does the code comply with the style guide?
    • Run make lint from the Wagtail root.
  • For Python changes: Have you added tests to cover the new/fixed behaviour?

@squash-labs
Copy link

squash-labs bot commented Jul 12, 2023

Manage this branch in Squash

Test this branch here: https://sebcorbinissue-10663-7goy0.squash.io

@lb-
Copy link
Member

lb- commented Jul 18, 2023

@SebCorbin are you able to look at the CI failures?

@laymonage
Copy link
Member

@lb- it just needs a rebase after f866cd1 was merged

Copy link
Member

@lb- lb- left a comment

Choose a reason for hiding this comment

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

This works great, I know there was a bigger discussion in #10663 about solving some of the larger complexities with hooks and menu items. For now though, let's get this small win into the code, it works well and makes sense.

If you feel there should be more fixes to the menu hooks, please let's discuss them as new issues or Discussion items.

Validation

Screenshot 2023-09-17 at 4 48 47 pm

@lb- lb- merged commit f82366e into wagtail:main Sep 17, 2023
17 of 18 checks passed
@SebCorbin SebCorbin deleted the issue-10663 branch September 18, 2023 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:Hooks component:Menu Page tree menu, sidebar, locale menu
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PublishMenuItem label is not overridable through hook
3 participants