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

Do not set the nonfolderish_tabs registry to False #146

Merged
merged 3 commits into from
Apr 29, 2024
Merged

Conversation

wesleybl
Copy link
Member

@wesleybl wesleybl commented Apr 12, 2024

The default setting of True will be set. With this, the content types in displayed_types will appear in the menu, regardless of whether they are folderish. This mainly favored the Link type, which was not appearing in the menu because it was not folderish.

fixes #145

@wesleybl wesleybl requested review from sneridagh and davisagli April 12, 2024 20:41
@mister-roboto
Copy link

@wesleybl thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@wesleybl
Copy link
Member Author

@jenkins-plone-org please run jobs

@davisagli
Copy link
Member

@wesleybl I would leave out the upgrade step. It's okay to change the value of the setting for new sites, but we shouldn't change it for existing sites where it might have been set intentionally.

@wesleybl wesleybl force-pushed the nonfolderish_tabs branch from 3315471 to b5fba21 Compare April 12, 2024 20:51
@wesleybl
Copy link
Member Author

@jenkins-plone-org please run jobs

@wesleybl
Copy link
Member Author

I would leave out the upgrade step

@davisagli done.

The default setting of True will be set. With this, the content types in
displayed_types will appear in the menu, regardless of whether they are
folderish. This mainly favored the Link type, which was not appearing in
the menu because it was not folderish.
Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

Any concern about this, @sneridagh?

@wesleybl
Copy link
Member Author

@sneridagh can you take a look here please?

@davisagli davisagli merged commit 1c73473 into main Apr 29, 2024
13 of 17 checks passed
@davisagli davisagli deleted the nonfolderish_tabs branch April 29, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type Links does not appear in the Volto menu
3 participants