From 67744d413d68c9f61fba514fce7b3ffdfd970800 Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Thu, 30 Jul 2026 17:25:06 +0800 Subject: [PATCH] refactor(skills): imported-origin marker uses Download, not Sparkles (#6187) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor(skills): imported-origin marker uses Download, not Sparkles Follow-up to #6177: with the identity mark unified on SkillIcon, the only Sparkles left on the skill detail page was the imported-origin marker. Swap it for Download — the glyph the import affordances (list-toolbar import button, URL import dialog) already use — so origin and the action that created it share one visual language, and Sparkles disappears from skill surfaces entirely. Co-Authored-By: Claude Fable 5 * fix(skills): detail origin marker mirrors the list's three-way source split The Download swap put an import glyph on manually created skills. Align the detail identity strip with the list's Source column: manual origin gets Pencil and the "Created manually" wording (was "Workspace"), runtime keeps HardDrive, imported sources keep Download. Co-Authored-By: Claude Fable 5 --------- Co-authored-by: Claude Fable 5 --- packages/views/locales/en/skills.json | 2 +- packages/views/locales/ja/skills.json | 2 +- packages/views/locales/ko/skills.json | 2 +- packages/views/locales/zh-Hans/skills.json | 2 +- packages/views/skills/components/skill-detail-page.tsx | 9 +++++++-- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/packages/views/locales/en/skills.json b/packages/views/locales/en/skills.json index 0878042489..a972dce0c1 100644 --- a/packages/views/locales/en/skills.json +++ b/packages/views/locales/en/skills.json @@ -122,7 +122,7 @@ "origin_clawhub": "Imported · ClawHub", "origin_skills_sh": "Imported · Skills.sh", "origin_github": "Imported · GitHub", - "origin_workspace": "Workspace" + "origin_workspace": "Created manually" }, "conflict_banner": { "title": "Someone else updated this skill", diff --git a/packages/views/locales/ja/skills.json b/packages/views/locales/ja/skills.json index 72ad48b4f0..5e8d0e66fc 100644 --- a/packages/views/locales/ja/skills.json +++ b/packages/views/locales/ja/skills.json @@ -117,7 +117,7 @@ "origin_clawhub": "インポート済み · ClawHub", "origin_skills_sh": "インポート済み · Skills.sh", "origin_github": "インポート済み · GitHub", - "origin_workspace": "ワークスペース" + "origin_workspace": "手動で作成" }, "conflict_banner": { "title": "他のユーザーがこのスキルを更新しました", diff --git a/packages/views/locales/ko/skills.json b/packages/views/locales/ko/skills.json index a8cfd4d7ed..da238c0738 100644 --- a/packages/views/locales/ko/skills.json +++ b/packages/views/locales/ko/skills.json @@ -117,7 +117,7 @@ "origin_clawhub": "가져옴 · ClawHub", "origin_skills_sh": "가져옴 · Skills.sh", "origin_github": "가져옴 · GitHub", - "origin_workspace": "워크스페이스" + "origin_workspace": "직접 생성" }, "conflict_banner": { "title": "다른 사람이 이 스킬을 업데이트했습니다", diff --git a/packages/views/locales/zh-Hans/skills.json b/packages/views/locales/zh-Hans/skills.json index bcce35f9d7..1b0db5f810 100644 --- a/packages/views/locales/zh-Hans/skills.json +++ b/packages/views/locales/zh-Hans/skills.json @@ -117,7 +117,7 @@ "origin_clawhub": "导入自 · ClawHub", "origin_skills_sh": "导入自 · Skills.sh", "origin_github": "导入自 · GitHub", - "origin_workspace": "工作区" + "origin_workspace": "手动创建" }, "conflict_banner": { "title": "其他人更新了这个 skill", diff --git a/packages/views/skills/components/skill-detail-page.tsx b/packages/views/skills/components/skill-detail-page.tsx index db34ebb98c..2650c21a76 100644 --- a/packages/views/skills/components/skill-detail-page.tsx +++ b/packages/views/skills/components/skill-detail-page.tsx @@ -5,13 +5,14 @@ import { AlertCircle, AlertTriangle, Clock3, + Download, FileText, HardDrive, Loader2, Lock, + Pencil, Plus, Save, - Sparkles, Trash2, UserPlus, Users, @@ -252,10 +253,14 @@ function SkillIdentity({
{originLabel && ( + {/* Same three-way split as the list's Source column: runtime, + created here, imported. */} {isRuntimeOrigin ? (