Skip to content

Commit 13a0fef

Browse files
committed
feat(ui): trim Built-in shelf to Tool Optimization + Memory; surface active Space
- Remove the Skills / Hooks / Plugins "coming soon" cards; keep Tool Optimization (live) and Memory (next). - Add a prominent accent chip — "These settings apply to <Space>" — under the header. Built-in config is per-Space, but clients route to a Space via their workspace-root binding, which may differ from the Space selected here; the chip makes the scope unmistakable so toggles aren't applied to the wrong Space. Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent fc917f3 commit 13a0fef

1 file changed

Lines changed: 16 additions & 37 deletions

File tree

apps/desktop/src/features/builtinServers/BuiltinServersPage.tsx

Lines changed: 16 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,7 @@
1515

1616
import { useEffect, useState } from 'react';
1717
import { Switch, useToast, ToastContainer } from '@mcpmux/ui';
18-
import {
19-
Sparkles,
20-
Brain,
21-
BookOpen,
22-
Puzzle,
23-
Webhook,
24-
Wrench,
25-
Eye,
26-
Pencil,
27-
Boxes,
28-
Loader2,
29-
ShieldCheck,
30-
} from 'lucide-react';
18+
import { Sparkles, Brain, Wrench, Eye, Pencil, Boxes, Loader2, ShieldCheck } from 'lucide-react';
3119
import { listen } from '@tauri-apps/api/event';
3220
import {
3321
listBuiltinServers,
@@ -56,24 +44,6 @@ const COMING_SOON: ComingSoonServer[] = [
5644
description: 'Notes and recall your AI can read and write across every app.',
5745
icon: <Brain className="h-5 w-5" />,
5846
},
59-
{
60-
id: 'skills',
61-
name: 'Skills',
62-
description: 'Install skills from a catalog and target them per Space.',
63-
icon: <BookOpen className="h-5 w-5" />,
64-
},
65-
{
66-
id: 'hooks',
67-
name: 'Hooks',
68-
description: 'Run your own automations before or after tool calls.',
69-
icon: <Webhook className="h-5 w-5" />,
70-
},
71-
{
72-
id: 'plugins',
73-
name: 'Plugins',
74-
description: 'Community plugins exposed as first-class tools.',
75-
icon: <Puzzle className="h-5 w-5" />,
76-
},
7747
];
7848

7949
export function BuiltinServersPage() {
@@ -171,14 +141,23 @@ export function BuiltinServersPage() {
171141
<h1 className="text-2xl font-bold tracking-tight lg:text-3xl">Built-in</h1>
172142
<p className="mt-1.5 max-w-2xl text-sm leading-relaxed text-[rgb(var(--muted))] lg:text-base">
173143
Built-in tools and additional features McpMux gives your AI apps — no install needed.
174-
Self-management ships today; Memory, Skills, Hooks, and Plugins are next. Toggle
175-
everything <span className="font-medium text-[rgb(var(--foreground))]">per Space</span>;
176-
these settings apply to{' '}
177-
<span className="font-semibold text-[rgb(var(--foreground))]">
144+
Self-management ships today; Memory is next. Toggle everything{' '}
145+
<span className="font-medium text-[rgb(var(--foreground))]">per Space</span>.
146+
</p>
147+
{/* Active-Space scope — made prominent so toggles aren't applied to
148+
the wrong Space. Built-in config is per-Space, but clients route
149+
to a Space via their workspace-root binding, which may differ
150+
from the Space selected here. */}
151+
<div
152+
className="mt-3 inline-flex items-center gap-2 rounded-lg border border-[rgb(var(--primary))]/30 bg-[rgb(var(--primary))]/10 px-3 py-2"
153+
data-testid="builtin-active-space"
154+
>
155+
<Boxes className="h-4 w-4 flex-shrink-0 text-[rgb(var(--primary))]" />
156+
<span className="text-sm text-[rgb(var(--muted))]">These settings apply to</span>
157+
<span className="text-sm font-semibold text-[rgb(var(--foreground))]">
178158
{space?.name ?? '…'}
179159
</span>
180-
.
181-
</p>
160+
</div>
182161
</div>
183162
</header>
184163

0 commit comments

Comments
 (0)