diff --git a/.vscode/settings.json b/.vscode/settings.json index 005a2a6..346eb38 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,7 +2,7 @@ "prettier.enable": false, "editor.formatOnSave": false, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "eslint.validate": [ "javascript", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3448580..dc0be5a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -100,6 +100,9 @@ devDependencies: '@types/node': specifier: ^18.14.6 version: 18.14.6 + '@vicons/ionicons5': + specifier: ^0.12.0 + version: 0.12.0 '@vitejs/plugin-vue': specifier: ^4.0.0 version: 4.0.0(vite@4.2.0)(vue@3.2.47) @@ -2476,6 +2479,10 @@ packages: eslint-visitor-keys: 3.3.0 dev: true + /@vicons/ionicons5@0.12.0: + resolution: {integrity: sha512-Iy1EUVRpX0WWxeu1VIReR1zsZLMc4fqpt223czR+Rpnrwu7pt46nbnC2ycO7ItI/uqDLJxnbcMC7FujKs9IfFA==} + dev: true + /@vitejs/plugin-vue@4.0.0(vite@4.2.0)(vue@3.2.47): resolution: {integrity: sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==} engines: {node: ^14.18.0 || >=16.0.0} @@ -7689,6 +7696,7 @@ packages: /workbox-google-analytics@6.6.0: resolution: {integrity: sha512-p4DJa6OldXWd6M9zRl0H6vB9lkrmqYFkRQ2xEiNdBFp9U0LhsGO7hsBscVEyH9H2/3eZZt8c97NB2FD9U2NJ+Q==} + deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained dependencies: workbox-background-sync: 6.6.0 workbox-core: 6.6.0 diff --git a/src/App.vue b/src/App.vue index 612ce1d..305046e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,4 +1,4 @@ - + diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index a20264a..e6a2119 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -29,8 +29,8 @@ export default { stopResponding: 'Stop Responding', }, chat: { - newChatButton: 'New Chat', - newChatTitle: 'New Chat', + newChatButton: '', + newChatTitle: '', placeholder: 'Ask me anything...(Shift + Enter = line break, "/" to trigger prompts)', placeholderMobile: 'Ask me anything...', copy: 'Copy', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index adf7e43..1f0f6e4 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -29,8 +29,8 @@ export default { stopResponding: '停止响应', }, chat: { - newChatButton: '新建聊天', - newChatTitle: '新建聊天', + newChatButton: '', + newChatTitle: '', placeholder: '来说点什么吧...(Shift + Enter = 换行)', placeholderMobile: '来说点什么...', copy: '复制', diff --git a/src/views/chat/components/Header/index.vue b/src/views/chat/components/Header/index.vue index c16fc47..f0692fa 100644 --- a/src/views/chat/components/Header/index.vue +++ b/src/views/chat/components/Header/index.vue @@ -43,6 +43,7 @@ function handleClear() {