mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-03 09:08:52 +01:00
🎛️ refactor: Add keyboard command toggles & only trigger for the 1st character (#3566)
* refactor: Improve handling of key up events in useHandleKeyUp hook to only trigger for first char and fix linter issues * refactor: Update Beta component styling with theme twcss variables * refactor: theming for Settings, add toggle enable/disable keyboard commands
This commit is contained in:
parent
270c6d2350
commit
01a88991ab
12 changed files with 224 additions and 64 deletions
|
|
@ -37,6 +37,11 @@ const localStorageAtoms = {
|
|||
modularChat: atomWithLocalStorage('modularChat', true),
|
||||
LaTeXParsing: atomWithLocalStorage('LaTeXParsing', true),
|
||||
|
||||
// Commands settings
|
||||
atCommand: atomWithLocalStorage('atCommand', true),
|
||||
plusCommand: atomWithLocalStorage('plusCommand', true),
|
||||
slashCommand: atomWithLocalStorage('slashCommand', true),
|
||||
|
||||
// Speech settings
|
||||
conversationMode: atomWithLocalStorage('conversationMode', false),
|
||||
advancedMode: atomWithLocalStorage('advancedMode', false),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue