From a91f26f753f1c6c08d9c86c8737b29180bf77479 Mon Sep 17 00:00:00 2001
From: "HTEWJ\\26070045" <2815434552@qq.com>
Date: Mon, 26 Oct 2026 18:22:57 +0800
Subject: [PATCH] =?UTF-8?q?feat(feedback):=20=E5=8F=8D=E9=A6=88=E5=BC=B9?=
=?UTF-8?q?=E7=AA=97=E6=95=B4=E9=A1=B5=E6=9B=BF=E6=8D=A2=20Element=20Plus?=
=?UTF-8?q?=20=E5=B9=B6=E6=94=AF=E6=8C=81=E7=B2=98=E8=B4=B4=E4=B8=8E?=
=?UTF-8?q?=E9=80=89=E5=9B=BE=E4=B8=8A=E4=BC=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../chat/components/ChatViewOverlays.vue | 1 -
.../workspace/components/WorkspaceModals.vue | 2 -
frontend/src/locales/en/feedback.json | 11 +-
frontend/src/locales/th/feedback.json | 11 +-
frontend/src/locales/zh-CN/feedback.json | 11 +-
frontend/src/locales/zh-TW/feedback.json | 11 +-
.../components/GeneralFeedbackDialog.vue | 367 +++++++++++++-----
7 files changed, 316 insertions(+), 98 deletions(-)
diff --git a/frontend/src/features/chat/components/ChatViewOverlays.vue b/frontend/src/features/chat/components/ChatViewOverlays.vue
index fab88387..daf1bae5 100644
--- a/frontend/src/features/chat/components/ChatViewOverlays.vue
+++ b/frontend/src/features/chat/components/ChatViewOverlays.vue
@@ -52,7 +52,6 @@ async function handleQueryPreviewAssetImage(assetId: string, assetName: string)
/>
diff --git a/frontend/src/locales/en/feedback.json b/frontend/src/locales/en/feedback.json
index ca99b054..7e5f75d4 100644
--- a/frontend/src/locales/en/feedback.json
+++ b/frontend/src/locales/en/feedback.json
@@ -26,5 +26,14 @@
},
"cancel": "Cancel",
"submitting": "Submitting...",
- "submit": "Submit"
+ "submit": "Submit",
+ "upload": {
+ "addImage": "Add images",
+ "pasteHint": "Paste a screenshot (Ctrl+V) or click to add, up to 5",
+ "maxCount": "Up to {count} images",
+ "maxSize": "Each image must be within {size}MB",
+ "invalidType": "Only png / jpg / jpeg / webp images are supported",
+ "uploadFailed": "Image upload failed, please retry",
+ "remove": "Remove image"
+ }
}
diff --git a/frontend/src/locales/th/feedback.json b/frontend/src/locales/th/feedback.json
index 0561c782..7585ac0e 100644
--- a/frontend/src/locales/th/feedback.json
+++ b/frontend/src/locales/th/feedback.json
@@ -26,5 +26,14 @@
},
"cancel": "ยกเลิก",
"submitting": "กำลังส่ง...",
- "submit": "ส่ง"
+ "submit": "ส่ง",
+ "upload": {
+ "addImage": "เพิ่มรูปภาพ",
+ "pasteHint": "วางภาพหน้าจอ (Ctrl+V) หรือคลิกเพื่อเพิ่ม สูงสุด 5 รูป",
+ "maxCount": "เพิ่มได้สูงสุด {count} รูป",
+ "maxSize": "รูปภาพเดียวต้องไม่เกิน {size}MB",
+ "invalidType": "รองรับเฉพาะไฟล์ png / jpg / jpeg / webp",
+ "uploadFailed": "อัปโหลดรูปภาพไม่สำเร็จ กรุณาลองอีกครั้ง",
+ "remove": "นำรูปภาพออก"
+ }
}
diff --git a/frontend/src/locales/zh-CN/feedback.json b/frontend/src/locales/zh-CN/feedback.json
index 3bad790d..c8d78924 100644
--- a/frontend/src/locales/zh-CN/feedback.json
+++ b/frontend/src/locales/zh-CN/feedback.json
@@ -26,5 +26,14 @@
},
"cancel": "取消",
"submitting": "提交中...",
- "submit": "提交"
+ "submit": "提交",
+ "upload": {
+ "addImage": "添加图片",
+ "pasteHint": "支持粘贴截图(Ctrl+V)或点击添加,最多 5 张",
+ "maxCount": "最多添加 {count} 张图片",
+ "maxSize": "单张图片不能超过 {size}MB",
+ "invalidType": "仅支持 png / jpg / jpeg / webp 格式图片",
+ "uploadFailed": "图片上传失败,请重试",
+ "remove": "移除图片"
+ }
}
diff --git a/frontend/src/locales/zh-TW/feedback.json b/frontend/src/locales/zh-TW/feedback.json
index f1b16473..b4fb4073 100644
--- a/frontend/src/locales/zh-TW/feedback.json
+++ b/frontend/src/locales/zh-TW/feedback.json
@@ -26,5 +26,14 @@
},
"cancel": "取消",
"submitting": "提交中...",
- "submit": "提交"
+ "submit": "提交",
+ "upload": {
+ "addImage": "添加圖片",
+ "pasteHint": "支援貼上截圖(Ctrl+V)或點擊新增,最多 5 張",
+ "maxCount": "最多新增 {count} 張圖片",
+ "maxSize": "單張圖片不能超過 {size}MB",
+ "invalidType": "僅支援 png / jpg / jpeg / webp 格式圖片",
+ "uploadFailed": "圖片上傳失敗,請重試",
+ "remove": "移除圖片"
+ }
}
diff --git a/frontend/src/shared/components/GeneralFeedbackDialog.vue b/frontend/src/shared/components/GeneralFeedbackDialog.vue
index 4aa7a79a..0b5cd27d 100644
--- a/frontend/src/shared/components/GeneralFeedbackDialog.vue
+++ b/frontend/src/shared/components/GeneralFeedbackDialog.vue
@@ -1,22 +1,56 @@
-
-