Commit graph

19 commits

Author SHA1 Message Date
Jing Hua 6c214f107d i18n: placeholder 2023-04-27 22:48:18 +08:00
Jing Hua 5fdaa1dbda feat: count lifetime token usage
fixes #163
2023-04-24 13:44:03 +08:00
Jing Hua 627e1cc03a feat: inline LaTeX toggle
fixes #237
2023-04-17 17:36:34 +08:00
Peng Guanwen c2d833b332
Add simple mode (#113)
* Add simple mode

The current UI is too complicated for some first time users.
This commit adds a "Advanced mode" toggle that defaults on but can be
turned off. When the toggle if switched off, the simple mode is
activated and following UI elements are hided:

- Model parameters setting
- Role switch
- Save button (This means user must save *and* submit in simple mode.)

* Simple mode: Fix ctrl-enter in non-sticky blocks

* i18n

* hide token count

* add back save button

* remove unused variables

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
2023-04-15 22:03:33 +08:00
Jing Hua 3f0ada4a9d
Sync to Google Drive (#233)
* google drive api

* fix: google-api

* GoogleCloudStorage

* list files api

* Google Cloud Storage

* move button to side menu

* sync status

* rename file

* show popup for those with cloud sync

* update button style

* auto close modal after logged in

* auto popup every 59min

* set as unauthenticated if update fails

* i18n

* add spin animation

* feat: Toast

* clear toast

* electron: desktop google drive integration

This update includes integration with Google Drive for desktop access,
but requires a new URL, which may cause existing chat data to be lost.
To minimize disruption, users can export their current chat data and
import it into the newer version.

* update note

* error handling

* support multiple drive files

* feat: delete drive file

* i18n

* change style
2023-04-14 15:29:13 +08:00
Jing Hua 23628ae7a6 update placeholder text 2023-04-09 23:06:35 +08:00
Tindo N. Arsel f6ff1f4635
add submit placeholder for message textarea (#200)
* add submit placeholder for message textarea

* fix typo in french translation

* Update MessageContent.tsx

---------

Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-04-05 12:59:01 +08:00
Ayaka Mikazuki 15ca9adc4a update i18n 2023-04-02 02:17:35 +10:00
Jing Hua 78bf777365 feat: option for enterToSubmit / shiftEnterToSubmit
Fixes #88
2023-03-30 16:01:01 +08:00
Jing Hua fd14260c84 feat: clone chat
fixes #160
2023-03-29 20:39:31 +08:00
Ayaka Mikazuki 5f1762f557 update translation 2023-03-27 23:54:42 +10:00
Jing Hua fe8d6ccced
feat: chat folders (#146)
* feat: folder

* folder functionality

* i18n
2023-03-27 21:41:45 +08:00
Ayaka Mikazuki 191739d995 remove free APIs
Remove free APIs as they ran out of funding. Users can still use
third-party free APIs by using custom endpoints.

Ref: #144

Squashed commit of the following:

commit 81e9b9963ea8c4532c110bfe2ddb67b603683875
Author: Ayaka Mikazuki <ayaka@mail.shn.hk>
Date:   Mon Mar 27 17:30:11 2023 +1000

    update translations

commit 7bf023ed2f392e79026dd1d4154b83397bba2249
Author: Ayaka Mikazuki <ayaka@mail.shn.hk>
Date:   Mon Mar 27 16:44:36 2023 +1000

    update API menu

commit 641b34cfafbc8e10d3ba9730f58a3f10a57dd52b
Author: Jing Hua <tohjinghua123@gmail.com>
Date:   Mon Mar 27 14:19:49 2023 +0800

    remove api free option
2023-03-27 17:32:54 +10:00
Ayaka Mikazuki e68185cf6c Update translation 2023-03-27 15:08:07 +10:00
Ayaka Mikazuki 8e85ce619f Update translation 2023-03-25 22:23:10 +09:30
Ayaka Mikazuki 370e03fafa Rename Free ChatGPT to Better ChatGPT 2023-03-25 15:05:26 +09:30
Jing Hua aefca02620 api popup 2023-03-25 13:04:06 +08:00
Jing Hua f797f6984c feat: ShareGPT
Fixes #1
2023-03-23 00:58:26 +08:00
Ayaka Mikazuki a0995c6f80 Fix nb-NO translation 2023-03-22 16:15:11 +09:30