Commit Graph

179 Commits

Author SHA1 Message Date
Yidadaa
174c745279 fix: #648 password input style 2023-04-09 23:35:45 +08:00
GH Action - Upstream Sync
037d4638ea Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-04-08 07:07:44 +00:00
MaYuKe
7d2e850c42
Update ui-lib.module.scss
Fix: icon-button can not be completely masked by popover.
2023-04-08 12:19:14 +08:00
GH Action - Upstream Sync
70b6507299 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-04-07 21:07:51 +00:00
Yidadaa
637cda5b4c fix: #613 show all prompts when input / 2023-04-08 02:53:35 +08:00
ilarioscandurra
d935de3e57 Update: Confirmation on reset chats and settings 2023-04-07 20:50:06 +02:00
Yidadaa
13035ecb0d fix: auto grow textarea 2023-04-08 02:36:02 +08:00
leedom
406ed8a02a Merge branch 'main' into textarea-height-optimize 2023-04-07 13:33:37 +08:00
leedom
e5b4cb28fe fix: useEffect hooks 2023-04-07 12:39:27 +08:00
leedom
cb210d82e1 update: resizeTextarea 2023-04-07 12:33:09 +08:00
Mokou
58b956f7cc feat: Hot keys: Escape to close settings, Up Arrow to get last input 2023-04-07 12:26:22 +08:00
leedom
620b98fe6a Merge branch 'main' into textarea-height-optimize 2023-04-07 12:20:53 +08:00
leedom
3656c8458f feat: textarea with adaptive height 2023-04-07 12:17:37 +08:00
Yifei Zhang
6420f61566
fix: #537 delete chat button style 2023-04-07 11:23:10 +08:00
leedom
a8a8becf96 merge 2023-04-07 07:29:17 +08:00
leedom
b8a605f07d merge 2023-04-07 07:18:53 +08:00
Yidadaa
5952064362 feat: #499 revert delete session 2023-04-07 00:14:27 +08:00
Yidadaa
806587c8ea fix: #512 Mobile renaming should not return to chat list 2023-04-06 23:47:47 +08:00
Yifei Zhang
74cff2639b
Merge pull request #567 from leedom92/optimize-send-button
refactor: optimize component `IconButton`
2023-04-06 23:10:09 +08:00
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
xiaotianxt
dd20c36a55 fix: distinguish PC/Mobile behavior on auto-scroll
The chat list should be set to auto-scroll on mobile screen when the
input textarea is focused. It should not behave like that on PC screen
because user may want to refer to previous content.
2023-04-06 20:38:21 +08:00
Yifei Zhang
85bf4ac077
fix: #559 custom input ui style 2023-04-06 18:16:49 +08:00
Mokou
d92108453f fix: 兼容不同浏览器的input range兼容 2023-04-06 12:39:31 +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
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
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
xiaotianxt
301cbbfdfb
feat(dnd): add drag and drop feature 2023-04-06 01:43:10 +08:00
Yifei Zhang
2ae62d9c0e
Merge pull request #497 from waltcow/main
fix 头像无法正常显示
2023-04-05 22:07:17 +08:00
Yorun
909e2ab60f fix: header title overflow 2023-04-05 11:32:45 +00: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
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
MaYuKe
8ba1dedcea
Update settings.tsx
Update parameter `step` of historyMessageCount to 1.
2023-04-04 23:32:19 +08:00
kakawanyifan
0508b0080f linkTarget={'_blank'},这个对于对话框中的链接,会在新的tab页打开,体验更好。 2023-04-04 16:33:36 +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
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
Feifan Zheng
bb30fdfa17 feat: optimize usage display 2023-04-03 12:18:04 +00:00
RugerMc
c2a79e8a11 opt: back to auto scroll 2023-04-03 17:51:35 +08:00
cyhhao
ae8ceb8dca rm input mouseover 2023-04-03 15:21:03 +08:00