Yidadaa
6841846613
fixup
2023-04-11 02:56:48 +08:00
Yidadaa
d6e6dd09f0
feat: dynamic config
2023-04-11 02:54:31 +08:00
Yidadaa
9b61cb1335
refactor: build/runtime/client configs
2023-04-11 01:21:34 +08:00
Yidadaa
3c1e81897a
fixup: wont show fullscreen icon on mobile
2023-04-10 01:13:33 +08:00
Yidadaa
09fd743e2e
feat: wider app body
2023-04-10 00:56:44 +08:00
Yidadaa
6ae61c5357
fix : #522 resizable side bar
2023-04-10 00:54:17 +08:00
Yidadaa
eae5a8a2e6
feat: #577 maximum / minimium icon
2023-04-10 00:00:36 +08:00
Yidadaa
0e05733bbb
fix : #589 improve unauthorized tips
2023-04-09 23:51:12 +08:00
Yidadaa
4a492264a1
fix : #641 delete wrong chat list
2023-04-09 23:41:16 +08:00
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
cyhhao
8db26bbd5f
rm msg body mouseover
2023-04-03 15:20:16 +08:00
cyhhao
efd3310711
fix conflict
2023-04-03 14:58:34 +08:00
cyhhao
a6890c0f58
optimize: scrolling experience
2023-04-03 14:56:13 +08:00
Yifei Zhang
b5a69b66b2
Merge pull request #401 from cyhhao/pr2
...
fix: context message should exclude all error tips
2023-04-03 14:26:32 +08:00
cyhhao
73f4ea38c6
session message should exclude all error tips
2023-04-03 14:13:57 +08:00
Yidadaa
5c75b6c784
fix : #397 #373 Array.prototype.at polyfill errors
2023-04-03 13:29:37 +08:00
Yifei Zhang
56ba8a65e0
fix: improve scroll
2023-04-03 03:35:24 +00:00
Yifei Zhang
0e784c50ad
fix : #384 improve scroll
2023-04-03 03:27:42 +00:00
Yifei Zhang
e2c1475857
revert: fix mobile scroll
2023-04-02 19:24:29 +00:00
Yifei Zhang
8d34b0f454
chore: fix mobile scroll
2023-04-02 19:20:57 +00:00
Yifei Zhang
b44caeeefb
fix : #289 #367 #353 #369 provide more error message info
2023-04-02 19:14:53 +00:00
Yifei Zhang
e8d71c815e
chore: fix preview bubble
2023-04-02 18:51:37 +00:00
Yifei Zhang
1afca0b28a
fix: mobile scroll problem
2023-04-02 18:41:25 +00:00
Yifei Zhang
2647bdb4ed
fixup: ux improve
2023-04-02 18:28:07 +00:00
Yifei Zhang
e3c3cd3d18
fixup: translation context
2023-04-02 18:02:03 +00:00
Yifei Zhang
b85245e317
feat: #138 add context prompt, close #330 #321
2023-04-02 17:48:43 +00:00
Yifei Zhang
c978de2c10
fix : #253 #356 auto scroll ux
2023-04-02 15:19:36 +00:00
Yifei Zhang
6c1862797b
refactor: split homt.tsx components
2023-04-02 15:05:54 +00:00
Yifei Zhang
4f0108b0ea
fix : #289 use highlight.js instead of prism
2023-04-02 14:48:18 +00:00
Yifei Zhang
7b5af271d5
fix : #367 failed to fetch account usage
2023-04-02 14:22:06 +00:00
Yifei Zhang
37587f6f71
fix : #244 optimize polyfill
2023-04-02 13:56:34 +00:00
Yifei Zhang
e248e9196a
Merge pull request #271 from RugerMcCarthy/feat/send_preview_option
...
feat: add switch of send preview bubble
2023-04-02 20:08:35 +08:00
AprilNEA
0a60a87c9f
Merge branch 'main' into reset
...
# Conflicts:
# app/components/settings.tsx
2023-04-02 13:45:34 +08:00
AprilNEA
506cdbc83c
feat: clear session only
2023-04-02 13:42:47 +08:00
Leedom
b419e7d918
Update home.tsx
2023-04-02 02:56:45 +08:00
Leedom
ad8e09d188
Update home.tsx
2023-04-02 02:54:46 +08:00
leedom
a811637176
refactor: use the method of element-ui
2023-04-02 02:40:00 +08:00
linqirong
00a282214e
fix:修复中文输入法下enter错误发送消息问题
2023-04-02 00:12:31 +08:00
Leedom
9ba59351c5
Update home.tsx
2023-04-01 17:48:05 +08:00
leedom
2a79d35667
feat: add optimize textarea height when inputing
2023-04-01 17:34:38 +08:00
Yifei Zhang
0385f6ede9
fix : #305 disable double click to copy on pc
2023-04-01 15:46:34 +08:00
Yifei Zhang
45bf2c3d25
fix: remove scroll anchor height
2023-04-01 15:39:30 +08:00
leedom
4dc1e025e1
feat: add confirm tips when deleting conversation on pc
2023-04-01 10:24:06 +08:00
Dogtiti
5f7a264e52
fix: 修复在手机浏览器高度样式问题
2023-03-31 19:21:11 +08:00
RugerMc
1db210097c
feat: add switch of send preview bubble
2023-03-31 13:16:12 +08:00
Yifei Zhang
fe9dd88c3f
Merge pull request #254 from Yidadaa/bugfix-0330
...
Bugfix 0330
2023-03-31 01:10:36 +08:00
Yifei Zhang
b3fdf3efec
fix : #182 prompt cannot be selected
2023-03-30 17:08:50 +00:00
Yifei Zhang
802ea20ec4
fix: auto scroll on enter
2023-03-30 17:04:32 +00:00
Yifei Zhang
7783545bff
feat: use tag as version number
2023-03-30 16:46:17 +00:00
Yifei Zhang
1b140a1ed3
fix: tight border on mobile style
2023-03-30 16:20:47 +00:00
Yifei Zhang
7599ae385b
fix : #244 better scroll ux
2023-03-30 15:42:54 +00:00
GOWxx
0c9add7988
feat: support history message count to zero
2023-03-30 18:50:58 +08:00
Leedom
6e4e804af8
Update home.tsx
2023-03-30 15:32:03 +08:00
leedom
e68aaf24f1
feat: setUserInput with onDoubleClickCapture in mobile phone
2023-03-30 15:22:10 +08:00
Yifei Zhang
29c20a3d5c
Merge pull request #202 from RugerMcCarthy/feat/display_line_break
...
feat: import remark-breaks plugin
2023-03-30 14:56:21 +08:00
RugerMc
2c5420ab9e
feat: import ramarkBreaks plugin
2023-03-30 12:48:38 +08:00
angular-moon
d9fc9cd198
onUserSubmit hide promptHints
2023-03-30 10:16:00 +08:00
Yifei Zhang
8b4db412d8
Update home.tsx
2023-03-30 02:30:38 +08:00
Yifei Zhang
447dec9444
feat: close #2 add check account balance
2023-03-29 17:45:26 +00:00
Yifei Zhang
45088a3e06
feat: #112 add edit chat title
2023-03-29 16:02:50 +00:00
Yifei Zhang
08f3c7026d
feat: #170 auto scroll after retrying
2023-03-29 15:40:37 +00:00
Yifei Zhang
e606810581
refactor: #121 trigger auto-cmp with / prefix
2023-03-29 15:31:55 +00:00
Yifei Zhang
73b2ede53a
Merge pull request #162 from HimiCos/main
...
fix: dialog height
2023-03-29 22:12:05 +08:00
Yifei Zhang
f1b2f895b4
Merge pull request #163 from GOWxx/bugfix_send_button_cover_text
...
fix: send button covering the text in the textarea
2023-03-29 22:11:34 +08:00
HimiCos
752c083905
fix: dialog height
2023-03-29 20:53:23 +08:00
GOWxx
c47e90004a
fix: send button covering the text in the textarea
2023-03-29 20:37:21 +08:00
Yifei Zhang
380f818285
fix : #159 temperature should range 0 - 2
2023-03-29 20:00:23 +08:00
Yifei Zhang
525b5b8ee6
Merge pull request #148 from RugerMcCarthy/dev
...
supports the display of line breaks in Markdown
2023-03-29 18:05:52 +08:00
RugerMc
b94607f636
feat: supports the display of line breaks in Markdown
2023-03-29 17:19:30 +08:00
Yifei Zhang
ca0082856a
Update settings.tsx
2023-03-29 16:06:22 +08:00
Yifei Zhang
e12238ba8b
Merge pull request #146 from iSource/fix-mobile-autofocus
...
fix: mobile textarea autofocus ui error
2023-03-29 16:00:21 +08:00
iSource
71f119c9e8
fix: mobile textarea autofocus ui error
2023-03-29 15:45:31 +08:00
Yifei Zhang
067121d968
Merge pull request #89 from iFwu/main
...
feat: add font size config
2023-03-29 14:49:05 +08:00
Yifei Zhang
f5d775c055
Merge pull request #127 from stonega/main
...
fix: message top action style issue
2023-03-29 14:48:20 +08:00
伏晓
f979822508
feat: add font size setting
2023-03-29 13:15:32 +08:00
Yifei Zhang
17ee2ee135
Update home.tsx
2023-03-29 02:19:20 +08:00
Yifei Zhang
83400093a2
fixup: i18n for prompts
2023-03-28 17:45:23 +00:00
Yifei Zhang
6782e65fdf
feat: #2 add prompt hints
2023-03-28 17:45:23 +00:00
HimiCos
307be405ac
feat: language support traditional chinese
2023-03-28 21:29:30 +08:00
石门
1c017b8ee9
fix: minor fix
2023-03-28 20:14:44 +08:00
石门
48dc2c2295
fix: minor fix
2023-03-28 19:38:18 +08:00
石门
3a3999d73a
fix: hide actions when loading
2023-03-28 18:59:03 +08:00
石门
7a5c35baf3
fix: hide actions when loading
2023-03-28 18:48:03 +08:00
xiaotianxt
493aa8c591
refactor: refocus textarea after btn clicked
2023-03-28 13:02:49 +08:00
xiaotianxt
6c82f804ae
fix: Enter key bug
2023-03-28 12:56:36 +08:00
xiaotianxt
a2807c9815
fix(scroll): scroll after click submit button
...
The behavior of SubmitKey and SubmitButton should be the same
2023-03-28 12:56:36 +08:00
xiaotianxt
d822f333c2
feat(SubmitKey): add MetaEnter option
...
Add another option for MacOS user who prefer Cmd+Enter
or Linux user who prefer Meta+Enter.
2023-03-28 12:56:36 +08:00
AprilNEA
684a3c41ef
fix: fix #82 , close sidebar after new session
2023-03-28 11:51:36 +08:00
Yifei Zhang
d17706636b
Merge pull request #66 from iFwu/main
...
fix: resolve hydration error
2023-03-27 21:59:19 +08:00
Yifei Zhang
9570691d5b
Delete userRole.tsx
2023-03-27 21:52:50 +08:00
伏晓
fb06fb8c38
fix: resolve hydration error
2023-03-27 18:22:55 +08:00
AprilNEA
58baa23199
Merge branch 'fix-theme' of https://github.com/AprilNEA/ChatGPT-Next-Web into fix-theme
2023-03-27 17:05:15 +08:00
AprilNEA
dd80c4563d
feat: adding iOS Webapp support
...
- fix media query about background-color
- Use colors from CSS files instead of fixed values
2023-03-27 17:04:11 +08:00
AprilNEA
785372ad73
fix: fix the different colors on mobile
2023-03-27 15:47:46 +08:00
AprilNEA
d8e4808316
Merge branch 'Yidadaa:main' into fix-theme
2023-03-27 15:10:10 +08:00
AprilNEA
cd73c3a7cb
fix: taskbar color follow( #54 )
2023-03-27 15:01:35 +08:00
Yifei Zhang
e57bd51809
feat: #9 add copy code button
2023-03-26 12:29:02 +00:00
Yifei Zhang
df66eef919
feat: support using user api key
2023-03-26 11:58:25 +00:00
Yifei Zhang
1e89fe14ac
fix : #34 only auto scroll when textbox is focused
2023-03-26 11:10:34 +00:00
Yifei Zhang
86507fa569
feat: #2 #8 add stop and retry button
2023-03-26 10:59:09 +00:00
Yifei Zhang
d0d1673ccc
fixup: disable access control when CODE is empty
2023-03-26 07:06:06 +00:00
Yifei Zhang
2c899cf00e
feat: #2 add access control by
...
access code
2023-03-26 06:53:40 +00:00
Yifei Zhang
806e7b09c1
feat: #2 trying to add stop response button
2023-03-23 17:42:38 +00:00
Yifei Zhang
99b88f36fd
refactor: #6 check update over one hour and debound scroll
2023-03-23 17:00:33 +00:00
Yifei Zhang
29de957395
feat: add check update
2023-03-23 16:01:00 +00:00
Yifei Zhang
e55520e93c
fix : #5 crash if code block cannot be highlighted
2023-03-23 11:28:07 +00:00
Yifei Zhang
547ef5565e
fix : #2 use shift+enter to wrap lines when submit key is enter
2023-03-23 03:38:40 +00:00
Yifei Zhang
1504c9fee6
doc: update readme
2023-03-21 17:50:02 +00:00
Yifei Zhang
76db385d6d
fix: styles and store version number
2023-03-21 17:16:36 +00:00
Yifei Zhang
2f112ecc54
feat: add model config to settings
2023-03-21 16:20:32 +00:00
Yifei Zhang
4af8c26d02
feat: use toast instead of alert
2023-03-21 14:56:27 +00:00
Yifei Zhang
2badfbd619
fix: navigation between settings and home
2023-03-20 17:00:05 +00:00
Yifei Zhang
173fe0d7e3
chore: bigger buttons on mobile device
2023-03-20 16:51:20 +00:00
Yifei Zhang
7cd170b933
feat: support i18n
2023-03-20 16:17:45 +00:00
Yifei Zhang
ce5abac9fb
feat: reduce first load js size from 500kb to 85kb
2023-03-20 15:11:04 +00:00
Yifei Zhang
f5aef317df
feat: support code highlight and markdown gfm
2023-03-20 06:06:29 +00:00
Yifei Zhang
4d97c269ff
fix: chat history with memory
2023-03-19 16:09:30 +00:00
Yifei Zhang
c133cae04b
feat: support compress chat history
2023-03-19 15:13:10 +00:00
Yifei Zhang
9398b34b5c
feat: optimize loading screen
2023-03-19 14:13:00 +00:00
Yifei Zhang
caec01269a
feat: disable auto-scroll on ios device
2023-03-19 14:04:16 +00:00
Yifei Zhang
a2baad9c7f
fix: scroll ux on ios device
2023-03-16 16:08:16 +00:00
Yifei Zhang
701a6e413f
fix: compile erros
2023-03-15 17:31:00 +00:00
Yifei Zhang
e5c441d530
feat: update button hover style and scrollbar style
2023-03-15 17:28:13 +00:00
Yifei Zhang
bab470d000
feat: add export to .md button
2023-03-15 17:24:03 +00:00
Yifei Zhang
64e331a3e3
feat: improve mobile style
2023-03-15 05:50:11 +00:00
Yifei Zhang
653a740f0f
fix: styles and mobile ux
2023-03-15 03:54:14 +00:00
Yidadaa
7a1bcac8bf
fix: layout styles
2023-03-15 01:56:39 +08:00
Yidadaa
1fae774bb2
feat: add mobile support
2023-03-15 01:44:42 +08:00
Yifei Zhang
76a6341c7b
fix: false window style
2023-03-14 15:22:42 +08:00
Yidadaa
8ec927844c
fix: build errors
2023-03-14 00:28:25 +08:00
Yidadaa
5c70456e18
feat: update style and timeout handler
2023-03-14 00:25:07 +08:00
Yidadaa
ff0cf2f9dc
feat: add tight border layout
2023-03-13 03:21:48 +08:00
Yidadaa
14d50f1167
feat: add dark theme support
2023-03-13 03:06:21 +08:00
Yidadaa
a9940cb05e
feat: add settings ui
2023-03-12 01:14:07 +08:00
Yidadaa
74dd6194d8
feat: add stream support
2023-03-11 20:54:24 +08:00
Yidadaa
4f10b9a60f
fix: new session should insert at top
2023-03-11 16:24:17 +08:00
Yidadaa
2c9baa4e2c
feat: finish basic functions
2023-03-11 02:25:33 +08:00
Yidadaa
9912762157
feat: add favicon
2023-03-10 01:16:20 +08:00
Yidadaa
d49b2aa2c3
feat: add basic ui
2023-03-10 01:01:40 +08:00