feat(ui): add delete button and Del shortcut to model and recipe modals

This commit is contained in:
Will Miao
2026-08-24 09:27:00 +08:00
parent 90be5799e4
commit 8ca66e72eb
15 changed files with 258 additions and 140 deletions
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "LoRA-Rezepte",
"actions": {
"sendCheckpoint": "Send to ComfyUI",
"sendRecipe": "Send to ComfyUI"
"sendRecipe": "Send to ComfyUI",
"deleteRecipeWithShortcut": "Rezept löschen (Del)"
},
"navigation": {
"label": "Rezeptnavigation",
@@ -1440,7 +1441,8 @@
"openFileLocation": "Dateispeicherort öffnen",
"sendToWorkflow": "An ComfyUI senden",
"sendToWorkflowText": "An ComfyUI senden",
"copyHash": "Hash kopieren"
"copyHash": "Hash kopieren",
"deleteModelWithShortcut": "Modell löschen (Del)"
},
"openFileLocation": {
"success": "Dateispeicherort erfolgreich geöffnet",
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "LoRA Recipes",
"actions": {
"sendCheckpoint": "Send to ComfyUI",
"sendRecipe": "Send to ComfyUI"
"sendRecipe": "Send to ComfyUI",
"deleteRecipeWithShortcut": "Delete recipe (Del)"
},
"navigation": {
"label": "Recipe navigation",
@@ -1440,7 +1441,8 @@
"openFileLocation": "Open File Location",
"sendToWorkflow": "Send to ComfyUI",
"sendToWorkflowText": "Send to ComfyUI",
"copyHash": "Copy hash"
"copyHash": "Copy hash",
"deleteModelWithShortcut": "Delete model (Del)"
},
"openFileLocation": {
"success": "File location opened successfully",
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "Recetas de LoRA",
"actions": {
"sendCheckpoint": "Enviar a ComfyUI",
"sendRecipe": "Enviar a ComfyUI"
"sendRecipe": "Enviar a ComfyUI",
"deleteRecipeWithShortcut": "Eliminar receta (Del)"
},
"navigation": {
"label": "Navegación de recetas",
@@ -1440,7 +1441,8 @@
"openFileLocation": "Abrir ubicación del archivo",
"sendToWorkflow": "Enviar a ComfyUI",
"sendToWorkflowText": "Enviar a ComfyUI",
"copyHash": "Copiar hash"
"copyHash": "Copiar hash",
"deleteModelWithShortcut": "Eliminar modelo (Del)"
},
"openFileLocation": {
"success": "Ubicación del archivo abierta exitosamente",
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "LoRA Recipes",
"actions": {
"sendCheckpoint": "Envoyer vers ComfyUI",
"sendRecipe": "Envoyer vers ComfyUI"
"sendRecipe": "Envoyer vers ComfyUI",
"deleteRecipeWithShortcut": "Supprimer la recette (Del)"
},
"navigation": {
"label": "Navigation des recettes",
@@ -1440,7 +1441,8 @@
"openFileLocation": "Ouvrir l'emplacement du fichier",
"sendToWorkflow": "Envoyer vers ComfyUI",
"sendToWorkflowText": "Envoyer vers ComfyUI",
"copyHash": "Copier le hash"
"copyHash": "Copier le hash",
"deleteModelWithShortcut": "Supprimer le modèle (Del)"
},
"openFileLocation": {
"success": "Emplacement du fichier ouvert avec succès",
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "מתכוני LoRA",
"actions": {
"sendCheckpoint": "שלח ל-ComfyUI",
"sendRecipe": "שלח ל-ComfyUI"
"sendRecipe": "שלח ל-ComfyUI",
"deleteRecipeWithShortcut": "מחק מתכון (Del)"
},
"navigation": {
"label": "ניווט מתכונים",
@@ -1440,7 +1441,8 @@
"openFileLocation": "פתח מיקום קובץ",
"sendToWorkflow": "שלח ל-ComfyUI",
"sendToWorkflowText": "שלח ל-ComfyUI",
"copyHash": "העתק האש"
"copyHash": "העתק האש",
"deleteModelWithShortcut": "מחק מודל (Del)"
},
"openFileLocation": {
"success": "מיקום הקובץ נפתח בהצלחה",
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "LoRAレシピ",
"actions": {
"sendCheckpoint": "ComfyUIへ送信",
"sendRecipe": "ComfyUIへ送信"
"sendRecipe": "ComfyUIへ送信",
"deleteRecipeWithShortcut": "レシピを削除(Del"
},
"navigation": {
"label": "レシピナビゲーション",
@@ -1440,7 +1441,8 @@
"openFileLocation": "ファイルの場所を開く",
"sendToWorkflow": "ComfyUI に送信",
"sendToWorkflowText": "ComfyUI に送信",
"copyHash": "ハッシュをコピー"
"copyHash": "ハッシュをコピー",
"deleteModelWithShortcut": "モデルを削除(Del"
},
"openFileLocation": {
"success": "ファイルの場所を正常に開きました",
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "LoRA 레시피",
"actions": {
"sendCheckpoint": "ComfyUI로 보내기",
"sendRecipe": "ComfyUI로 보내기"
"sendRecipe": "ComfyUI로 보내기",
"deleteRecipeWithShortcut": "레시피 삭제(Del)"
},
"navigation": {
"label": "레시피 탐색",
@@ -1440,7 +1441,8 @@
"openFileLocation": "파일 위치 열기",
"sendToWorkflow": "ComfyUI로 보내기",
"sendToWorkflowText": "ComfyUI로 보내기",
"copyHash": "해시 복사"
"copyHash": "해시 복사",
"deleteModelWithShortcut": "모델 삭제(Del)"
},
"openFileLocation": {
"success": "파일 위치가 성공적으로 열렸습니다",
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "Рецепты LoRA",
"actions": {
"sendCheckpoint": "Отправить в ComfyUI",
"sendRecipe": "Отправить в ComfyUI"
"sendRecipe": "Отправить в ComfyUI",
"deleteRecipeWithShortcut": "Удалить рецепт (Del)"
},
"navigation": {
"label": "Навигация по рецептам",
@@ -1440,7 +1441,8 @@
"openFileLocation": "Открыть расположение файла",
"sendToWorkflow": "Отправить в ComfyUI",
"sendToWorkflowText": "Отправить в ComfyUI",
"copyHash": "Копировать хэш"
"copyHash": "Копировать хэш",
"deleteModelWithShortcut": "Удалить модель (Del)"
},
"openFileLocation": {
"success": "Расположение файла успешно открыто",
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "LoRA 配方",
"actions": {
"sendCheckpoint": "发送到 ComfyUI",
"sendRecipe": "发送到 ComfyUI"
"sendRecipe": "发送到 ComfyUI",
"deleteRecipeWithShortcut": "删除配方(Del"
},
"navigation": {
"label": "配方导航",
@@ -1440,7 +1441,8 @@
"openFileLocation": "打开文件位置",
"sendToWorkflow": "发送到 ComfyUI",
"sendToWorkflowText": "发送到 ComfyUI",
"copyHash": "复制哈希值"
"copyHash": "复制哈希值",
"deleteModelWithShortcut": "删除模型(Del"
},
"openFileLocation": {
"success": "文件位置已成功打开",
+4 -2
View File
@@ -855,7 +855,8 @@
"title": "LoRA 配方",
"actions": {
"sendCheckpoint": "傳送到 ComfyUI",
"sendRecipe": "傳送到 ComfyUI"
"sendRecipe": "傳送到 ComfyUI",
"deleteRecipeWithShortcut": "刪除配方(Del"
},
"navigation": {
"label": "配方導覽",
@@ -1440,7 +1441,8 @@
"openFileLocation": "開啟檔案位置",
"sendToWorkflow": "傳送到 ComfyUI",
"sendToWorkflowText": "傳送到 ComfyUI",
"copyHash": "複製雜湊值"
"copyHash": "複製雜湊值",
"deleteModelWithShortcut": "刪除模型(Del"
},
"openFileLocation": {
"success": "檔案位置已成功開啟",