Commit graph

10 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
spctechdev bfe3f1adfa
New language: Italian (#192)
* Add files via upload

* Update i18n.ts
2023-04-03 10:07:11 +08:00