Commit graph

16 commits

Author SHA1 Message Date
Ayaka d0ddcfea6a
Rename "Save & Submit" to "Generate" (#396)
* Rename to generate

* edit view buttons reorder buttons and colors

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-08-03 07:29:03 -07:00
Jing Hua 3fff7968a3 feat: clear prompt library
Fixes #266
2023-05-01 21:51:27 +08:00
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 b122e9f6cd update Japanese translation
Co-authored-by: sangandol <36394877+sangandol@users.noreply.github.com>
2023-04-02 01:42:17 +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 a0988dbd49 Add Japanese and Malay translation 2023-03-27 15:09:41 +10:00