feat(agents): simple redesign Connect button and share modal#2511
feat(agents): simple redesign Connect button and share modal#2511
Conversation
- Replace lightning icon with overlapping Cursor/Claude branded icons on Connect button - Redesign client action cards with colored backgrounds and white logos - Replace Windsurf card with generic Copy URL action - Make typegen section collapsible by default - Fix mode selection highlighting with state-driven bg-accent/30 - Reduce radio card padding and gap for tighter layout Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
🧪 BenchmarkShould we run the Virtual MCP strategy benchmark for this PR? React with 👍 to run the benchmark.
Benchmark will run on the next push after you react. |
Release OptionsShould a new version be published when this PR is merged? React with an emoji to vote on the release type:
Current version: Deployment
|
There was a problem hiding this comment.
1 issue found across 2 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/mesh/src/web/components/details/virtual-mcp/virtual-mcp-share-modal.tsx">
<violation number="1" location="apps/mesh/src/web/components/details/virtual-mcp/virtual-mcp-share-modal.tsx:280">
P2: Collapsing the Typegen section unmounts TypegenSectionInner, which clears the generated API key state. If a user closes the section after generating a key, they permanently lose it despite the UI saying it won’t be shown again. Keep the inner section mounted and just hide it so the key isn’t discarded.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
| className={cn("transition-transform", open && "rotate-180")} | ||
| /> | ||
| </button> | ||
| {open && ( |
There was a problem hiding this comment.
P2: Collapsing the Typegen section unmounts TypegenSectionInner, which clears the generated API key state. If a user closes the section after generating a key, they permanently lose it despite the UI saying it won’t be shown again. Keep the inner section mounted and just hide it so the key isn’t discarded.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/mesh/src/web/components/details/virtual-mcp/virtual-mcp-share-modal.tsx, line 280:
<comment>Collapsing the Typegen section unmounts TypegenSectionInner, which clears the generated API key state. If a user closes the section after generating a key, they permanently lose it despite the UI saying it won’t be shown again. Keep the inner section mounted and just hide it so the key isn’t discarded.</comment>
<file context>
@@ -294,60 +217,78 @@ function TypegenSectionInner({ virtualMcp }: { virtualMcp: VirtualMCPEntity }) {
+ className={cn("transition-transform", open && "rotate-180")}
+ />
+ </button>
+ {open && (
+ <div className="pt-1 pb-1">
+ <Suspense
</file context>
Summary by cubic
Redesigned the Connect button and share modal for agents to make installs clearer and faster, with branded icons and a collapsible typed client section. Improves Cursor and Claude flows, simplifies sharing, and fixes mode selection highlighting.
New Features
Bug Fixes
Written for commit fd7f767. Summary will update on new commits.