MaYuKe
7d2e850c42
Update ui-lib.module.scss
...
Fix: icon-button can not be completely masked by popover.
2 years ago
GH Action - Upstream Sync
70b6507299
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
2 years ago
Yidadaa
637cda5b4c
fix : #613 show all prompts when input /
2 years ago
ilarioscandurra
d935de3e57
Update: Confirmation on reset chats and settings
2 years ago
Yidadaa
13035ecb0d
fix: auto grow textarea
2 years ago
leedom
406ed8a02a
Merge branch 'main' into textarea-height-optimize
2 years ago
leedom
e5b4cb28fe
fix: useEffect hooks
2 years ago
leedom
cb210d82e1
update: resizeTextarea
2 years ago
Mokou
58b956f7cc
feat: Hot keys: Escape to close settings, Up Arrow to get last input
2 years ago
leedom
620b98fe6a
Merge branch 'main' into textarea-height-optimize
2 years ago
leedom
3656c8458f
feat: textarea with adaptive height
2 years ago
Yifei Zhang
6420f61566
fix : #537 delete chat button style
2 years ago
leedom
a8a8becf96
merge
2 years ago
leedom
b8a605f07d
merge
2 years ago
Yidadaa
5952064362
feat: #499 revert delete session
2 years ago
Yidadaa
806587c8ea
fix : #512 Mobile renaming should not return to chat list
2 years ago
Yifei Zhang
74cff2639b
Merge pull request #567 from leedom92/optimize-send-button
...
refactor: optimize component `IconButton`
2 years ago
leedom
cd671066f7
remove unnecessary judgment
2 years ago
Leedom
fb3f5a414a
Update button.module.scss
2 years ago
leedom
b7cdea1b82
refactor: optimize send button
2 years ago
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
石门
7a5c35baf3
fix: hide actions when loading
2 years ago
xiaotianxt
493aa8c591
refactor: refocus textarea after btn clicked
2 years ago
xiaotianxt
6c82f804ae
fix: Enter key bug
2 years ago
xiaotianxt
a2807c9815
fix(scroll): scroll after click submit button
...
The behavior of SubmitKey and SubmitButton should be the same
2 years ago
xiaotianxt
d822f333c2
feat(SubmitKey): add MetaEnter option
...
Add another option for MacOS user who prefer Cmd+Enter
or Linux user who prefer Meta+Enter.
2 years ago
AprilNEA
684a3c41ef
fix: fix #82 , close sidebar after new session
2 years ago
Yifei Zhang
d17706636b
Merge pull request #66 from iFwu/main
...
fix: resolve hydration error
2 years ago
Yifei Zhang
9570691d5b
Delete userRole.tsx
2 years ago
伏晓
fb06fb8c38
fix: resolve hydration error
2 years ago
AprilNEA
58baa23199
Merge branch 'fix-theme' of https://github.com/AprilNEA/ChatGPT-Next-Web into fix-theme
2 years ago
AprilNEA
dd80c4563d
feat: adding iOS Webapp support
...
- fix media query about background-color
- Use colors from CSS files instead of fixed values
2 years ago
AprilNEA
785372ad73
fix: fix the different colors on mobile
2 years ago
AprilNEA
d8e4808316
Merge branch 'Yidadaa:main' into fix-theme
2 years ago
AprilNEA
cd73c3a7cb
fix: taskbar color follow( #54 )
2 years ago
Yifei Zhang
e57bd51809
feat: #9 add copy code button
2 years ago
Yifei Zhang
df66eef919
feat: support using user api key
2 years ago
Yifei Zhang
1e89fe14ac
fix : #34 only auto scroll when textbox is focused
2 years ago
Yifei Zhang
86507fa569
feat: #2 #8 add stop and retry button
2 years ago
Yifei Zhang
d0d1673ccc
fixup: disable access control when CODE is empty
2 years ago
Yifei Zhang
2c899cf00e
feat: #2 add access control by
...
access code
2 years ago
Yifei Zhang
806e7b09c1
feat: #2 trying to add stop response button
2 years ago
Yifei Zhang
99b88f36fd
refactor: #6 check update over one hour and debound scroll
2 years ago
Yifei Zhang
29de957395
feat: add check update
2 years ago
Yifei Zhang
e55520e93c
fix : #5 crash if code block cannot be highlighted
2 years ago
Yifei Zhang
547ef5565e
fix : #2 use shift+enter to wrap lines when submit key is enter
2 years ago
Yifei Zhang
1504c9fee6
doc: update readme
2 years ago
Yifei Zhang
76db385d6d
fix: styles and store version number
2 years ago
Yifei Zhang
2f112ecc54
feat: add model config to settings
2 years ago
Yifei Zhang
4af8c26d02
feat: use toast instead of alert
2 years ago
Yifei Zhang
2badfbd619
fix: navigation between settings and home
2 years ago
Yifei Zhang
173fe0d7e3
chore: bigger buttons on mobile device
2 years ago
Yifei Zhang
7cd170b933
feat: support i18n
2 years ago
Yifei Zhang
ce5abac9fb
feat: reduce first load js size from 500kb to 85kb
2 years ago
Yifei Zhang
f5aef317df
feat: support code highlight and markdown gfm
2 years ago
Yifei Zhang
4d97c269ff
fix: chat history with memory
2 years ago
Yifei Zhang
c133cae04b
feat: support compress chat history
2 years ago
Yifei Zhang
9398b34b5c
feat: optimize loading screen
2 years ago
Yifei Zhang
caec01269a
feat: disable auto-scroll on ios device
2 years ago
Yifei Zhang
a2baad9c7f
fix: scroll ux on ios device
2 years ago
Yifei Zhang
701a6e413f
fix: compile erros
2 years ago
Yifei Zhang
e5c441d530
feat: update button hover style and scrollbar style
2 years ago
Yifei Zhang
bab470d000
feat: add export to .md button
2 years ago
Yifei Zhang
64e331a3e3
feat: improve mobile style
2 years ago
Yifei Zhang
653a740f0f
fix: styles and mobile ux
2 years ago
Yidadaa
7a1bcac8bf
fix: layout styles
2 years ago
Yidadaa
1fae774bb2
feat: add mobile support
2 years ago
Yifei Zhang
76a6341c7b
fix: false window style
2 years ago
Yidadaa
8ec927844c
fix: build errors
2 years ago
Yidadaa
5c70456e18
feat: update style and timeout handler
2 years ago
Yidadaa
ff0cf2f9dc
feat: add tight border layout
2 years ago
Yidadaa
14d50f1167
feat: add dark theme support
2 years ago
Yidadaa
a9940cb05e
feat: add settings ui
2 years ago
Yidadaa
74dd6194d8
feat: add stream support
2 years ago
Yidadaa
4f10b9a60f
fix: new session should insert at top
2 years ago
Yidadaa
2c9baa4e2c
feat: finish basic functions
2 years ago
Yidadaa
9912762157
feat: add favicon
2 years ago
Yidadaa
d49b2aa2c3
feat: add basic ui
2 years ago