diff --git a/dashboard/src/components/extension/SkillsSection.vue b/dashboard/src/components/extension/SkillsSection.vue
index 5553e007a5..5a43abc3c3 100644
--- a/dashboard/src/components/extension/SkillsSection.vue
+++ b/dashboard/src/components/extension/SkillsSection.vue
@@ -71,10 +71,6 @@
>
{{ tm("status.preset") }}
-
@@ -794,7 +790,6 @@ import { computed, nextTick, onMounted, reactive, ref, watch } from "vue";
import { VueMonacoEditor } from "@guolao/vue-monaco-editor";
import { skillApi, systemConfigApi } from "@/api/v1";
import { useI18n, useModuleI18n } from "@/i18n/composables";
-import CapabilitySourceChip from "@/components/shared/CapabilitySourceChip.vue";
import OutlinedActionListItem from "@/components/shared/OutlinedActionListItem.vue";
import { useCustomizerStore } from "@/stores/customizer";
@@ -807,7 +802,6 @@ const STATUS_SKIPPED = "skipped";
export default {
name: "SkillsSection",
components: {
- CapabilitySourceChip,
OutlinedActionListItem,
VueMonacoEditor,
},
@@ -985,28 +979,6 @@ export default {
return payload.skills || [];
};
- const sourceTypeLabel = (sourceType, skill = null) => {
- if (sourceType === "plugin") {
- return tm("skills.sourcePlugin", {
- plugin:
- skill?.plugin_display_name ||
- skill?.source_label ||
- skill?.plugin_name ||
- "",
- });
- }
- if (sourceType === "sandbox_only") return tm("skills.sourceSandboxOnly");
- if (sourceType === "both") return tm("skills.sourceBoth");
- return tm("skills.sourceLocalOnly");
- };
-
- const sourceTypeTone = (sourceType) => {
- if (sourceType === "sandbox_only") return "preset";
- if (sourceType === "plugin") return "plugin";
- if (sourceType === "both") return "mixed";
- return "local";
- };
-
const isSandboxPresetSkill = (skill) =>
skill?.source_type === "sandbox_only";
const isPluginProvidedSkill = (skill) => skill?.source_type === "plugin";
@@ -1863,8 +1835,6 @@ export default {
viewPayload,
deleteCandidate,
deleteRelease,
- sourceTypeLabel,
- sourceTypeTone,
isSandboxPresetSkill,
isPluginProvidedSkill,
isReadOnlySourceSkill,
diff --git a/dashboard/src/components/shared/CapabilitySourceChip.vue b/dashboard/src/components/shared/CapabilitySourceChip.vue
deleted file mode 100644
index b09e4ac403..0000000000
--- a/dashboard/src/components/shared/CapabilitySourceChip.vue
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
- {{ label }}
-
-
-
-
diff --git a/dashboard/src/components/shared/PersonaCapabilityList.vue b/dashboard/src/components/shared/PersonaCapabilityList.vue
index 3882cd2ffc..2a7e4c6aed 100644
--- a/dashboard/src/components/shared/PersonaCapabilityList.vue
+++ b/dashboard/src/components/shared/PersonaCapabilityList.vue
@@ -1,6 +1,5 @@