mirror of
https://github.com/block/goose.git
synced 2026-07-09 16:09:22 +00:00
fix(docs): show manual-setup indicator for extensions without an install link (#10321)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
45327dae5f
commit
d86063bad9
3 changed files with 23 additions and 4 deletions
|
|
@ -149,7 +149,17 @@ export function ServerCard({ server }: { server: MCPServer }) {
|
||||||
<span>Install</span>
|
<span>Install</span>
|
||||||
<Download className="h-4 w-4" />
|
<Download className="h-4 w-4" />
|
||||||
</a>
|
</a>
|
||||||
) : null}
|
) : (
|
||||||
|
<div
|
||||||
|
className="manual-setup-badge"
|
||||||
|
title={
|
||||||
|
server.installation_notes ||
|
||||||
|
"This extension requires manual setup. See details for instructions."
|
||||||
|
}
|
||||||
|
>
|
||||||
|
Manual setup
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -281,7 +281,8 @@
|
||||||
color: #fa5204;
|
color: #fa5204;
|
||||||
}
|
}
|
||||||
|
|
||||||
.built-in-badge {
|
.built-in-badge,
|
||||||
|
.manual-setup-badge {
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
|
|
@ -322,6 +323,7 @@ html[data-theme="dark"] .command-content {
|
||||||
background-color: rgba(255, 255, 255, 0.05);
|
background-color: rgba(255, 255, 255, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme="dark"] .built-in-badge {
|
html[data-theme="dark"] .built-in-badge,
|
||||||
|
html[data-theme="dark"] .manual-setup-badge {
|
||||||
background-color: rgba(255, 255, 255, 0.1);
|
background-color: rgba(255, 255, 255, 0.1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,14 @@ const getDocumentationPath = (serverId: string): string => {
|
||||||
<span>Install</span>
|
<span>Install</span>
|
||||||
<Download className="h-4 w-4" />
|
<Download className="h-4 w-4" />
|
||||||
</a>
|
</a>
|
||||||
) : null}
|
) : (
|
||||||
|
<div
|
||||||
|
className="manual-setup-badge"
|
||||||
|
title="This extension requires manual setup. See the installation notes above."
|
||||||
|
>
|
||||||
|
Manual setup
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue