mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Improve icons in AI settings
This commit is contained in:
4 files changed
+4
-5
No files matched your search
@@ -209,7 +209,7 @@ export function MCPServersSection() {
|
||||
<AccordionItem value={name} className="border rounded-lg">
|
||||
<AccordionTrigger className="px-4 py-3 hover:no-underline">
|
||||
<div className="flex items-center gap-2 w-full mr-3">
|
||||
<Server size={16} className="text-primary" />
|
||||
<Server size={16} className="text-muted-foreground" />
|
||||
<span className="font-medium">{name}</span>
|
||||
<MCPConnectionStatus server={server} />
|
||||
</div>
|
||||
|
||||
@@ -180,7 +180,7 @@ function PluginItem({ pluginName, pluginSkills, isSyncing, isDeleting, onSync, o
|
||||
<AccordionItem value={pluginName} className="border rounded-lg">
|
||||
<AccordionTrigger className="px-4 py-3 hover:no-underline">
|
||||
<div className="flex items-center gap-2">
|
||||
<Puzzle className="h-4 w-4 text-primary" />
|
||||
<Puzzle className="h-4 w-4 text-muted-foreground" />
|
||||
<span className="font-medium">{pluginName}</span>
|
||||
{pluginSkills.length > 0 && (
|
||||
<span className="text-xs text-muted-foreground">
|
||||
|
||||
@@ -85,7 +85,7 @@ function SortableTemplateItem({
|
||||
<GripVertical className="h-4 w-4" />
|
||||
</div>
|
||||
)}
|
||||
<FileCode2 size={16} className="text-primary" />
|
||||
<FileCode2 size={16} className="text-muted-foreground" />
|
||||
<span className="font-medium">{template.name}</span>
|
||||
</div>
|
||||
</AccordionTrigger>
|
||||
|
||||
@@ -198,8 +198,7 @@ export function AISettings() {
|
||||
// Check if system prompt differs from default
|
||||
const isSystemPromptModified = useMemo(() =>
|
||||
(config.systemPrompt || defaultSystemPrompt) !== (defaultConfig.systemPrompt || defaultSystemPrompt),
|
||||
[config, defaultConfig]
|
||||
);
|
||||
[config, defaultConfig]);
|
||||
|
||||
const restoreSystemPrompt = () => {
|
||||
const defaultValue = defaultSystemPrompt;
|
||||
|
||||
Reference in new issue
Block a user