DataViews: Add DataViews components to components manifest#78960
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: 8.19 MB ℹ️ View Unchanged
|
|
Flaky tests detected in d1aea39. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/26979930112
|
What?
Updates DataViews component Storybook stories to add the
'manifest'tags so that the components are included in the output manifest on the hostedcomponents.json.Why?
The components manifest is used as the record of "recommended design system components", and is used by the
@wordpress/design-system-mcppackage for providing a list and details about design system components. Because DataViews is a package of the design system and its components are recommended for use, it should be included in the manifest so that the MCP server includes information about the components.Testing Instructions
Verify that DataViews components are included in the manifest:
npm run storybook:buildgrep -q "dataviews" storybook/build/manifests/components.json && echo "Found" || echo "Not Found"open storybook/build/manifests/components.htmland observe DataViews in listVerify that MCP server provides details about the components, using MCP Inspector:
npm run storybook:buildcd storybook/build && php -S 127.0.0.1:8000npx @modelcontextprotocol/inspector node packages/design-system-mcp/bin/design-system-mcp.mjsCOMPONENTS_MANIFEST_URLwith valuehttp://localhost:8000/manifests/components.json"DataViews"(including quotes)Screenshots or screencast
Use of AI Tools
Used Cursor + Claude Opus 4.8 to investigate applicability of components to include from design system packages and add tags.