Commit graph

14 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 5fdaa1dbda feat: count lifetime token usage
fixes #163
2023-04-24 13:44:03 +08:00
Tindo N. Arsel 4bfa2e6dfa
update french translation (#238) 2023-04-18 20:56:23 +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
Tindo N. Arsel 88319e1b4d
little fix a french translation contextual word (#186)
Better use "Soumettre" instead of "Envoyer" to translate "Submit".
"Envoyer" is more contextually translation for the word "Send"
2023-04-01 22:54:36 +08:00
Tindo N. Arsel 446fd1c944
update french translation (#170) 2023-03-31 05:03:02 +08: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
Tindo N. Arsel a12ab5177a
add French translation, use relative shortcut for main French and English variant (en-US & fr-FR) (#153)
* add French translation

* Add US english and French french translations

This as shortcuts to their respective default locales.
This will improve locale indexing for these main language  variants,
without unnecessary duplication.

* trailing new line

* fix typo

* fix typo

---------

Co-authored-by: Ayaka <f@0x40.shn.hk>
Co-authored-by: Ayaka <ayaka@mail.shn.hk>
2023-03-28 23:15:07 +08:00