Yifei Zhang
943e437895
Revert "fix: autoscroll conflict"
2023-04-12 19:48:12 +08:00
betgo
ee779cdc23
fix: autoscroll conflict
2023-04-11 14:27:34 +08:00
Yidadaa
a4b9d9f933
fixup: wont show fullscreen icon on mobile
2023-04-10 01:13:33 +08:00
Yidadaa
d4e0c0184f
feat: #577 maximum / minimium icon
2023-04-10 00:00:36 +08:00
Yidadaa
30992b3557
fix : #589 improve unauthorized tips
2023-04-09 23:51:12 +08:00
Yidadaa
d5f1ac7893
fix : #613 show all prompts when input /
2023-04-08 02:53:35 +08:00
Yidadaa
67270ce4c3
fix: auto grow textarea
2023-04-08 02:36:02 +08:00
leedom
356d725051
Merge branch 'main' into textarea-height-optimize
2023-04-07 13:33:37 +08:00
leedom
eb57482e97
fix: useEffect hooks
2023-04-07 12:39:27 +08:00
leedom
8ded1ace43
update: resizeTextarea
2023-04-07 12:33:09 +08:00
Mokou
54b0355f0b
feat: Hot keys: Escape to close settings, Up Arrow to get last input
2023-04-07 12:26:22 +08:00
leedom
468171dc48
feat: textarea with adaptive height
2023-04-07 12:17:37 +08:00
Yidadaa
03ba4652d0
fix : #512 Mobile renaming should not return to chat list
2023-04-06 23:47:47 +08:00
Yifei Zhang
cc9fc25231
Merge pull request #567 from leedom92/optimize-send-button
...
refactor: optimize component `IconButton`
2023-04-06 23:10:09 +08:00
leedom
2574f4bceb
remove unnecessary judgment
2023-04-06 22:52:18 +08:00
leedom
b4c8481aed
refactor: optimize send button
2023-04-06 21:02:48 +08:00
xiaotianxt
fdf8e5e6b4
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
Yidadaa
ba19f837de
fixup
2023-04-06 04:01:53 +08:00
Yidadaa
fcdf15b417
fix : #410 can not stop response
2023-04-06 03:19:33 +08:00
Yidadaa
f71841a8d7
feat: close #469 support reset session and do not send memory
2023-04-06 02:37:12 +08:00
Yidadaa
aeb818060e
fix : #439 context prompt input with textarea
2023-04-06 02:05:44 +08:00
Yifei Zhang
60a6c4cf09
Merge pull request #497 from waltcow/main
...
fix 头像无法正常显示
2023-04-05 22:07:17 +08:00
waltcow
0f2221104e
add getEmojiUrl
as util function
2023-04-05 15:48:44 +08:00
Jun Wu
d3ef50c28f
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
ガオガオ
562d6de0e4
[opt] Optimize the display of exported chat history content.
2023-04-04 05:55:06 +08:00
RugerMc
db7829f37e
opt: back to auto scroll
2023-04-03 17:51:35 +08:00
cyhhao
bb0fd2a261
rm input mouseover
2023-04-03 15:21:03 +08:00
cyhhao
c73cde5c85
rm msg body mouseover
2023-04-03 15:20:16 +08:00
cyhhao
3c3a55cf33
fix conflict
2023-04-03 14:58:34 +08:00
cyhhao
8ff4820318
optimize: scrolling experience
2023-04-03 14:56:13 +08:00
Yifei Zhang
0ae0d83bf0
Merge pull request #401 from cyhhao/pr2
...
fix: context message should exclude all error tips
2023-04-03 14:26:32 +08:00
cyhhao
17cfea7f1f
session message should exclude all error tips
2023-04-03 14:13:57 +08:00
Yidadaa
1b6f97e0db
fix : #397 #373 Array.prototype.at polyfill errors
2023-04-03 13:29:37 +08:00
Yifei Zhang
35dd139d27
fix: improve scroll
2023-04-03 03:35:24 +00:00
Yifei Zhang
851e20841a
fix : #384 improve scroll
2023-04-03 03:27:42 +00:00
Yifei Zhang
4b9599d70f
revert: fix mobile scroll
2023-04-02 19:24:29 +00:00
Yifei Zhang
e26c42db25
chore: fix mobile scroll
2023-04-02 19:20:57 +00:00
Yifei Zhang
f24187510e
fix : #289 #367 #353 #369 provide more error message info
2023-04-02 19:14:53 +00:00
Yifei Zhang
0933610c3e
chore: fix preview bubble
2023-04-02 18:51:37 +00:00
Yifei Zhang
a624981e7e
fix: mobile scroll problem
2023-04-02 18:41:25 +00:00
Yifei Zhang
355a125b36
fixup: ux improve
2023-04-02 18:28:07 +00:00
Yifei Zhang
b456cd407f
fixup: translation context
2023-04-02 18:02:03 +00:00
Yifei Zhang
f67e014952
feat: #138 add context prompt, close #330 #321
2023-04-02 17:48:43 +00:00
Yifei Zhang
69417d9a25
fix : #253 #356 auto scroll ux
2023-04-02 15:19:36 +00:00
Yifei Zhang
0e8b90da0a
refactor: split homt.tsx components
2023-04-02 15:05:54 +00:00