{{ message }}
Repository navigation
feat(dashboard): show source badge for skills in skills list - #10339
Merged
Merged
Conversation
Display the origin of each skill in the Local Skills list so users can
tell independently installed skills apart from plugin-provided and
sandbox-preset ones without reading the file path.
- Add a source chip in the skill card title area:
- plugin skills show "Plugin: {name}", preferring the plugin display
name and falling back to the source label / plugin name
- local-only, local + sandbox and sandbox-preset skills get their own
labels
- Reuse the existing skills.sourcePlugin/sourceBoth/sourceSandboxOnly/
sourceLocalOnly i18n keys that are already present in all four locales.
- Narrow the existing "preset" chip condition to skill.preset so it no
longer duplicates the sandbox-preset source label.
- Keep the disabled and read-only behavior unchanged.
Soulter
approved these changes
Oct 3, 2026
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #10334.
In the "Plugins -> Skills" list, standalone skills (
data/skills/...) and plugin-provided skills (data/plugins/<plugin>/skills/...) look identical: only the name, description, and file path are shown, so users have to read the path to tell where a skill comes from. This is confusing when a plugin is disabled or misbehaving, because its skills become unavailable and can easily be mistaken for standalone skills. The backend already returns the origin fields (source_type,source_label,plugin_name,plugin_display_name,plugin_active) andPersonaCapabilitiesEditor.vuealready uses them, butSkillsSection.vueonly usedsource_typefor behavior control and never displayed the origin.Modifications / 改动点
Only
dashboard/src/components/extension/SkillsSection.vueis modified.Add a source chip to every skill card in the Local Skills list: plugin skills show
Plugin: {name}(preferringplugin_display_name, thensource_label, thenplugin_name),bothshowsLocal + Sandbox,sandbox_onlyshowsSandbox Preset Skill, and everything else showsLocal Skill.Reuse the existing
skills.sourcePlugin/skills.sourceBoth/skills.sourceSandboxOnly/skills.sourceLocalOnlyi18n keys, which already exist in all four locales (en-US,ja-JP,ru-RU,zh-CN). No new translation keys are added.Narrow the existing "Preset" chip condition to
skill.preset, so it no longer duplicates the new sandbox-preset source label.The disabled / read-only behavior and the existing "Plugin disabled" chip are intentionally unchanged.
This is NOT a breaking change. / 这不是一个破坏性变更。
Screenshots or Test Results / 运行截图或测试结果
Verification steps: open the Dashboard, go to Plugins -> Skills (Local mode); confirm a source chip is shown on every card (plugin skills show
Plugin: <display name>and additionallyPresetfor built-in plugins, standalone skills showLocal Skill, sandbox-preset skills showSandbox Preset Skill); disable a plugin and confirmPlugin: <name>still shows next toPlugin disabled; switch the Dashboard language and confirm the chip text is localized.Screenshots:
Checklist / 检查清单
😊 If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc. / 如果 PR 中有新加入的功能,已经通过 Issue / 邮件等方式和作者讨论过。
👀 My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above. / 我的更改经过了良好的测试,并已在上方提供了“验证步骤”和“运行截图”。
📚 I checked the affected WebUI instructions and screenshots in
docs/zhanddocs/enagainst the changed navigation, page structure, and labels, and updated them in this PR (or explained why no documentation update is needed). For renamed, moved, or merged entry points, I included an old entry → new entry mapping in the documentation and changelog. / 我已对照变化后的 WebUI 入口、页面结构和术语,核对并在本 PR 中更新docs/zh和docs/en的相关操作说明与截图(或说明无需更新文档的原因)。入口改名、移动或合并时,已在文档和 changelog 中补充 旧入口 → 新入口 对照。🤓 I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in
requirements.txtandpyproject.toml. / 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到requirements.txt和pyproject.toml文件相应位置。😮 My changes do not introduce malicious code. / 我的更改没有引入恶意代码。
Summary by Sourcery
Display each skill’s origin directly in the Dashboard skills list.
New Features:
Enhancements: