Commit Graph

511 Commits

Author SHA1 Message Date
H0llyW00dzZ
bc00be9065
Feat & Fix UI Page [Auth Page]
[+] feat(auth.tsx): add goChat function to navigate to chat page
[+] fix(auth.tsx): change onClick event from goHome to goChat
2023-09-30 22:33:18 +07:00
H0llyW00dzZ
4a599e986f
UI Page [Auth Page]
[+] feat(auth.tsx): add support for resetting access token in resetAccessCode function
[+] fix(auth.tsx): fix formatting issue in resetAccessCode function
[+] feat(locales): add support for sub tips in Auth component for multiple languages :
  - Add sub tips in Arabic locale (ar.ts)
  - Add sub tips in Bengali locale (bn.ts)
  - Add sub tips in Chinese locale (cn.ts)
  - Add sub tips in English locale (en.ts)
  - Add sub tips in Indonesian locale (id.ts)
2023-09-30 22:16:34 +07:00
Algorithm5838
398e229c77
Update chat.tsx 2023-09-26 21:49:17 +03:00
Algorithm5838
6a61fe5776
Update chat.tsx 2023-09-26 20:45:09 +03:00
H0llyW00dzZ
70b0580fb7
UI Page [sidebar]
[+] fix(sidebar.tsx): update onClick function to conditionally navigate to different paths based on config.dontShowMaskSplashScreen value

Ref : [Feature] Make the mask selection more streamlined Yidadaa#2895
2023-09-26 04:59:19 +07:00
Yifei Zhang
26e50cefea
Update chat.tsx 2023-09-20 02:09:14 +08:00
Yidadaa
eae7d6260f fix: should not tight border in desktop app 2023-09-19 23:26:52 +08:00
Yidadaa
83fed42997 feat: add upstash redis cloud sync 2023-09-19 03:18:34 +08:00
Yidadaa
adb860b464 fix: try to fix 520 error code 2023-09-19 02:12:43 +08:00
Yidadaa
61ca60c550 fix: min-height for landscape orientation on mobile phone 2023-09-19 01:58:52 +08:00
Yidadaa
d713d01600 feat: close click drag icon to toggle sidebar width 2023-09-19 01:47:15 +08:00
Gerhard Tan
c900459f73 Encode google font url 2023-09-18 10:22:07 +08:00
Algorithm5838
6535986484
Update markdown.tsx 2023-09-15 06:06:34 +03:00
yhua1998
48e6087b1b fix: The width of the sidebar changes abruptly by dragging it multiple times over and over again (bouncing) 2023-09-13 16:55:31 +08:00
yhua1998
28103c901d
Refactor: sidebar drag 2023-09-13 16:24:21 +08:00
yhua1998
368701610f
fix: Width changes abruptly when dragging the sidebar (jumps)
In useRef is non-responsive, we can't get the modified config.sidebarWidth dynamic modification value in handleMouseUp
2023-09-13 13:57:30 +08:00
Yifei Zhang
74e32efa7d
Merge pull request from Yidadaa/webdav 2023-09-13 02:56:10 +08:00
Yidadaa
6f83fbd212 feat: add webdav support 2023-09-13 02:51:02 +08:00
B0zal
b5e89d4440
[+] Updated Auth Page
- Made changes to the Auth Page to reset the input field for the access code when the "Later" button is clicked.
This ensures that only expected user is logged by entering access code or entering their OpenAI API Key, mitigating the risk of small bug issue
2023-09-12 07:00:23 +07:00
Yidadaa
57158890c3 fixup 2023-09-11 00:39:56 +08:00
Yidadaa
415e9dc913 fixup: minor sync fixup 2023-09-11 00:34:51 +08:00
Yidadaa
38f6956e71 feat: close add import/export to file 2023-09-11 00:20:23 +08:00
Yidadaa
885f2a3226 feat: close auto re-fill unfinished input 2023-09-05 01:54:28 +08:00
Yifei Zhang
107b584085
Merge pull request from kfear1337/language 2023-08-28 01:02:23 +08:00
B0zal
5e23ad2db1
Security Update
Potentially unsafe external link
2023-08-26 22:16:29 +07:00
B0zal
e6cc1625b5
[+] FineTuned Sysmessage Depends for local language
this for JSON Exporter
2023-08-25 17:48:25 +07:00
B0zal
f65b0128e7
Issue should be fixed now kiw kiw
where the ChatGPTicon.src
glitches and breaks when exporting the image for the second time without refreshing the page.
2023-08-25 17:46:19 +07:00
Yifei Zhang
b3fd56c2c1
Merge pull request from reece00/456 2023-08-24 11:12:47 +08:00
B0zal
0113d4499b
[Feature] Better JSON Exporter
[+] A view looks better
[+] auto minify json when click a copy in markdown and download

Co-Authored-By: wangwentong-lunaon <39506652+wangwentong-lunaon@users.noreply.github.com>
Co-Authored-By: Yifei Zhang <yidadaa@qq.com>
Co-Authored-By: B0zal <48602426+kfear1337@users.noreply.github.com>
2023-08-23 21:14:43 +07:00
reece00
4d3fdbdd80
The mobile terminal ishitbottom does not perform -10 2023-08-22 12:35:51 +08:00
Yifei Zhang
e1142216ec
fix: should use correct resend index 2023-08-21 18:33:45 +08:00
GH Action - Upstream Sync
3aeb2c1230 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-08-19 01:06:19 +00:00
Clarence Dan
16685ddb6c Update chat.module.scss 2023-08-18 17:21:58 +08:00
Clarence Dan
e78b15b9f0 Update chat.module.scss
Specify styles for iOS devices.
2023-08-18 17:12:02 +08:00
Algorithm5838
35b0bd76f8
Update markdown.tsx 2023-08-18 08:12:27 +03:00
Yidadaa
ed62c87156 feat: close hide auth page and use better unauth tips 2023-08-15 22:50:42 +08:00
Yidadaa
840277f584 fix: click avatar to edit context messages 2023-08-15 22:42:55 +08:00
wangwentong
b380421fd5 support json export 2023-08-15 13:32:34 +08:00
Yifei Zhang
20882a7598
Merge pull request from Yidadaa/bugfix-0814 2023-08-14 22:13:56 +08:00
Yifei Zhang
9d3dff47d2
Merge pull request from imldy/dev_title-generation-checkbox 2023-08-14 22:12:26 +08:00
Yidadaa
db5c7aba78 fix: scrollbar jitter under certain message counts 2023-08-14 22:11:38 +08:00
Yidadaa
e8e01aa60d feat: close use correct html lang attr 2023-08-14 21:55:18 +08:00
imldy
20a508e2d6 feat: add autoGenerateTitle option
(cherry picked from commit 656ab94a9c4edfee820616b8cfc39f5ee9952a3a)
2023-08-14 20:42:09 +08:00
Yifei Zhang
808e4b38a3
fixup 2023-08-14 11:10:02 +08:00
Yifei Zhang
a496bc5a63
fix: better rtl detecting algo 2023-08-14 10:57:24 +08:00
7lsu
d1096582a5 font family display enhance 2023-08-07 17:44:32 +08:00
Yidadaa
523d553dac fix: clear btn should display in correct place 2023-08-04 02:58:02 +08:00
Yidadaa
3e63f6ba34 feat: disable auto focus on mobile screen 2023-08-04 02:43:55 +08:00
Yidadaa
bc5ddc4541 fixup: improve auto scroll algo 2023-08-04 02:39:32 +08:00
Yidadaa
203067c936 feat: close improve lazy load message list 2023-08-04 02:16:44 +08:00
Yidadaa
75d4eca722 chore: smaller auto scroll interval 2023-08-02 23:51:01 +08:00
Yidadaa
b5ef552c25 feat: improve auto scroll ux and edit model title 2023-08-02 23:35:51 +08:00
Yidadaa
cbabb9392c feat: improve ChatAction ux 2023-08-02 22:53:36 +08:00
Yidadaa
129e7afc16 fix: should not clear the message after editing message 2023-07-31 22:20:39 +08:00
Yidadaa
13576087f4 fix: try to fix chat list lag 2023-07-25 22:59:21 +08:00
Yidadaa
7c2fa9f8a4 feat: close edit / insert / delete messages modal 2023-07-21 00:24:26 +08:00
Yidadaa
e5f6133127 feat: close pre-fill key/code/url 2023-07-20 23:17:58 +08:00
Yifei Zhang
70a4f94c81
Update home.tsx 2023-07-17 11:33:19 +08:00
Yifei Zhang
c916cd1a87
Update mask.tsx 2023-07-17 11:00:45 +08:00
Yidadaa
af5f67d459 feat: close add babel polyfill 2023-07-16 16:32:22 +08:00
Yidadaa
30473ec41e fix: do not copy in async callback after sharing to ShareGPT 2023-07-16 16:14:57 +08:00
Yidadaa
3ddedc903e feat: improve dnd icon 2023-07-16 15:49:15 +08:00
Yifei Zhang
08a8ac9971
Merge pull request from yikayiyo/feat-drag-prompts
feat:  drag and drop in contextual prompts
2023-07-16 14:30:49 +08:00
markshawn2020
3f8b14f5f8 fixed react key 2023-07-14 21:15:34 +08:00
legao
fb98050d9f feat: drag and drop in contextual prompts 2023-07-14 18:08:03 +08:00
Yifei Zhang
b51f7f9a25
Merge pull request from Yidadaa/bugfix-0712
fix: sharegpt roles
2023-07-12 23:21:22 +08:00
Yidadaa
d275e32e70 fix: sharegpt roles 2023-07-12 23:19:46 +08:00
Yidadaa
15e063e1b5 feat: disable /list/models 2023-07-10 23:19:43 +08:00
Yidadaa
c00a63e4c3 fix: resending message should delete origional messages 2023-07-10 22:59:12 +08:00
imldy
5e361f6748 dev: 增加模型设置项:是否启用注入全局 System Prompt 功能 2023-07-10 18:56:22 +08:00
Yidadaa
48a6cdd50a feat: improve model selector ui 2023-07-09 22:01:04 +08:00
Yidadaa
09b05cde7f fix: should select custom models 2023-07-09 21:56:49 +08:00
Yidadaa
8e4743e719 feat: migrate id to nanoid 2023-07-09 19:37:42 +08:00
Yidadaa
98ac7ee277 feat: close add custom model name config 2023-07-09 18:15:52 +08:00
Yidadaa
b55b01cb13 feat: improve chat actions ux 2023-07-09 16:39:46 +08:00
Yidadaa
ca295588c4 fix: improve chat actions 2023-07-09 16:15:58 +08:00
PaRaD1SE98
c10e8382a9
fix: selector z-index bug 2023-07-07 04:15:05 +09:00
Yidadaa
52203b50eb fixup 2023-07-06 02:07:35 +08:00
Yidadaa
0373b2c9dd feat: close use modal to switch model 2023-07-06 02:03:31 +08:00
Yidadaa
b718285125 feat: improve svg viewer 2023-07-06 01:33:30 +08:00
Yidadaa
6c6a2d08db feat: close display a modal to export image 2023-07-06 01:26:06 +08:00
Yidadaa
9e6617e3ca feat: add max icon for modals 2023-07-06 01:11:50 +08:00
Yidadaa
5c8be2a8f6 feat: close share mask as link 2023-07-05 23:19:54 +08:00
Yidadaa
1197521921 fix: polyfill composing for old safari browsers 2023-07-05 22:50:12 +08:00
Yidadaa
54bd07702c refactor: hide builtin masks 2023-07-05 22:39:25 +08:00
GH Action - Upstream Sync
9c36fcec81 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-07-05 00:12:23 +00:00
Marcus Schiesser
74fa065266 feat: add setting to hide builtin masks 2023-07-05 00:07:26 +07:00
Yifei Zhang
38f2495cf6
Merge pull request from Yidadaa/bugfix-0704
feat: close  use /list/models to get model ids
2023-07-04 23:21:32 +08:00
Yidadaa
4131fccbe0 feat: close use /list/models to get model ids 2023-07-04 23:16:24 +08:00
Yidadaa
f2d748cfe4 refactor: improve modal ux 2023-07-04 22:08:41 +08:00
PaRaD1SE98
0a2af9335c
fix: temperature -> top_p 2023-07-04 02:49:05 +09:00
Yidadaa
823032617d feat: add top p config 2023-07-04 00:39:54 +08:00
Yidadaa
0bc2c71b0c fix: hide chat actions for context prompts 2023-07-04 00:14:57 +08:00
Yidadaa
ee55f8790e fix: use global settings button dose not work 2023-07-01 18:16:06 +08:00
Yifei Zhang
9057712c8f
Update chat.module.scss 2023-06-30 16:08:45 +08:00
兀米
3120087992
perf : 代码细节优化
大神, 学习代码过程中发现的一个小小的点,887行已定义`const isUser = message.role === "user";`,此处可直接用isUser
2023-06-30 12:00:03 +08:00
Yidadaa
be4834688d feat: close improve app auto updater 2023-06-30 00:39:54 +08:00
Yidadaa
3937dad6a6 feat: close improve chat actions ux 2023-06-30 00:39:54 +08:00
Yifei Zhang
3adca26808
Update chat.module.scss 2023-06-29 11:03:13 +08:00
Yifei Zhang
97a8bb52d6
Update ui-lib.module.scss 2023-06-29 01:40:54 +08:00