* 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>
* 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
* 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>
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