Experiment: Content types reuse createStatusAction#78102
Conversation
| }, | ||
| enableSorting: false, | ||
| }; | ||
| export const singularLabelField = createLabelField( |
There was a problem hiding this comment.
That's a small extra that I missed in the other PR.
|
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: -17 B (0%) Total Size: 7.92 MB 📦 View Changed
ℹ️ View Unchanged
|
|
Flaky tests detected in 2ecff31. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/25559294741
|
tyxla
left a comment
There was a problem hiding this comment.
Nice cleanup! Tests well too.
LGTM 👍 🚀
| id: string; | ||
| label: string; | ||
| targetStatus: Status; | ||
| entity: string; |
There was a problem hiding this comment.
I'd tighten this to POST_TYPE_ENTITY | TAXONOMY_ENTITY.
What?
Since #78059 we have a single package for content types.
This part adds
createStatusActionshared utils between the two.