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

Add taxonomy field to categories block #26555

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

coreyworrell
Copy link
Contributor

Description

Adding a taxonomy selector the the Categories block.

How has this been tested?

Setup with Docker environment and tested in browser.

Screenshots

image

Types of changes

Adds taxonomy selector field in the inspector panel.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR.

TODO:

  • I was not able to figure out how to make the preview re-render after changing the taxonomy
  • The build_dropdown_script_block_core_categories() function will need to be updated so that redirects to other taxonomies will work

This is incomplete, but hopefully a start that someone can fill in the last details.

Base automatically changed from master to trunk March 1, 2021 15:44
@skorasaurus skorasaurus added Needs Dev Ready for, and needs developer efforts [Block] Categories Affects the Categories Block labels Aug 18, 2021
@skorasaurus skorasaurus removed the Needs Dev Ready for, and needs developer efforts label Jun 7, 2022
@skorasaurus skorasaurus added the Needs Dev Ready for, and needs developer efforts label Feb 27, 2024
Copy link

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.

  • Type-related labels to choose from: [Type] Automated Testing, [Type] Breaking Change, [Type] Bug, [Type] Build Tooling, [Type] Code Quality, [Type] Copy, [Type] Developer Documentation, [Type] Enhancement, [Type] Experimental, [Type] Feature, [Type] New API, [Type] Task, [Type] Technical Prototype, [Type] Performance, [Type] Project Management, [Type] Regression, [Type] Security, [Type] WP Core Ticket, Backport from WordPress Core.
  • Labels found: Needs Dev, [Block] Categories.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Categories Affects the Categories Block Needs Dev Ready for, and needs developer efforts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants