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.
2 years ago
Yifei Zhang
85bf4ac077
fix : #559 custom input ui style
2 years ago
Mokou
d92108453f
fix: 兼容不同浏览器的input range兼容
2 years ago
Yifei Zhang
f71354faed
Merge pull request #509 from xiaotianxt/feat/dnd-xiaotianxt
...
Drag & Drop support for ChatList
2 years ago
Yidadaa
c77f946be1
fixup
2 years ago
Yidadaa
acfe6eec18
fix : #463 add subscrption total amount
2 years ago
Yidadaa
8e560d2b2e
fix : #410 can not stop response
2 years ago
xiaotianxt
f920b2001d
performance: introduce lazy-loading for ChatList
...
Reduce the first load JS bundle size using next/dynamic.
2 years ago
Yidadaa
c2b37f811b
feat: close #469 support reset session and do not send memory
2 years ago
Yidadaa
0e77177a60
fix : #439 context prompt input with textarea
2 years ago
xiaotianxt
301cbbfdfb
feat(dnd): add drag and drop feature
2 years ago
Yifei Zhang
2ae62d9c0e
Merge pull request #497 from waltcow/main
...
fix 头像无法正常显示
2 years ago
Yorun
909e2ab60f
fix: header title overflow
2 years ago
waltcow
f4fc682fa3
add `getEmojiUrl` as util function
2 years ago
waltcow
80904ac2bb
fix import
2 years ago
waltcow
91322f33eb
emoji resouce CDN format override
2 years ago
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
2 years ago
Jun Wu
2625c1246b
chore: removed redundant checkUsage
...
`checkUsage()` was already called by another `useEffect`.
There is no need to call it twice.
2 years ago
Yifei Zhang
bd7567fa85
Merge pull request #434 from gaogao1030/optimize
...
[opt] Optimize the display of exported chat history content.
2 years ago
MaYuKe
8ba1dedcea
Update settings.tsx
...
Update parameter `step` of historyMessageCount to 1.
2 years ago
kakawanyifan
0508b0080f
linkTarget={'_blank'},这个对于对话框中的链接,会在新的tab页打开,体验更好。
2 years ago
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
2 years ago
ガオガオ
be4144fab3
[opt] Optimize the display of exported chat history content.
2 years ago
yidadaa
4e644cfca7
fix : #418 valid model config
2 years ago
Yorun
30ff915e9d
fix: add media query to theme-color, fix auto theme not updating theme-color
2 years ago
Feifan Zheng
bb30fdfa17
feat: optimize usage display
2 years ago
RugerMc
c2a79e8a11
opt: back to auto scroll
2 years ago
cyhhao
ae8ceb8dca
rm input mouseover
2 years ago
cyhhao
8db26bbd5f
rm msg body mouseover
2 years ago
cyhhao
efd3310711
fix conflict
2 years ago
cyhhao
a6890c0f58
optimize: scrolling experience
2 years ago
Yifei Zhang
b5a69b66b2
Merge pull request #401 from cyhhao/pr2
...
fix: context message should exclude all error tips
2 years ago
cyhhao
73f4ea38c6
session message should exclude all error tips
2 years ago
Yidadaa
5c75b6c784
fix : #397 #373 Array.prototype.at polyfill errors
2 years ago
Yifei Zhang
56ba8a65e0
fix: improve scroll
2 years ago
Yifei Zhang
0e784c50ad
fix : #384 improve scroll
2 years ago
Yifei Zhang
e2c1475857
revert: fix mobile scroll
2 years ago
Yifei Zhang
8d34b0f454
chore: fix mobile scroll
2 years ago
Yifei Zhang
b44caeeefb
fix : #289 #367 #353 #369 provide more error message info
2 years ago
Yifei Zhang
e8d71c815e
chore: fix preview bubble
2 years ago
Yifei Zhang
1afca0b28a
fix: mobile scroll problem
2 years ago
Yifei Zhang
2647bdb4ed
fixup: ux improve
2 years ago
Yifei Zhang
e3c3cd3d18
fixup: translation context
2 years ago
Yifei Zhang
b85245e317
feat: #138 add context prompt, close #330 #321
2 years ago
Yifei Zhang
c978de2c10
fix : #253 #356 auto scroll ux
2 years ago
Yifei Zhang
6c1862797b
refactor: split homt.tsx components
2 years ago
Yifei Zhang
4f0108b0ea
fix : #289 use highlight.js instead of prism
2 years ago
Yifei Zhang
7b5af271d5
fix : #367 failed to fetch account usage
2 years ago
Yifei Zhang
37587f6f71
fix : #244 optimize polyfill
2 years ago
Yifei Zhang
e248e9196a
Merge pull request #271 from RugerMcCarthy/feat/send_preview_option
...
feat: add switch of send preview bubble
2 years ago
AprilNEA
0a60a87c9f
Merge branch 'main' into reset
...
# Conflicts:
# app/components/settings.tsx
2 years ago
AprilNEA
506cdbc83c
feat: clear session only
2 years ago
Leedom
b419e7d918
Update home.tsx
2 years ago
Leedom
ad8e09d188
Update home.tsx
2 years ago
leedom
a811637176
refactor: use the method of element-ui
2 years ago
linqirong
00a282214e
fix:修复中文输入法下enter错误发送消息问题
2 years ago
Leedom
9ba59351c5
Update home.tsx
2 years ago
leedom
2a79d35667
feat: add optimize textarea height when inputing
2 years ago
Yifei Zhang
0385f6ede9
fix : #305 disable double click to copy on pc
2 years ago
Yifei Zhang
45bf2c3d25
fix: remove scroll anchor height
2 years ago
leedom
4dc1e025e1
feat: add confirm tips when deleting conversation on pc
2 years ago
Dogtiti
5f7a264e52
fix: 修复在手机浏览器高度样式问题
2 years ago
RugerMc
1db210097c
feat: add switch of send preview bubble
2 years ago
Yifei Zhang
fe9dd88c3f
Merge pull request #254 from Yidadaa/bugfix-0330
...
Bugfix 0330
2 years ago
Yifei Zhang
b3fdf3efec
fix : #182 prompt cannot be selected
2 years ago
Yifei Zhang
802ea20ec4
fix: auto scroll on enter
2 years ago
Yifei Zhang
7783545bff
feat: use tag as version number
2 years ago
Yifei Zhang
1b140a1ed3
fix: tight border on mobile style
2 years ago
Yifei Zhang
7599ae385b
fix : #244 better scroll ux
2 years ago
GOWxx
0c9add7988
feat: support history message count to zero
2 years ago
Leedom
6e4e804af8
Update home.tsx
2 years ago
leedom
e68aaf24f1
feat: setUserInput with onDoubleClickCapture in mobile phone
2 years ago
Yifei Zhang
29c20a3d5c
Merge pull request #202 from RugerMcCarthy/feat/display_line_break
...
feat: import remark-breaks plugin
2 years ago
RugerMc
2c5420ab9e
feat: import ramarkBreaks plugin
2 years ago
angular-moon
d9fc9cd198
onUserSubmit hide promptHints
2 years ago
Yifei Zhang
8b4db412d8
Update home.tsx
2 years ago
Yifei Zhang
447dec9444
feat: close #2 add check account balance
2 years ago
Yifei Zhang
45088a3e06
feat: #112 add edit chat title
2 years ago
Yifei Zhang
08f3c7026d
feat: #170 auto scroll after retrying
2 years ago
Yifei Zhang
e606810581
refactor: #121 trigger auto-cmp with / prefix
2 years ago
Yifei Zhang
73b2ede53a
Merge pull request #162 from HimiCos/main
...
fix: dialog height
2 years ago
Yifei Zhang
f1b2f895b4
Merge pull request #163 from GOWxx/bugfix_send_button_cover_text
...
fix: send button covering the text in the textarea
2 years ago
HimiCos
752c083905
fix: dialog height
2 years ago
GOWxx
c47e90004a
fix: send button covering the text in the textarea
2 years ago
Yifei Zhang
380f818285
fix : #159 temperature should range 0 - 2
2 years ago
Yifei Zhang
525b5b8ee6
Merge pull request #148 from RugerMcCarthy/dev
...
supports the display of line breaks in Markdown
2 years ago
RugerMc
b94607f636
feat: supports the display of line breaks in Markdown
2 years ago
Yifei Zhang
ca0082856a
Update settings.tsx
2 years ago
Yifei Zhang
e12238ba8b
Merge pull request #146 from iSource/fix-mobile-autofocus
...
fix: mobile textarea autofocus ui error
2 years ago
iSource
71f119c9e8
fix: mobile textarea autofocus ui error
2 years ago
Yifei Zhang
067121d968
Merge pull request #89 from iFwu/main
...
feat: add font size config
2 years ago
Yifei Zhang
f5d775c055
Merge pull request #127 from stonega/main
...
fix: message top action style issue
2 years ago
伏晓
f979822508
feat: add font size setting
2 years ago
Yifei Zhang
17ee2ee135
Update home.tsx
2 years ago
Yifei Zhang
83400093a2
fixup: i18n for prompts
2 years ago
Yifei Zhang
6782e65fdf
feat: #2 add prompt hints
2 years ago
HimiCos
307be405ac
feat: language support traditional chinese
2 years ago
石门
1c017b8ee9
fix: minor fix
2 years ago
石门
48dc2c2295
fix: minor fix
2 years ago
石门
3a3999d73a
fix: hide actions when loading
2 years ago