nova-betterchat/src
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
..
api Sync to Google Drive (#233) 2023-04-14 15:29:13 +08:00
assets/icons Sync to Google Drive (#233) 2023-04-14 15:29:13 +08:00
components Add simple mode (#113) 2023-04-15 22:03:33 +08:00
constants Add language names (#198) 2023-04-04 16:08:02 +08:00
hooks add feature to create new chat in a given folder (#174) 2023-04-04 00:33:40 +08:00
store Add simple mode (#113) 2023-04-15 22:03:33 +08:00
types Sync to Google Drive (#233) 2023-04-14 15:29:13 +08:00
utils Sync to Google Drive (#233) 2023-04-14 15:29:13 +08:00
App.tsx Sync to Google Drive (#233) 2023-04-14 15:29:13 +08:00
i18n.ts Sync to Google Drive (#233) 2023-04-14 15:29:13 +08:00
main.css style: scrollbar 2023-04-04 14:33:56 +08:00
main.tsx fix math-katex rendering (#194) 2023-04-07 21:13:46 +08:00
vite-env.d.ts Initial Commit 2023-03-03 13:25:10 +08:00