feat(web): add sidebar feedback popover

Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com>
This commit is contained in:
Hyu
2026-06-24 16:43:50 +08:00
committed by GitHub
parent 59b2a7cd51
commit 76471af179
8 changed files with 456 additions and 17 deletions
+17 -1
View File
@@ -35,7 +35,7 @@ const enUS = {
emptyPassword: 'Please enter your password',
language: 'Language',
helpDocs: 'Get Help',
featureRequest: 'Feature Request',
featureRequest: 'Feedback',
starOnGitHub: 'Star on GitHub',
joinDiscord: 'Join our Discord',
create: 'Create',
@@ -1362,6 +1362,22 @@ const enUS = {
inaccurateReasons: 'Inaccurate Reasons',
platform: 'Platform',
exportFeedback: 'Export Feedback',
description:
'Tell us what went wrong or what could be better. Instance UUID, login account, and page info are included for diagnosis.',
placeholder: 'Describe your suggestion, issue, or reproduction steps...',
attachImage: 'Add image',
screenshot: 'Screenshot',
submit: 'Submit feedback',
privacyHint:
'Do not include secrets, passwords, or private chat content.',
contentRequired: 'Please enter feedback first',
imageOnly: 'Only image attachments are supported',
imageTooLarge: 'Each image must be under 2MB',
tooManyImages: 'You can attach up to 3 images',
screenshotFailed: 'Screenshot failed. Try pasting or uploading an image.',
submitSuccess: 'Feedback submitted. Thanks!',
submitFailed: 'Failed to submit feedback. Please try again later.',
removeImage: 'Remove image',
},
queries: {
title: 'Queries',
+17 -1
View File
@@ -36,7 +36,7 @@ const jaJP = {
emptyPassword: 'パスワードを入力してください',
language: '言語',
helpDocs: 'ヘルプドキュメント',
featureRequest: '機能リクエスト',
featureRequest: 'フィードバック',
starOnGitHub: 'GitHubでStarする',
joinDiscord: 'Discord に参加',
create: '作成',
@@ -1368,6 +1368,22 @@ const jaJP = {
inaccurateReasons: '不正確な理由',
platform: 'プラットフォーム',
exportFeedback: 'フィードバックをエクスポート',
description:
'問題点や改善案を教えてください。診断のため、インスタンス UUID、ログインアカウント、ページ情報も送信されます。',
placeholder: '提案、問題、再現手順を入力してください...',
attachImage: '画像を追加',
screenshot: 'スクリーンショット',
submit: '送信',
privacyHint: '秘密鍵、パスワード、個人的な会話内容は含めないでください。',
contentRequired: 'フィードバック内容を入力してください',
imageOnly: '画像のみ添付できます',
imageTooLarge: '画像は 1 枚 2MB 未満にしてください',
tooManyImages: '画像は最大 3 枚まで添付できます',
screenshotFailed:
'スクリーンショットに失敗しました。貼り付けまたはアップロードを試してください。',
submitSuccess: 'フィードバックを送信しました。ありがとうございます!',
submitFailed: '送信に失敗しました。後でもう一度お試しください。',
removeImage: '画像を削除',
},
messageDetails: {
noData: 'このクエリにはLLM呼び出しやエラーがありません',
+16 -1
View File
@@ -34,7 +34,7 @@ const zhHans = {
emptyPassword: '请输入密码',
language: '语言',
helpDocs: '帮助文档',
featureRequest: '需求建议',
featureRequest: '建议反馈',
starOnGitHub: '在 GitHub 上 Star',
joinDiscord: '加入 Discord 社区',
create: '创建',
@@ -1301,6 +1301,21 @@ const zhHans = {
inaccurateReasons: '不准确原因',
platform: '平台',
exportFeedback: '导出反馈',
description:
'告诉我们遇到的问题或想要的改进。提交时会附带实例 UUID、登录账号和当前页面信息,方便定位。',
placeholder: '请描述你的建议、问题或复现步骤...',
attachImage: '添加图片',
screenshot: '截图',
submit: '提交反馈',
privacyHint: '请勿提交敏感密钥、密码或私人聊天内容。',
contentRequired: '请先填写反馈内容',
imageOnly: '仅支持图片附件',
imageTooLarge: '单张图片不能超过 2MB',
tooManyImages: '最多添加 3 张图片',
screenshotFailed: '截图失败,请尝试粘贴或上传图片',
submitSuccess: '反馈已提交,感谢!',
submitFailed: '反馈提交失败,请稍后重试',
removeImage: '移除图片',
},
queries: {
title: '查询记录',