refactor(ui): share static API and MCP parameter cards - #8027
BillLeoutsakosvl346 wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
@cubic-dev-ai Please review the current parameter-card changes. |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
Before / after visual comparisonAPI and MCP deployment parameter shells reuse FieldCard. These representative pairs retain the existing fields, surfaces and density. Left = before; right = after. Rendered component fixtures with application CSS and local data, rather than authenticated product-page screenshots. These are representative visual examples, not end-to-end behavior coverage. The earlier MCP-settings density proposal is deliberately omitted; it is not the final treatment. Current PR head checked at posting: |
2d698ae to
ffd56d1
Compare
af1ee02 to
b8c83e8
Compare
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 21 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
Co-authored-by: Bill Leoutsakos <billleoutsakos@Bills-MacBook-Pro.local>

API and MCP parameter editors duplicated the same name/type header and description-card styling. They now use EMCN
FieldCard, which shares its frame and body withCollapsibleCardwhile keeping a non-interactive, always-open header. Existing description controls, values and callbacks are preserved.Colors, borders, corners, body spacing and badge placement stay the same. Long names use the standard fade and full-value tooltip; MCP settings names align to the other cards at 14px instead of 15px, making that header 2.5px shorter in the browser comparison. Existing collapsible cards retain their appearance and behavior.
Validation: all 26 workspace type/lint checks, import-specifier resolution, mandatory API validation, 355 EMCN tests and 45 relevant consumer tests passed. The external conformance audit removes all three targeted findings and adds none. Twelve field-control subtrees are unchanged. Isolated light/dark browser comparisons cover the migrated cards, long labels, actions and keyboard collapse/reopen; live API saves and MCP deployments were not exercised.