Commit Graph

222 Commits

Author SHA1 Message Date
ilarioscandurra
f9f29afba9 Update: locales in Italian 2023-04-02 20:32:43 +02:00
Yifei Zhang
2647bdb4ed fixup: ux improve 2023-04-02 18:28:07 +00:00
Ilario Scandurra
c98517fc48
Merge branch 'main' into main 2023-04-02 20:13:58 +02:00
Yifei Zhang
e8dd391ccf
Merge pull request #378 from Yidadaa/prompt-edit
feat: add context prompt edit
2023-04-03 02:03:54 +08: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
ilarioscandurra
f606a61e1c Update: locales in Italian 2023-04-02 19:23:50 +02:00
Call White
a10f4d8abc
translate SendPreviewBubble 2023-04-03 01:07:06 +08: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
Cesaryuan
a356ee857c
Merge branch 'main' into patch-1 2023-04-02 21:39:03 +08:00
MapleUncle
a90e646381 🐞 fix(locales): Fix the missing SendPreviewBubble in ES configuration 2023-04-02 20:38:14 +08:00
Cesaryuan
12f342f015 fix: historyMessageCount 2023-04-02 20:23:56 +08: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
Cesaryuan
fea4f561b4
fix: fix history message count
Bug: The length of `new Array(20).slice(20 - 24) ` is 4 which should be 24.
2023-04-02 19:43:11 +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
Yifei Zhang
a64c4384b1
Merge pull request #322 from quark-zju/wexin-compat
fix: 微信 Android 内置浏览器兼容性
2023-04-02 13:17:56 +08:00
Jun Wu
cd5f8f7407 app: polyfill Array.at
This fixes compatibility issue with older browsers like WeChat webview.
The summary feature now works as expected.
2023-04-01 11:38:52 -07:00
linqirong
00a282214e fix:修复中文输入法下enter错误发送消息问题 2023-04-02 00:12:31 +08:00
Jun Wu
327ac765df utils: simplify trimTopic
Also avoid using Array.prototype.at, which does not seem to exist
in the Wexin builtin webview (Android Wexin 8.0.30).
2023-04-01 03:37:28 -07:00
Jun Wu
83cea2adb8 api: set Content-Type to json
This avoids issues in browsers like WeChat where the encoding is
incorrect and the summary feature does not work if it contains
zh-CN characters.
2023-04-01 03:37:09 -07: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
536358cb3c
Merge branch 'Yidadaa:main' into main 2023-03-31 19:21:46 +08:00
Dogtiti
5f7a264e52 fix: 修复在手机浏览器高度样式问题 2023-03-31 19:21:11 +08:00
Yifei Zhang
e5aa72af76
fix: #277 no cache for credit query 2023-03-31 18:33:26 +08:00
RugerMc
1db210097c feat: add switch of send preview bubble 2023-03-31 13:16:12 +08:00
Daniel Gerardo Rondón García
7f16698f01 Update: language options to "Language".
- Update Name option in language files to display 'Language' consistently
- Fix locale issues in 'tw' and 'cn' files that were mistakenly changed
2023-03-30 23:32:56 -05:00
Daniel Gerardo Rondón García
df75b9973a Update: locales in spanish 2023-03-30 19:48:57 -05:00
Yifei Zhang
2f2e0b6762 fix: commit id as version id 2023-03-30 18:15:49 +00: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
52a217883d
Merge pull request #234 from GOWxx/feat_set_history_to_zero
feat: support history message count to zero
2023-03-31 00:56:57 +08: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
bf50ebac94 fix: #229 disable light code theme 2023-03-30 15:50:08 +00:00
Yifei Zhang
7599ae385b fix: #244 better scroll ux 2023-03-30 15:42:54 +00:00
Yifei Zhang
7827b40f17 fix: #185 input and select align center 2023-03-30 15:25:38 +00:00
Yifei Zhang
dea3d26335 fix: crash caused by filter config 2023-03-30 15:20:19 +00:00
GOWxx
0c9add7988 feat: support history message count to zero 2023-03-30 18:50:58 +08:00
Leotrinos
7d7abca2c4 fix trimTopic 2023-03-30 02:55:19 -07: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
HimiCos
cac604aee3 chore: standardize input box punctuation 2023-03-29 19:31:34 +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
974c455bf9 feat: display line break hints in enter mode 2023-03-29 17:53: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
HimiCos
dee7950601 Update app/locales/tw.ts 2023-03-29 12:27:32 +08:00
Yifei Zhang
17ee2ee135
Update home.tsx 2023-03-29 02:19:20 +08:00
Yifei Zhang
e648a59b1f feat: add lint-staged 2023-03-28 18:09:05 +00: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
Yifei Zhang
7d5e742ea6 feat: #2 add prompt list 2023-03-28 17:45:23 +00:00
Yifei Zhang
cde3cbed21
Merge pull request #109 from HimiCos/main
feat: language support traditional chinese
2023-03-28 23:00:16 +08: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
Yifei Zhang
7f3cbaa064
Merge pull request #100 from iSource/fix-docker-access-code
fix: docker access code setting missing
2023-03-28 18:52:46 +08:00
石门
7a5c35baf3 fix: hide actions when loading 2023-03-28 18:48:03 +08:00
iSource
eb72c83b7e fix: docker access code setting missing 2023-03-28 17:55:03 +08:00
Yifei Zhang
adc0db4c74
Merge pull request #76 from xiaotianxt/main
feat: CmdEnter config for submitkey, bug fix for auto scrolling
2023-03-28 13:35:36 +08:00
Yifei Zhang
6155a190ac fix: light theme code highlight 2023-03-28 05:24:51 +00: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
Yifei Zhang
8f498075b9
Merge pull request #81 from iSource/fix-code-copy-button
fix: code copy button position
2023-03-28 11:57:03 +08:00
AprilNEA
684a3c41ef
fix: fix #82, close sidebar after new session 2023-03-28 11:51:36 +08:00
iSource
55f37248f7 fix: code copy button position 2023-03-28 10:50:50 +08:00
Yifei Zhang
60f27fdfbb
Merge pull request #68 from AprilNEA/main
fix(#65): fix unknown git commit id
2023-03-27 22:01:19 +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
AprilNEA
efe4fcc188
Merge branch 'Yidadaa:main' into main 2023-03-27 18:31:47 +08:00
AprilNEA
efaf6590ef
fix(#65): fix unknown git commit id 2023-03-27 18:31:04 +08:00