-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Better categories handler #45695
Better categories handler #45695
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @AllTerrainDeveloper! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
Thanks for contributing, @AllTerrainDeveloper!
Can you elaborate more on this? |
Gamaryoba @Mamaduka! Maybe I went quite ahead of "way better" but it feels simpler and nicer for me. With the shortcut of removing categories. Here is a comparison table showing a gif for both cases.
|
Hey @AllTerrainDeveloper Daniel Thank you for working on this feature! I will also ping @jasmussen @ntsekouras and @rmorse as they might have some feedback on this PR. |
Just to be sure I'm understanding this right, this puts the entire hierarchical category handling inside the dropdown, correct? While I can see how that improves compression and simplicity, especially for sites with hundreds of categories, I would worry that it might conflate categories with tags for the majority of users that might have only a few categories. |
Hi @AllTerrainDeveloper Daniel It would be better to focus on tackling this issue: As I do not believe there are any plans to adjust how categories in general work today. |
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
I am closing this based on the feedback left in the comments and because there has been no activity since 2022. |
What?
Improving categories handler in the Gutenberg editor.
Why?
It just makes it way better to handler categories
How?
I'm using a ComboboxControl filled checkboxes in order to select the categories. Also added an easy way of removing them.
Testing Instructions
Fill your blog with a lot of categories
Create a post and play around with the categories selector.
Screenshots