Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(agents): drop the import-hint callout on agent Skills tab (again) (#3301)

Bohan Jiang735f18a4ef7a
diff --git a/packages/views/agents/components/tabs/skills-tab.tsx b/packages/views/agents/components/tabs/skills-tab.tsx
index 8edcb6a45c..d7a1c940fa 100644
--- a/packages/views/agents/components/tabs/skills-tab.tsx
+++ b/packages/views/agents/components/tabs/skills-tab.tsx
@@ -1,7 +1,7 @@
"use client";
import { useState } from "react";
-import { FileText, Info, Plus, Trash2 } from "lucide-react";
+import { FileText, Plus, Trash2 } from "lucide-react";
import { useQuery, useQueryClient } from "@tanstack/react-query";
import { toast } from "sonner";
import type { Agent } from "@multica/core/types";
@@ -51,7 +51,7 @@ export function SkillsTab({
return (
<div className="space-y-4">
- <div className="flex items-start justify-between gap-3">
+ <div className="flex items-center justify-between gap-3">
<p className="text-xs text-muted-foreground">
{t(($) => $.tab_body.skills.intro)}
</p>
@@ -67,13 +67,6 @@ export function SkillsTab({
</Button>
</div>
- <div className="flex items-start gap-2 rounded-md border border-info/20 bg-info/5 px-3 py-2.5">
- <Info className="mt-0.5 h-3.5 w-3.5 shrink-0 text-info" />
- <p className="text-xs text-muted-foreground">
- {t(($) => $.tab_body.skills.import_hint)}
- </p>
- </div>
-
{agent.skills.length === 0 ? (
<div className="flex flex-col items-center justify-center rounded-lg border border-dashed py-12">
<FileText className="h-8 w-8 text-muted-foreground/40" />
diff --git a/packages/views/locales/en/agents.json b/packages/views/locales/en/agents.json
index 8587b3edbb..f752a40543 100644
--- a/packages/views/locales/en/agents.json
+++ b/packages/views/locales/en/agents.json
@@ -297,7 +297,6 @@
"skills": {
"intro": "Workspace skills assigned to this agent. Local runtime skills are always available automatically.",
"add_action": "Add skill",
- "import_hint": "Importing creates a workspace copy that your team can edit and reuse.",
"empty_title": "No skills assigned",
"empty_hint": "Add workspace skills to share team knowledge with this agent.",
"remove_failed_toast": "Failed to remove skill",
diff --git a/packages/views/locales/zh-Hans/agents.json b/packages/views/locales/zh-Hans/agents.json
index 4b94e5a059..4221d72e08 100644
--- a/packages/views/locales/zh-Hans/agents.json
+++ b/packages/views/locales/zh-Hans/agents.json
@@ -291,7 +291,6 @@
"skills": {
"intro": "分配给该智能体的工作区 skill。本地运行时 skill 会自动可用。",
"add_action": "添加 skill",
- "import_hint": "导入会在工作区创建一份副本,团队可以编辑和复用。",
"empty_title": "尚未分配 skill",
"empty_hint": "添加工作区 skill,把团队知识共享给这个智能体。",
"remove_failed_toast": "移除 skill 失败",