mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-14 17:41:22 +08:00
feat(skills): add skill deletion and improve UI/UX
- Add skill deletion functionality with confirmation dialog - Protect builtin skills from deletion - Optimize skill card layout (badge and enable button near menu) - Change enable button to icon-only with theme color - Improve card selection and hover states - Fix skill hub installation state tracking (per-skill) - Add proper i18n for delete feature (en/zh) - Add loading states to delete confirmation dialog - Remove manual refetch calls (use query invalidation)
This commit is contained in:
@@ -8,6 +8,14 @@
|
||||
"title": "Disable Skill?",
|
||||
"message": "Are you sure you want to disable \"{name}\"?"
|
||||
},
|
||||
"deleteConfirm": {
|
||||
"title": "Delete Skill?",
|
||||
"message": "Are you sure you want to delete \"{name}\"? This action cannot be undone."
|
||||
},
|
||||
"delete": {
|
||||
"success": "Skill \"{name}\" has been deleted",
|
||||
"error": "Failed to delete skill: {error}"
|
||||
},
|
||||
"location": {
|
||||
"project": "Project",
|
||||
"user": "Global",
|
||||
@@ -25,8 +33,10 @@
|
||||
"disable": "Disable",
|
||||
"toggle": "Toggle",
|
||||
"install": "Install Skill",
|
||||
"delete": "Delete",
|
||||
"cancel": "Cancel",
|
||||
"confirmDisable": "Disable"
|
||||
"confirmDisable": "Disable",
|
||||
"confirmDelete": "Delete"
|
||||
},
|
||||
"state": {
|
||||
"enabled": "Enabled",
|
||||
|
||||
Reference in New Issue
Block a user