Experiment: Follow up improvements on taxonomies(77497)#77567
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 7.76 MB ℹ️ View Unchanged
|
|
Flaky tests detected in 77ca53d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/24793375633
|
tyxla
left a comment
There was a problem hiding this comment.
This is looking good, thanks @ntsekouras 🙌
| () => ( { | ||
| id: 'slug', | ||
| label: __( 'Slug' ), | ||
| label: __( 'Taxonomy key' ), |
There was a problem hiding this comment.
Nice. This matches the register_taxonomy() docs.
| @@ -130,15 +132,35 @@ export function useSlugField( | |||
| isValid: { | |||
| required: true, | |||
| pattern: '^[a-z0-9_-]{1,32}$', | |||
What?
Follow up of: #77497
Addresses some of the feedback:
taxonomy keyvalidationTesting instructions
Settings/Taxonomiesand play around with adding and editing taxonomies by changing thetaxonomy keyfield to existing taxonomies (e.g.category).