* 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