Commit Graph

195 Commits

Author SHA1 Message Date
dakai c51de32384 resolve conflict 2023-04-03 12:43:21 +08:00
dakai b5958e713a chat item style fit sidebar collapse 2023-04-03 12:35:45 +08:00
Yifei Zhang 56ba8a65e0 fix: improve scroll 2023-04-03 03:35:24 +00:00
Yifei Zhang 0e784c50ad fix: #384 improve scroll 2023-04-03 03:27:42 +00:00
Yifei Zhang 73865651a0 fix: #366 use fallback copy 2023-04-03 03:27:42 +00:00
Yifei Zhang 0d3bd42780
Update app.ts 2023-04-03 10:50:29 +08:00
Yifei Zhang e2c1475857 revert: fix mobile scroll 2023-04-02 19:24:29 +00:00
Yifei Zhang 8d34b0f454 chore: fix mobile scroll 2023-04-02 19:20:57 +00:00
Yifei Zhang b44caeeefb fix: #289 #367 #353 #369 provide more error message info 2023-04-02 19:14:53 +00:00
dakai 6bec3d6dcf resolve conflict 2023-04-03 03:07:16 +08:00
Yifei Zhang 8d60a414f0 chore: fix usage display 2023-04-02 18:55:08 +00:00
Yifei Zhang e8d71c815e chore: fix preview bubble 2023-04-02 18:51:37 +00:00
Yifei Zhang 1afca0b28a fix: mobile scroll problem 2023-04-02 18:41:25 +00:00
Yifei Zhang 2647bdb4ed fixup: ux improve 2023-04-02 18:28:07 +00:00
Yifei Zhang e8dd391ccf
Merge pull request #378 from Yidadaa/prompt-edit
feat: add context prompt edit
2023-04-03 02:03:54 +08:00
Yifei Zhang e3c3cd3d18 fixup: translation context 2023-04-02 18:02:03 +00:00
Yifei Zhang b85245e317 feat: #138 add context prompt, close #330 #321 2023-04-02 17:48:43 +00:00
Call White a10f4d8abc
translate SendPreviewBubble 2023-04-03 01:07:06 +08:00
Yifei Zhang c978de2c10 fix: #253 #356 auto scroll ux 2023-04-02 15:19:36 +00:00
dakai 56caf3a218 resolve conflict 2023-04-02 23:15:40 +08:00
dakai 4dd2ef71fa resolve conflict 2023-04-02 23:07:04 +08:00
Yifei Zhang 6c1862797b refactor: split homt.tsx components 2023-04-02 15:05:54 +00:00
Yifei Zhang 4f0108b0ea fix: #289 use highlight.js instead of prism 2023-04-02 14:48:18 +00:00
Yifei Zhang 7b5af271d5 fix: #367 failed to fetch account usage 2023-04-02 14:22:06 +00:00
Dakai a6c598c017 Initial commit
Created from https://vercel.com/new
2023-04-02 14:05:05 +00:00
Yifei Zhang 37587f6f71 fix: #244 optimize polyfill 2023-04-02 13:56:34 +00:00
Cesaryuan a356ee857c
Merge branch 'main' into patch-1 2023-04-02 21:39:03 +08:00
MapleUncle a90e646381 🐞 fix(locales): Fix the missing SendPreviewBubble in ES configuration 2023-04-02 20:38:14 +08:00
Cesaryuan 12f342f015 fix: historyMessageCount 2023-04-02 20:23:56 +08:00
Yifei Zhang e248e9196a
Merge pull request #271 from RugerMcCarthy/feat/send_preview_option
feat: add switch of send preview bubble
2023-04-02 20:08:35 +08:00
Cesaryuan fea4f561b4
fix: fix history message count
Bug: The length of `new Array(20).slice(20 - 24) ` is 4 which should be 24.
2023-04-02 19:43:11 +08:00
AprilNEA 0a60a87c9f
Merge branch 'main' into reset
# Conflicts:
#	app/components/settings.tsx
2023-04-02 13:45:34 +08:00
AprilNEA 506cdbc83c
feat: clear session only 2023-04-02 13:42:47 +08:00
Yifei Zhang a64c4384b1
Merge pull request #322 from quark-zju/wexin-compat
fix: 微信 Android 内置浏览器兼容性
2023-04-02 13:17:56 +08:00
dakai b60d3fecb9 cx(Commit changes to format display of chat item count 2023-04-02 12:13:43 +08:00
dakai fdc899cd7f Update styling for Home component and globals to adjust for collapsed sidebar width 2023-04-02 10:50:54 +08:00
Jun Wu cd5f8f7407 app: polyfill Array.at
This fixes compatibility issue with older browsers like WeChat webview.
The summary feature now works as expected.
2023-04-01 11:38:52 -07:00
dakai c0b4c466f6 resolve conflict 2023-04-02 01:29:21 +08:00
dakai 9f286fd997 hide sidebar in mobile screen 2023-04-02 01:22:41 +08:00
linqirong 00a282214e fix:修复中文输入法下enter错误发送消息问题 2023-04-02 00:12:31 +08:00
Jun Wu 327ac765df utils: simplify trimTopic
Also avoid using Array.prototype.at, which does not seem to exist
in the Wexin builtin webview (Android Wexin 8.0.30).
2023-04-01 03:37:28 -07:00
Jun Wu 83cea2adb8 api: set Content-Type to json
This avoids issues in browsers like WeChat where the encoding is
incorrect and the summary feature does not work if it contains
zh-CN characters.
2023-04-01 03:37:09 -07:00
Yifei Zhang 0385f6ede9
fix: #305 disable double click to copy on pc 2023-04-01 15:46:34 +08:00
Yifei Zhang 45bf2c3d25
fix: remove scroll anchor height 2023-04-01 15:39:30 +08:00
dakai 997cf89313 gpt logo opacity to 0.2 to fit the original icon 2023-04-01 11:00:51 +08:00
dakai 70602b5b76 resolve conflict, 10% larger msg box 2023-04-01 10:59:27 +08:00
dakai add9f9d9cb resolve conflict 2023-04-01 10:53:44 +08:00
dakai 863c39ba9f expanded sidebar width to its original side 2023-04-01 10:38:52 +08:00
dakai 131ef1c725 message container collapsed properly 2023-04-01 10:34:00 +08:00
dakai 045dc0c63e sidebar collapsed properly 2023-04-01 10:26:46 +08:00