Commit Graph

324 Commits

Author SHA1 Message Date
xiaotianxt 3490c294dc
chore(deps): introduce dnd 2023-04-06 01:43:10 +08:00
Yifei Zhang dbdb9baf5f
Update issue templates 2023-04-06 01:35:53 +08:00
Yifei Zhang 2ae62d9c0e
Merge pull request #497 from waltcow/main
fix 头像无法正常显示
2023-04-05 22:07:17 +08:00
Yifei Zhang ee4564d926
Merge pull request #500 from yorunning/fix
fix: header title overflow
2023-04-05 20:02:26 +08:00
Yorun 909e2ab60f fix: header title overflow 2023-04-05 11:32:45 +00:00
Yifei Zhang 17d6f3d715
Merge pull request #496 from quark-zju/m/memo-markdown
perf: memorize markdown rendering
2023-04-05 18:00:57 +08:00
waltcow f4fc682fa3
add `getEmojiUrl` as util function 2023-04-05 15:48:44 +08:00
waltcow 80904ac2bb
fix import 2023-04-05 15:31:46 +08:00
waltcow 91322f33eb
emoji resouce CDN format override 2023-04-05 15:29:25 +08:00
Jun Wu 962f434e17 perf: memorize markdown rendering
Markdown rendering can take time. Use `React.memo` for better performance.

The improvement is especially visible if there are complex elements. For
example, a `<Chat />` with an output of `如何推导三次方程求根方程?` (which
uses latex) now renders in about 5ms, down from ~140ms.

Related: #302
2023-04-05 00:16:10 -07:00
Yifei Zhang 4542c18385
Merge pull request #491 from quark-zju/patch-1
chore: removed redundant checkUsage
2023-04-05 15:06:49 +08:00
Jun Wu 2625c1246b
chore: removed redundant checkUsage
`checkUsage()` was already called by another `useEffect`.
There is no need to call it twice.
2023-04-04 22:41:33 -07:00
Yifei Zhang bd7567fa85
Merge pull request #434 from gaogao1030/optimize
[opt]  Optimize the display of exported chat history content.
2023-04-05 02:08:38 +08:00
Yifei Zhang 9d328e489b
Merge pull request #476 from ClarenceYk/main
Update settings.tsx
2023-04-05 01:21:03 +08:00
MaYuKe 8ba1dedcea
Update settings.tsx
Update parameter `step` of historyMessageCount to 1.
2023-04-04 23:32:19 +08:00
Yifei Zhang bf8d136936
Merge pull request #456 from KakaWanYifan/linkTarget={_blank}
linkTarget={'_blank'},这个对于对话框中的链接,会在新的tab页打开,体验更好。
2023-04-04 17:07:41 +08:00
kakawanyifan 0508b0080f linkTarget={'_blank'},这个对于对话框中的链接,会在新的tab页打开,体验更好。 2023-04-04 16:33:36 +08:00
Yifei Zhang 1d2a95361b
Merge pull request #447 from KakaWanYifan/main
访问改成授权
2023-04-04 15:00:43 +08:00
kakawanyifan 47f055872e 访问改成授权 2023-04-04 13:27:50 +08:00
Yifei Zhang 15429cd67f
Merge pull request #435 from yorunning/fix-1
fix: add media query to theme-color, fix auto theme not updating theme-color
2023-04-04 11:16:34 +08:00
ガオガオ be4144fab3 [opt] Optimize the display of exported chat history content. 2023-04-04 05:55:06 +08:00
Yifei Zhang 7d7f3716be
Update README.md 2023-04-04 01:06:00 +08:00
yidadaa 4e644cfca7 fix: #418 valid model config 2023-04-04 01:05:33 +08:00
Yorun 30ff915e9d fix: add media query to theme-color, fix auto theme not updating theme-color 2023-04-03 16:24:59 +00:00
Yifei Zhang 7572c99f4d
Merge pull request #420 from ZyXianzi/main
feat: optimize usage display
2023-04-03 22:52:08 +08:00
Feifan Zheng bb30fdfa17 feat: optimize usage display 2023-04-03 12:18:04 +00:00
Yifei Zhang a4743034a9
Merge pull request #415 from RugerMcCarthy/opt/back_to_autoscroll
opt: back to autoscroll when hit bottom
2023-04-03 17:57:40 +08:00
RugerMc c2a79e8a11 opt: back to auto scroll 2023-04-03 17:51:35 +08:00
Ruger ec88785b6d
Merge branch 'Yidadaa:main' into main 2023-04-03 16:37:44 +08:00
Yifei Zhang d923869dc3
Merge pull request #404 from cyhhao/pr2
optimize: scrolling experience
2023-04-03 15:33:01 +08:00
cyhhao ae8ceb8dca rm input mouseover 2023-04-03 15:21:03 +08:00
cyhhao 8db26bbd5f rm msg body mouseover 2023-04-03 15:20:16 +08:00
cyhhao efd3310711 fix conflict 2023-04-03 14:58:34 +08:00
cyhhao a6890c0f58 optimize: scrolling experience 2023-04-03 14:56:13 +08:00
Yifei Zhang b5a69b66b2
Merge pull request #401 from cyhhao/pr2
fix: context message should exclude all error tips
2023-04-03 14:26:32 +08:00
Yifei Zhang 54447ba677
Merge pull request #400 from yorunning/main
ci(sync): add push permission
2023-04-03 14:24:08 +08:00
GH Action - Upstream Sync 13a86aead7 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-04-03 06:23:04 +00:00
cyhhao 73f4ea38c6 session message should exclude all error tips 2023-04-03 14:13:57 +08:00
Yorun 82c025a34a ci(sync): add push permission 2023-04-03 06:03:36 +00:00
Yifei Zhang fb127f7857
Merge pull request #377 from ilario92/main
Update: locales in Italian
2023-04-03 13:44:40 +08:00
Yifei Zhang 6f82140ba5
Update README.md 2023-04-03 13:37:55 +08:00
github-actions[bot] 6a9751efce
Merge pull request #3 from Yidadaa/main
Fork Sync
2023-04-03 05:29:44 +00:00
Yidadaa 5c75b6c784 fix: #397 #373 Array.prototype.at polyfill errors 2023-04-03 13:29:37 +08:00
Ruger 34ea20b109
Merge pull request #2 from Yidadaa/main
Fork Sync
2023-04-03 13:28:42 +08:00
Yifei Zhang 6e6d2a3310
Update README.md 2023-04-03 11:43:38 +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 f863a562a0
Merge pull request #392 from yorunning/main
ci(sync): skip main repo execution
2023-04-03 10:53:01 +08:00
Yifei Zhang 0d3bd42780
Update app.ts 2023-04-03 10:50:29 +08:00