Commit Graph

359 Commits

Author SHA1 Message Date
Ma Yuke
4b3fe73854 Update app/requests.ts
fix: displaying the number of subscription beyond two decimal places.
2023-04-17 11:53:09 +08:00
Yifei Zhang
adb154715d fixup 2023-04-17 11:36:32 +08:00
Yifei Zhang
2c08ab8252 fixup 2023-04-17 11:34:33 +08:00
Yifei Zhang
20fd8b1a7e fix: #853 fetch duplex errors 2023-04-17 11:27:31 +08:00
Yidadaa
18985cfd96 feat: close #539 add delete message button 2023-04-16 18:55:29 +08:00
Yidadaa
490daa2914 fix: #829 filter empty prompt 2023-04-16 18:11:09 +08:00
Yidadaa
5b73f423a0 feat: close #118 add stop all button 2023-04-16 18:07:43 +08:00
tscherrie tscherru
e856aff83f found typo 2023-04-16 07:43:38 +00:00
tscherrie tscherru
f96f8bbde3 some final language quality improvements 2023-04-16 07:11:36 +00:00
tscherrie tscherru
cf2e7849ee fixed typo 2023-04-16 05:32:55 +00:00
tscherrie tscherru
35da067ad4 added de to index and other files 2023-04-16 05:07:54 +00:00
tscherrie tscherru
64e4c0eb60 fixed german language translations 2023-04-16 04:16:04 +00:00
tscherrie tscherru
fe1abe2f1f Add german language translation de.tss 2023-04-16 04:00:31 +00:00
ilarioscandurra
0ae0e4ce62 fix IT translation 2023-04-15 16:33:04 +02:00
Yidadaa
8cb1262d36 refactor: remove protocol env vars 2023-04-15 02:50:04 +08:00
Yidadaa
354afce030 feat: edit session title button 2023-04-15 02:37:24 +08:00
Yidadaa
6dd131b2c7 fix: #804 disable auto scroll in textarea 2023-04-15 02:28:30 +08:00
jtung4
7bad77d22b Update tw.ts 2023-04-14 19:49:48 +08:00
Peanuts
fe37341e0f Fix wrong spelling 2023-04-13 11:07:42 +08:00
Yifei Zhang
f233c3d282 Update markdown.tsx 2023-04-13 02:16:21 +08:00
Yidadaa
8acd3dccf2 feat: close #680 lazy rendering markdown 2023-04-13 02:07:24 +08:00
Yidadaa
2b609ebe61 feat: close #680 lazy load markdown dom 2023-04-12 23:27:28 +08:00
Yidadaa
76976a5d73 fix: *.scss *.svg types 2023-04-12 23:04:45 +08:00
Yifei Zhang
943e437895 Revert "fix: autoscroll conflict" 2023-04-12 19:48:12 +08:00
Yifei Zhang
c61f9bfc0d Merge pull request #715 from betgo/bugfix-scrollthumb
fix: autoscroll conflict
2023-04-12 11:05:53 +08:00
helloworld_xy
a2b25e0fac fix:修复正常响应结果后额外追加‘出错了,请稍后再试’bug 2023-04-11 19:03:09 +08:00
Yifei Zhang
6dfac29a2d Merge pull request #688 from aooyoo/main
add Japanese
2023-04-11 15:37:23 +08:00
betgo
ee779cdc23 fix: autoscroll conflict 2023-04-11 14:27:34 +08:00
peanut996
7cb1510846 [refactor] rename ChatResponse. 2023-04-11 12:06:12 +08:00
Yidadaa
249a16d9cf fixup 2023-04-11 02:56:48 +08:00
Yidadaa
9f9488c720 feat: dynamic config 2023-04-11 02:54:31 +08:00
Yidadaa
bb9bd317b2 refactor: build/runtime/client configs 2023-04-11 01:21:34 +08:00
Yidadaa
3a5bdc9e90 fix: #507 break cjk chars in stream mode 2023-04-10 23:13:20 +08:00
aooyoo
4615b885c3 fix spelling errors 2023-04-10 14:12:31 +00:00
aooyoo
bf578d3108 add new language, Japanese 2023-04-10 14:01:54 +00:00
Muhammet Demirel
f3b16bac9e Added new language, Turkish. 2023-04-10 12:04:30 +03:00
Yifei Zhang
a241df0919 Update access.ts 2023-04-10 10:57:16 +08:00
Yidadaa
a4b9d9f933 fixup: wont show fullscreen icon on mobile 2023-04-10 01:13:33 +08:00
Yidadaa
2e261bbd52 feat: wider app body 2023-04-10 00:56:44 +08:00
Yidadaa
647d5ab041 fix: #522 resizable side bar 2023-04-10 00:54:17 +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
ee3a9c24f6 fix: #641 delete wrong chat list 2023-04-09 23:41:16 +08:00
Yidadaa
f1655f6bcb fix: #648 password input style 2023-04-09 23:35:45 +08:00
Yifei Zhang
111cee9fd0 Update cn.ts 2023-04-09 13:31:33 +08:00
GH Action - Upstream Sync
394c42439a Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-04-08 07:07:44 +00:00
MaYuKe
c4770438b2 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
9886e0a7e3 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-04-07 21:07:51 +00:00
Yidadaa
c75f7a2ac9 fix: #528 wont send max_tokens 2023-04-08 03:03:07 +08:00
Yidadaa
d5f1ac7893 fix: #613 show all prompts when input / 2023-04-08 02:53:35 +08:00
ilarioscandurra
604ae503ee Update: Confirmation on reset chats and settings 2023-04-07 20:50:06 +02:00
Yidadaa
67270ce4c3 fix: auto grow textarea 2023-04-08 02:36:02 +08:00
Yifei Zhang
e08c51cd74 Merge pull request #318 from leedom92/textarea-height-optimize
feat: textarea with adaptive height
2023-04-08 01:01:52 +08:00
Yorun
822d7dd7e3 fix: hide toast on cancel session deletion on mobile 2023-04-07 14:51:08 +08:00
leedom
4fc6987d51 fix: solve navigator undefined && merge from main 2023-04-07 13:47:34 +08:00
leedom
356d725051 Merge branch 'main' into textarea-height-optimize 2023-04-07 13:33:37 +08:00
leedom
6c2ed0cf0e feat: add calcTextareaHeight.ts 2023-04-07 12:42:47 +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
3452625c05 Merge branch 'main' into textarea-height-optimize 2023-04-07 12:20:53 +08:00
leedom
468171dc48 feat: textarea with adaptive height 2023-04-07 12:17:37 +08:00
Yifei Zhang
124a5e74f6 fix: #537 delete chat button style 2023-04-07 11:23:10 +08:00
Yifei Zhang
a33a70f9b6 Update utils.ts 2023-04-07 11:08:20 +08:00
leedom
a4b1930036 merge 2023-04-07 07:29:17 +08:00
leedom
7c2abace3c merge 2023-04-07 07:18:53 +08:00
Yidadaa
5f1ead8caf feat: #499 revert delete session 2023-04-07 00:14:27 +08:00
Yidadaa
03ba4652d0 fix: #512 Mobile renaming should not return to chat list 2023-04-06 23:47:47 +08:00
Yidadaa
61d69959c3 fix: #513 show toast after copying 2023-04-06 23:18:51 +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
b5ba3d9847 Update button.module.scss 2023-04-06 21:34:00 +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
Yifei Zhang
b90efe8116 fix: #559 custom input ui style 2023-04-06 18:16:49 +08:00
Yifei Zhang
86fad559ae Merge pull request #535 from zhongmeizhi/main
fix: 兼容不同浏览器的input range
2023-04-06 17:47:05 +08:00
Yifei Zhang
98ec4dae5c fixup 2023-04-06 17:34:17 +08:00
Yifei Zhang
b3eb24e35d fixup 2023-04-06 17:28:09 +08:00
Yifei Zhang
052ba34ff0 Update requests.ts 2023-04-06 17:14:19 +08:00
Mokou
ff0fe37245 fix: 兼容不同浏览器的input range兼容 2023-04-06 12:39:31 +08:00
Yifei Zhang
f9c1cd6899 Merge pull request #509 from xiaotianxt/feat/dnd-xiaotianxt
Drag & Drop support for ChatList
2023-04-06 04:12:00 +08:00
Yifei Zhang
180b47f346 Merge pull request #510 from Yidadaa/user-prompt
feat: split docs, clear messages and fix stop response
2023-04-06 04:02:48 +08:00
Yidadaa
ba19f837de fixup 2023-04-06 04:01:53 +08:00
Yidadaa
d23c0b100b fix: #463 add subscrption total amount 2023-04-06 03:56:54 +08:00
Yidadaa
1362c24de4 fix: #451 override default model config 2023-04-06 03:26:42 +08:00
Yidadaa
fcdf15b417 fix: #410 can not stop response 2023-04-06 03:19:33 +08:00
xiaotianxt
187867662e 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
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
208e7a7627 Merge pull request #482 from zyqq/main
fix(utils): 修复复制问题
2023-04-06 01:48:20 +08:00
xiaotianxt
57943cbe6c feat(dnd): add drag and drop feature 2023-04-06 01:43:10 +08:00
Yidadaa
ef4c04016a doc: update screenshots 2023-04-06 01:22:29 +08:00
Yidadaa
bc8670c058 doc: update document 2023-04-06 00:41:44 +08:00
Yifei Zhang
60a6c4cf09 Merge pull request #497 from waltcow/main
fix 头像无法正常显示
2023-04-05 22:07:17 +08:00
Yorun
7b5055e4a9 fix: header title overflow 2023-04-05 11:32:45 +00:00
waltcow
0f2221104e add getEmojiUrl as util function 2023-04-05 15:48:44 +08:00
waltcow
5d09891352 fix import 2023-04-05 15:31:46 +08:00
waltcow
7b821c336b emoji resouce CDN format override 2023-04-05 15:29:25 +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
Jun Wu
9ddb8df17e 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