Commit Graph

357 Commits

Author SHA1 Message Date
leedom cd671066f7 remove unnecessary judgment 2023-04-06 22:52:18 +08:00
Leedom fb3f5a414a
Update button.module.scss 2023-04-06 21:34:00 +08:00
leedom b7cdea1b82 refactor: optimize send button 2023-04-06 21:02:48 +08:00
Yifei Zhang 85bf4ac077
fix: #559 custom input ui style 2023-04-06 18:16:49 +08:00
Yifei Zhang 29bc9a45df
Merge pull request #535 from zhongmeizhi/main
fix: 兼容不同浏览器的input range
2023-04-06 17:47:05 +08:00
Yifei Zhang 09fde0528a
Update README.md 2023-04-06 17:38:03 +08:00
Yifei Zhang f7624f29b1
Merge pull request #557 from Yidadaa/Yidadaa-patch-1
Update requests.ts
2023-04-06 17:35:37 +08:00
Yifei Zhang f7e42179d0
fixup 2023-04-06 17:34:17 +08:00
Yifei Zhang 6823839f4b
fixup 2023-04-06 17:28:09 +08:00
Yifei Zhang a68721fcf2
Update requests.ts 2023-04-06 17:14:19 +08:00
Yifei Zhang 03a2a4e534
Update README.md 2023-04-06 17:02:47 +08:00
Mokou d92108453f fix: 兼容不同浏览器的input range兼容 2023-04-06 12:39:31 +08:00
Yifei Zhang 03b3f16472
Update README_CN.md 2023-04-06 04:50:32 +08:00
Yifei Zhang 6bd2c2f121
Create CODE_OF_CONDUCT.md 2023-04-06 04:43:31 +08:00
Yifei Zhang 998c5b2969
Update issue templates 2023-04-06 04:27:38 +08:00
Yifei Zhang f509cc73ca
Update issue templates 2023-04-06 04:17:20 +08:00
Yifei Zhang f71354faed
Merge pull request #509 from xiaotianxt/feat/dnd-xiaotianxt
Drag & Drop support for ChatList
2023-04-06 04:12:00 +08:00
Yifei Zhang 796eafbf8f
Update README_CN.md 2023-04-06 04:11:12 +08:00
Yifei Zhang 46daafd190
Update README_CN.md 2023-04-06 04:10:51 +08:00
Yifei Zhang b1e26a5063
Merge pull request #510 from Yidadaa/user-prompt
feat: split docs, clear messages and fix stop response
2023-04-06 04:02:48 +08:00
Yidadaa c77f946be1 fixup 2023-04-06 04:01:53 +08:00
Yidadaa acfe6eec18 fix: #463 add subscrption total amount 2023-04-06 03:56:54 +08:00
Yidadaa dce2546f5f fix: #451 override default model config 2023-04-06 03:26:42 +08:00
Yidadaa 8e560d2b2e fix: #410 can not stop response 2023-04-06 03:19:33 +08:00
xiaotianxt f920b2001d
performance: introduce lazy-loading for ChatList
Reduce the first load JS bundle size using next/dynamic.
2023-04-06 02:41:27 +08:00
Yidadaa c2b37f811b feat: close #469 support reset session and do not send memory 2023-04-06 02:37:12 +08:00
Yidadaa 0e77177a60 fix: #439 context prompt input with textarea 2023-04-06 02:05:44 +08:00
Yifei Zhang 9aaceda40d
Merge pull request #482 from zyqq/main
fix(utils): 修复复制问题
2023-04-06 01:48:20 +08:00
Yifei Zhang eb1573de4f
Update issue templates 2023-04-06 01:44:02 +08:00
xiaotianxt 301cbbfdfb
feat(dnd): add drag and drop feature 2023-04-06 01:43:10 +08:00
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
Yidadaa 7da0cc6551 doc: update screenshots 2023-04-06 01:22:29 +08:00
Yidadaa de78fd07c5 doc: update document 2023-04-06 00:41:44 +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
yiqiuzheng 0af55366f1 fix(utils): 修复复制问题 2023-04-05 02:49:44 +08: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