Repository navigation
Commit 44b5c1b
authored
feat(dashboard): show source badge for skills in skills list (#10339)
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.1 parent 1245979 commit 44b5c1b
1 file changed
Lines changed: 33 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
161 | 169 | | |
162 | 170 | | |
163 | 171 | | |
| |||
1157 | 1165 | | |
1158 | 1166 | | |
1159 | 1167 | | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
1160 | 1191 | | |
1161 | 1192 | | |
1162 | 1193 | | |
| |||
2177 | 2208 | | |
2178 | 2209 | | |
2179 | 2210 | | |
| 2211 | + | |
2180 | 2212 | | |
2181 | 2213 | | |
2182 | 2214 | | |
| |||
0 commit comments