Experiment: Render taxonomy status as a Badge#77635
Conversation
Use the design system `Badge` component for the Status column in the taxonomies DataView — `stable` intent for Active, `draft` for Inactive — instead of rendering the raw element label as text. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Size Change: 0 B Total Size: 7.76 MB ℹ️ View Unchanged
|
|
Flaky tests detected in 2e6ef52. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/24860561712
|
|
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. |
What?
Render the Status column in the Taxonomies experiment DataView as a
Badgeinstead of the plain element label text.Follow-up to #77497. Part of #77600.
Why?
The Status column currently renders the raw elements label — plain "Active" / "Inactive" text — which is easy to miss when scanning the table and doesn't visually distinguish between the two states. The design system ships a purpose-built Badge component with a documented plugin-status example that maps neatly onto this column, so we should use it for visual consistency with other DataViews in the dashboard and to give users a clearer at-a-glance read of the row's state.
How?
Custom rendering for the status field, using the existing
Badgecomponent.Testing Instructions
Testing Instructions for Keyboard
Same
Screenshots or screencast
Use of AI Tools
Opus 4.7