Commit Graph

490 Commits

Author SHA1 Message Date
Yidadaa
09b05cde7f fix: #2303 should select custom models 2023-07-09 21:56:49 +08:00
Yidadaa
8e4743e719 feat: #920 migrate id to nanoid 2023-07-09 19:37:42 +08:00
Yidadaa
98ac7ee277 feat: close #2303 add custom model name config 2023-07-09 18:15:52 +08:00
Yidadaa
b55b01cb13 feat: #2308 improve chat actions ux 2023-07-09 16:39:46 +08:00
Yidadaa
ca295588c4 fix: #2308 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 #2266 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 #2267 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 #1072 share mask as link 2023-07-05 23:19:54 +08:00
Yidadaa
1197521921 fix: #2252 polyfill composing for old safari browsers 2023-07-05 22:50:12 +08:00
Yidadaa
54bd07702c refactor: #2256 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 #2253 from Yidadaa/bugfix-0704
feat: close #2192 use /list/models to get model ids
2023-07-04 23:21:32 +08:00
Yidadaa
4131fccbe0 feat: close #2192 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: #2230 hide chat actions for context prompts 2023-07-04 00:14:57 +08:00
Yidadaa
ee55f8790e fix: #2208 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 #2190 improve app auto updater 2023-06-30 00:39:54 +08:00
Yidadaa
3937dad6a6 feat: close #2187 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 #2136 click avatar to edit message 2023-06-29 01:31:27 +08:00
Yidadaa
6c3d4a11cc feat: close #2141 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: #2149 chat action button style 2023-06-28 01:15:55 +08:00
Yidadaa
5b1d45c1a9 fix: #2149 try to fix chat action button style 2023-06-28 01:09:25 +08:00
Yidadaa
bce74890dc fix: #2149 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: #2149 try to fix ChatAction style on ios mobile 2023-06-27 23:07:12 +08:00
Yifei Zhang
058e28911a
fix: #2135 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 #2134 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 #2133 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 #1615 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 #628 add chat commands 2023-06-24 23:38:11 +08:00
Yidadaa
5d06fa217c feat: close #2013 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 #2117 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: #2087 chat box font size use global config 2023-06-23 20:57:43 +08:00
Yidadaa
93c666b03d feat: close #2025 just use a smaller to-bottom threshold 2023-06-23 20:53:08 +08:00
Yifei Zhang
daeb8a67a3
Merge pull request #2048 from ilizhu/main
feat: i18n in message exporter
2023-06-20 02:45:48 +08:00
Yifei Zhang
67f23d202a
Merge pull request #2056 from Yidadaa/bugfix-0620
fix: #2055 should render mermaid completely
2023-06-20 02:38:59 +08:00
Yidadaa
3c38b9c93b fix: #2055 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 #1807 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: #1954 lazy render bugs 2023-06-15 01:34:21 +08:00
Yifei Zhang
590bd8e4bb
Merge pull request #1946 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: #1000 ready to support client-side only 2023-06-14 00:37:42 +08:00
Yidadaa
a7e9356c16 fixup: #1762 optimize style on mobile screen 2023-06-13 03:04:09 +08:00
Yidadaa
88df4a2223 feat: close #1762 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 #741 add auth page 2023-06-07 02:18:24 +08:00
Yidadaa
57514e91b6 fix: #1685 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 #1742 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: #1711 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: #1681 replace svg icons with png icons 2023-05-22 23:49:11 +08:00
Yifei Zhang
f0b4ef5917
Merge pull request #1679 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 #1678 from Yidadaa/export
feat: close #580 export messages as image
2023-05-22 01:02:58 +08:00
Yidadaa
4dad7f2ab6 feat: close #580 export messages as image 2023-05-22 00:59:36 +08:00
ShengYan, Zhang
23f6c2e8c9 fix: bug #1662 2023-05-21 11:58:10 +08:00
Yidadaa
05b1b8b240 feat: close #1382 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 #1415 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 #1626 hide context prompts in mask config 2023-05-20 20:08:17 +08:00
Yidadaa
af497c96ec fix: #1612 infinite loading 2023-05-20 19:58:12 +08:00
Yidadaa
b1ba3df989 feat: close #1478 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: #1612 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: #1000 #1179 api layer for client-side only mode and local models 2023-05-15 01:33:46 +08:00
Yidadaa
03163d6a61 fix: #1444 async load google fonts 2023-05-14 23:25:22 +08:00
Yidadaa
6da3aab046 fix: #1423 should not scroll right when dragging side bar items 2023-05-14 02:21:35 +08:00
Yifei Zhang
d9be63e6cb
Merge pull request #1452 from PaRaD1SE98/main
fix: typo upater -> updater
2023-05-13 14:52:12 +08:00
Yifei Zhang
1a626a68f0
Merge pull request #1450 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 #1421 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 #1413 cmd/alt/ctrl should be checked for arrowUp events 2023-05-11 16:08:34 +08:00
ShengYan, Zhang
cbb50c14e1 fix: bug #1413 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: #1363 session index after deleting 2023-05-09 23:36:30 +08:00
Yidadaa
2b7f72deec feat: close #1055 cmd/alt/ctrl + arrow up/down to switch window 2023-05-09 23:01:17 +08:00
Yidadaa
222301307f feat: close #1301 support message actions 2023-05-09 00:39:00 +08:00
Yidadaa
1b19fdfe11 feat: #1303 improve long text input ux and mobile modal 2023-05-08 22:49:51 +08:00
Yidadaa
1f2ef1cdb7 fix: #1307 empty messages 2023-05-08 22:21:06 +08:00
Yidadaa
c394b21423 fix: #1294 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 #951 support mermaid 2023-05-05 23:32:35 +08:00
Yidadaa
fe8e3f2bcf fix: #1273 overlap detecting 2023-05-05 22:59:21 +08:00
Yifei Zhang
ec655f5182
Merge pull request #1248 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 #887 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 #663 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 #782 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: #1201 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