Skip to content

Add taxonomy field to categories block#26555

Closed
coreyworrell wants to merge 3 commits intoWordPress:trunkfrom
coreyworrell:update/categories-taxonomy
Closed

Add taxonomy field to categories block#26555
coreyworrell wants to merge 3 commits intoWordPress:trunkfrom
coreyworrell:update/categories-taxonomy

Conversation

@coreyworrell
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown

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.

2 participants