Commit Graph

490 Commits

Author SHA1 Message Date
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
Yidadaa
b044e274aa feat: close click avatar to edit message 2023-06-29 01:31:27 +08:00
Yidadaa
6c3d4a11cc feat: close danger zone 2023-06-29 01:09:51 +08:00
Yidadaa
ea6926cad3 feat: replace window.prompt with showPrompt 2023-06-29 00:09:56 +08:00
Yidadaa
3298961748 feat: replace window.confirm with showConfirm 2023-06-28 23:40:39 +08:00
Yidadaa
64c4f512ce fixup: chat action button style 2023-06-28 01:15:55 +08:00
Yidadaa
5b1d45c1a9 fix: try to fix chat action button style 2023-06-28 01:09:25 +08:00
Yidadaa
bce74890dc fix: try to fix chat action button style 2023-06-28 01:02:56 +08:00
Yidadaa
1dd75b63de feat: [WIP] support webdav 2023-06-28 00:34:01 +08:00
Yidadaa
6caf79121b feat: improve chat commands 2023-06-27 23:39:27 +08:00
Yidadaa
38c8ee8cd2 feat: improve message item buttons style 2023-06-27 23:29:53 +08:00
Yidadaa
d5c33a1183 fix: try to fix ChatAction style on ios mobile 2023-06-27 23:07:12 +08:00
Yifei Zhang
058e28911a
fix: disable cmd + arrow to change session 2023-06-26 18:29:46 +08:00
Yorun
b003a374b8 fix: alignment of mobile settings page title. 2023-06-26 04:16:06 +00:00
Yifei Zhang
5f7c262759
Merge pull request from Yidadaa/bugfix-0625
fix: input-range style
2023-06-26 01:51:55 +08:00
Yidadaa
f3ab6b27c9 fix: input-range style 2023-06-26 01:51:35 +08:00
Yifei Zhang
d62eb56886
Merge pull request from quzard/fix_pin_bug
Fix Pin Message
2023-06-26 01:43:20 +08:00
quzard
c2724c6aad Fix Pin Message: when userMessageIndex === 0, pinning a message was not possible. 2023-06-26 01:36:27 +08:00
Yidadaa
82ec4474c2 feat: align chat page title center on mobile screen 2023-06-26 01:27:36 +08:00
Yidadaa
7893693706 feat: close pin messages to contextual prompts 2023-06-26 00:21:58 +08:00
Yidadaa
25ce6af36e feat: new chat message actions style 2023-06-25 23:53:22 +08:00
Constaline
c05de45d99 feat: add "Hide_Balance_Query" environment variable 2023-06-25 20:20:36 +08:00
Yidadaa
b5eaa8272b chore: delete chat button position 2023-06-24 23:53:37 +08:00
Yidadaa
ae1ef3215b feat: close add chat commands 2023-06-24 23:38:11 +08:00
Yidadaa
5d06fa217c feat: close add switch model button to chat actions 2023-06-24 22:41:13 +08:00
Yidadaa
50b1f7db12 feat: right-click to copy message to user input 2023-06-24 22:32:46 +08:00
Yifei Zhang
fb82806956
Merge pull request from JunJD/优化useScrollToBottom
refactor: 优化 useScrollToBottom
2023-06-24 22:25:45 +08:00
dingjunjie
9278d7f851 refactor: 优化 useScrollToBottom 2023-06-24 16:37:29 +08:00
Zizwar
15f8d13d81 Set markdown-body RTL for Arabic text 2023-06-24 05:53:58 +00:00
Zizwar
946e508e8f Support left to right in language arabic 2023-06-24 05:10:34 +00:00
Yidadaa
be597a551d feat: #close 1789 add user input template 2023-06-24 00:07:46 +08:00
Yidadaa
fa9ceb5875 fix: chat box font size use global config 2023-06-23 20:57:43 +08:00
Yidadaa
93c666b03d feat: close just use a smaller to-bottom threshold 2023-06-23 20:53:08 +08:00
Yifei Zhang
daeb8a67a3
Merge pull request from ilizhu/main
feat: i18n in message exporter
2023-06-20 02:45:48 +08:00
Yifei Zhang
67f23d202a
Merge pull request from Yidadaa/bugfix-0620
fix:  should render mermaid completely
2023-06-20 02:38:59 +08:00
Yidadaa
3c38b9c93b fix: should render mermaid completely 2023-06-20 02:37:38 +08:00
zhuge
c6696313bf 聊天记录导出格式为image时预览聊天信息项使用设置的语言 chat information items using the language in the settings when exporting chat records in image format 2023-06-19 16:16:09 +08:00
Yifei Zhang
f3ec9f02eb
Merge pull request from AngelLiang/feat/frequency_penalty
feat: Add frequency_penalty request parameter
2023-06-18 14:36:55 +08:00
Yidadaa
698be6671c feat: enable drag area for tauri apps 2023-06-15 23:20:14 +08:00
Yidadaa
6264c02543 feat: add app logo and
release workflow
2023-06-15 02:49:08 +08:00
Yidadaa
80d5bfd7c0 feat: add app dev mode 2023-06-15 01:48:56 +08:00
Yidadaa
184a0b9481 fix: lazy render bugs 2023-06-15 01:34:21 +08:00
Yifei Zhang
590bd8e4bb
Merge pull request from cesaryuan/fix-selection
fix: remove selection range when user blured
2023-06-14 15:42:24 +08:00
Cesaryuan
b4cb8c3d75 chore: translate comment to english 2023-06-14 14:40:51 +08:00
Cesaryuan
21aa015a79 fix: remove slection range when user blured 2023-06-14 14:30:08 +08:00
samelamin
c56c6074e9 fix date time bug 2023-06-13 18:32:51 +01:00
Yidadaa
50cd33dbb2 feat: ready to support client-side only 2023-06-14 00:37:42 +08:00
Yidadaa
a7e9356c16 fixup: optimize style on mobile screen 2023-06-13 03:04:09 +08:00
Yidadaa
88df4a2223 feat: close add hover text for chat input actions 2023-06-13 02:27:39 +08:00
Old Dream
1d790b9e8d
修改 auth.tsx 输入框为password 2023-06-09 12:39:42 +08:00
Yidadaa
ebbd0128f1 feat: close add auth page 2023-06-07 02:18:24 +08:00
Yidadaa
57514e91b6 fix: clear context index should be recoverable 2023-06-07 01:18:05 +08:00
AngelLiang
72cbb156ae feat: Add frequency_penalty request parameter 2023-06-04 16:05:35 +08:00
ShengYan, Zhang
846e323840 fix: the position of top-action buttons 2023-05-31 15:45:12 +08:00
Yifei Zhang
aa74a74c5c
Merge pull request from wsw2000/refactor/listitem-undefined-classname
refactor: Fix undefined className in ListItem
2023-05-25 16:40:51 +08:00
wsw
96d2f05eb7 refactor: Fix undefined className in ListItem 2023-05-25 01:13:19 +08:00
Yidadaa
3e65ef3bea feat: share to ShareGPT 2023-05-25 01:04:37 +08:00
Yidadaa
4ca34e0436 fix: input range style in mobile screen 2023-05-24 23:21:18 +08:00
ShengYan, Zhang
e84da3089a fix state loss after user switches from steps 2023-05-24 14:44:06 +08:00
ShengYan, Zhang
fee38b8d13 fix: a few typos 2023-05-24 14:42:36 +08:00
parad1se_jp
99317f759b fix: use Select component 2023-05-23 01:57:45 +09:00
Yidadaa
d34676c5b2 fixup 2023-05-22 23:59:11 +08:00
Yidadaa
ec61a5b32d fix: replace svg icons with png icons 2023-05-22 23:49:11 +08:00
Yifei Zhang
f0b4ef5917
Merge pull request from Yidadaa/export
chore: mobile export image style
2023-05-22 01:25:49 +08:00
Yidadaa
1f12753c68 chore: mobile export image style 2023-05-22 01:23:08 +08:00
Yifei Zhang
0439d122a5
Merge pull request from Yidadaa/export
feat: close  export messages as image
2023-05-22 01:02:58 +08:00
Yidadaa
4dad7f2ab6 feat: close export messages as image 2023-05-22 00:59:36 +08:00
ShengYan, Zhang
23f6c2e8c9 fix: bug 2023-05-21 11:58:10 +08:00
Yidadaa
05b1b8b240 feat: close only clear memory btn in chat config 2023-05-21 02:04:30 +08:00
Yidadaa
35cec0f1df fixup: i18n and icon minor changes 2023-05-21 01:44:59 +08:00
Yidadaa
a19d238483 feat: close clear context button 2023-05-21 01:28:09 +08:00
Yidadaa
76e6957a8a fixup 2023-05-20 23:53:39 +08:00
Yidadaa
f14b413b7c feat: scrollable mask lists in new-chat page 2023-05-20 23:49:10 +08:00
Yidadaa
6d8c7ba140 feat: close hide context prompts in mask config 2023-05-20 20:08:17 +08:00
Yidadaa
af497c96ec fix: infinite loading 2023-05-20 19:58:12 +08:00
Yidadaa
b1ba3df989 feat: close new chat use global config as default 2023-05-20 00:39:52 +08:00
ShengYan, Zhang
f8ef6278a5 fix: css on display chat names 2023-05-19 20:14:57 +08:00
ShengYan, Zhang
f6c268dc1e fix: allow to import a single mask 2023-05-19 10:39:34 +08:00
Yidadaa
6cf2fa02e5 fix: fill empty message with a placeholder 2023-05-19 00:24:25 +08:00
Yidadaa
736c66f46a feat: stop all stale messages 2023-05-18 01:24:36 +08:00
simondby
44874fb5e0 fix: typo PresencePenlty -> PresencePenalty 2023-05-16 15:40:43 +08:00
Quorafind
cf775e3487 fix: enter key cannot select prompt when using enter key to submit 2023-05-16 12:06:06 +08:00
Yidadaa
5f444c1c82 fix: conflict 2023-05-15 01:36:22 +08:00
Yidadaa
a3de277c43 refactor: api layer for client-side only mode and local models 2023-05-15 01:33:46 +08:00
Yidadaa
03163d6a61 fix: async load google fonts 2023-05-14 23:25:22 +08:00
Yidadaa
6da3aab046 fix: should not scroll right when dragging side bar items 2023-05-14 02:21:35 +08:00
Yifei Zhang
d9be63e6cb
Merge pull request from PaRaD1SE98/main
fix: typo upater -> updater
2023-05-13 14:52:12 +08:00
Yifei Zhang
1a626a68f0
Merge pull request from yorunning/fix-1
fix: the theme-color selector
2023-05-13 14:50:54 +08:00
PaRaD1SE98
dc3fa6c780
Update settings.tsx
fix: typo upater -> updater
2023-05-12 22:46:22 +09:00
Yorun
170936a96e fix: the theme-color selector 2023-05-12 18:47:41 +08:00
wsw
93c9974019 feat: scrolling effect when switching chat windows 2023-05-12 17:54:40 +08:00
Yifei Zhang
cdfcf0f068
Merge pull request from zxdclyz/hide-hints
Fix: click the prompt button to hide hints when it's already shown
2023-05-11 18:53:59 +08:00
liyuze
ec19b86ade fix: click the prompt button to hide hints when it's already shown 2023-05-11 18:29:25 +08:00
ShengYan, Zhang
7bf74c6a5d fix: bug cmd/alt/ctrl should be checked for arrowUp events 2023-05-11 16:08:34 +08:00
ShengYan, Zhang
cbb50c14e1 fix: bug input '/' when clicking icon to open prompt modal 2023-05-11 15:42:32 +08:00
PaRaD1SE98
960aa90c32 优化Select component 2023-05-10 14:09:30 +00:00
PaRaD1SE98
96e3d3a22c 给所有select元素添加一个右侧下拉按钮 2023-05-10 07:14:49 +00:00
Yidadaa
e4630e6a0f fixup 2023-05-09 23:38:34 +08:00
Yidadaa
6d9abf11b8 fix: session index after deleting 2023-05-09 23:36:30 +08:00
Yidadaa
2b7f72deec feat: close cmd/alt/ctrl + arrow up/down to switch window 2023-05-09 23:01:17 +08:00
Yidadaa
222301307f feat: close support message actions 2023-05-09 00:39:00 +08:00
Yidadaa
1b19fdfe11 feat: improve long text input ux and mobile modal 2023-05-08 22:49:51 +08:00
Yidadaa
1f2ef1cdb7 fix: empty messages 2023-05-08 22:21:06 +08:00
Yidadaa
c394b21423 fix: fallback while mermaid render fails 2023-05-08 22:18:19 +08:00
ShengYan, Zhang
9bcfe6461d chore: remove an unused css name 2023-05-08 08:48:47 +08:00
ShengYan, Zhang
4a82a91f2d fix: styles on .user-prompt-buttons 2023-05-08 08:27:10 +08:00
Mokou
6d62ab4257 feat: mobile chat overscroll-behavior none 2023-05-07 18:33:40 +08:00
ShengYan, Zhang
96545bd523 fix: show Loading Icon when checking repo update 2023-05-06 20:12:26 +08:00
Yidadaa
d88da1f6ab feat: close support mermaid 2023-05-05 23:32:35 +08:00
Yidadaa
fe8e3f2bcf fix: overlap detecting 2023-05-05 22:59:21 +08:00
Yifei Zhang
ec655f5182
Merge pull request from wsw2000/main
refactor: determine userInput by trimming
2023-05-04 23:26:02 +08:00
wsw
319959ad6e refactor: determine userInput by trimming 2023-05-04 22:53:22 +08:00
Yidadaa
596c9b1d27 feat: close import masks 2023-05-04 22:33:13 +08:00
Yidadaa
fce3b3ce7b feat: use commit time as version id 2023-05-04 00:12:00 +08:00
Yidadaa
074bd9f045 feat: close allow disable user api key input 2023-05-03 23:49:33 +08:00
Yidadaa
06268543d0 fixup 2023-05-03 16:24:25 +08:00
Yidadaa
58eadd6d7b feat: close select prompt with arrow down / up 2023-05-03 16:22:37 +08:00
Yidadaa
f250594e97 Merge branch 'main' into bugfix-0503 2023-05-03 15:56:02 +08:00
Yidadaa
c1b6828ed4 fix: wont close prompt list when blur 2023-05-03 15:55:46 +08:00
Clarence Dan
aeda7520fe
fix: Resolve markdown link issue
Resolved Markdown Issue
This pull request also resolves an issue where internal links were not redirecting properly in markdown, and optimizes the behavior for external links to open in a new window.
2023-05-02 11:18:18 +08:00
Yidadaa
717c123b82 feat: improve mask ui 2023-05-02 03:10:13 +08:00
Yidadaa
132f6c8420 feat: improve mask ui 2023-05-02 03:01:42 +08:00