Refined UI,code logic for improved user experience

This commit is contained in:
2023-06-23 20:07:43 +08:00
parent 8420085fb1
commit 6711506acd
16 changed files with 170 additions and 320 deletions
+3 -1
View File
@@ -39,6 +39,7 @@ const cn = {
Masks: "所有面具",
Clear: "清除聊天",
Settings: "对话设置",
AIPaint: "AI绘画",
},
Rename: "重命名对话",
Typing: "正在输入…",
@@ -47,7 +48,8 @@ const cn = {
if (submitKey === String(SubmitKey.Enter)) {
inputHints += "Shift + Enter 换行";
}
return inputHints + "/ 触发补全";
// return inputHints + "/ 触发补全";
return inputHints;
},
Send: "发送",
Config: {
+3 -1
View File
@@ -40,6 +40,7 @@ const en: RequiredLocaleType = {
Masks: "Masks",
Clear: "Clear Context",
Settings: "Settings",
AIPaint: "AI Paint",
},
Rename: "Rename Chat",
Typing: "Typing…",
@@ -48,7 +49,8 @@ const en: RequiredLocaleType = {
if (submitKey === String(SubmitKey.Enter)) {
inputHints += ", Shift + Enter to wrap";
}
return inputHints + ", / to search prompts";
// return inputHints + ", / to search prompts";
return inputHints;
},
Send: "Send",
Config: {