Commit Graph

355 Commits

Author SHA1 Message Date
2b51a3348c Better checkbox styles 2023-03-11 15:54:38 +02:00
28004e7616 Autoconnect to ooba and novel 2023-03-11 00:17:26 +02:00
439286b946 Fix notice style for ooba 2023-03-10 23:54:46 +02:00
100c934f5a Hide character only if deleted 2023-03-10 23:53:04 +02:00
216b251f3e Enable amount gen if switching API from Kobold with GUI preset 2023-03-10 22:01:16 +02:00
142ac02293 Merge branch 'main' into dev 2023-03-09 22:43:49 +02:00
7cc9ebff8d Reset prompt bias after first generation 2023-03-09 22:05:26 +02:00
7c7b212684 Merge branch 'main' into dev 2023-03-09 17:42:02 +02:00
af709ce079 Change WI slider values 2023-03-09 17:41:19 +02:00
af7d30b248 Display Chloe on group chat deletion 2023-03-09 01:54:52 +02:00
d804720357 Improvements to group chats 2023-03-09 01:40:30 +02:00
5f4c9bf301 Step pen.alpha return 2023-03-08 17:59:39 +02:00
6cafd60bb3 Remove hardcoded context side 2023-03-08 17:57:56 +02:00
62a6fa8519 Add support for text generation UI (by @im-not-tom) 2023-03-08 17:34:14 +02:00
f91bcb6c73 Merge remote-tracking branch 'origin/update-tokenizer' into dev 2023-03-08 16:53:08 +02:00
d15ad3ef8f Merge branch 'main' into dev 2023-03-08 13:18:06 +02:00
6d53ab3001 Merge remote-tracking branch 'ross/main' 2023-03-08 13:15:07 +02:00
4676777d17 Un-hide Soft Prompts selector 2023-03-08 01:59:05 +02:00
73d669628d Sort extension prompts by key alphabetical order 2023-03-08 01:58:48 +02:00
ef7e412896 create_form and api_form CSS
tweaks to panel menus to maximize utilization of space.
2023-03-08 05:39:19 +09:00
c21317d69e CountCharTokens() + create_form to grid +CSS tweaks
1. Added a new utility function CountCharTokens() to replace the token counting routine from before. It also works unsaved new characters.

1.5 - moved #result_info to the top under avatar.

2. put create_form into a grid display so the two textareas can automatically resize to fill as much space as possible.

3. CSS - standardized background shadings, and replaced backdrop filters with RGBA background-colors for most divs. increased the strangth of some box-shadows on large UI divs
2023-03-08 04:53:00 +09:00
63ddd82792 Fix search bar 2023-03-07 18:04:50 +02:00
92109d9044 Search bar fixed 2023-03-07 18:02:03 +02:00
93ec43893c Merge branch 'main' into dev 2023-03-07 17:38:43 +02:00
56cf662081 Fix settings deletion 2023-03-07 17:36:50 +02:00
936cb32264 Support multiple extension prompts 2023-03-07 17:18:53 +02:00
837ecb636a Style adjust 2023-03-07 16:38:41 +02:00
2a41834b3d Filter caret return symbols out of prompt 2023-03-07 15:10:19 +02:00
1c9658c82a WI replacement params 2023-03-07 15:04:29 +02:00
16b4503d8f KoboldAI settings presets selector fixed for QuickRefresh
The selector menu for KoboldAI settings presets was doubling the list of presets when QuickRefresh happened, so i uncommented the "$("#settings_perset").empty();* line of code in /getsettings
2023-03-07 05:45:57 +09:00
67e94493cb Adjust styles 2023-03-06 18:47:44 +02:00
427c21ee8c Better extensions style 2023-03-06 18:11:12 +02:00
50743afaa9 Remove debugger 2023-03-06 17:52:35 +02:00
36a62aad9e Merge branch 'main' into dev 2023-03-06 17:51:20 +02:00
9134504a7b Post-merge fixes 2023-03-06 16:51:08 +02:00
d2cce0eead Merge remote-tracking branch 'ross/main' 2023-03-06 16:04:41 +02:00
88a2b46a77 AtoZ char sorting + QuickRefresh on Username change 2023-03-06 17:47:29 +09:00
b03fd99588 syncing PNGs 2023-03-06 11:02:07 +09:00
2cd6739aaa dynamic char delete + button/create form styling
1. enabled deletion of characters without page reload. now when a user deletes a character, the page will not auto-refresh, but they will be get a message from Chloe instructing them to pick another character to continue.

2. standardized all buttons to use menu_button class instead of individual ID stylings

3. adjusted create_form, making wider range inputs for mobile users.
- moved 'back button' to the bottom of the form next to delete/create/export
- changed the 'back' button on post-creation rm_info to look like a button

4. condensed redundant CSS where possible; removed unused CSS.

5. Fixed the problem of the nav auto-closing when a character is created or when using advanced editing window.

6. made the token counter load when a character is selected. previously it only showed up after edits were made.

7. found some problems with /createcharacter - if a character/PNG with the same name exists, the server won't make a new character, but it doesn't tell the user about the error.  I UI acts as if the character was created. I added some soft console.error messages for this, but couldn't figure out a way to make it give a proper error. probably because fs.existsSync doesn't have a callback.
2023-03-06 10:58:10 +09:00
4031a599ac Bypass localtunnel on loading extension files 2023-03-05 15:43:28 +02:00
1db21e1a13 Add value to Tunnel bypass header 2023-03-05 14:52:29 +02:00
f7f2c3078f TEST: Supposed fix of "avatars infection" issue 2023-03-05 14:51:22 +02:00
f6aa6609cd Fix for localtunnel 2023-03-04 23:32:32 +02:00
6793db967f fixed advanced_div and styled notes links
advanced div changed to grid layout

notes links "?" styled as circles
2023-03-04 17:26:20 +09:00
5bde642f5b Moved AutoFeatures Out of getSettings
Originally both AutoConnect and AutoLoadChat features were built into the getSettings function, but this caused unreliable functionality on Firefox and Chrome.

Instead I made them their own functions to call separately once everything else in the loading process had finished.
2023-03-04 07:50:15 +09:00
3616895190 Add chatId to external API 2023-03-04 00:25:39 +02:00
507cddcba7 swapped auto-function execution order
testing in firefox showed connecting to API first caused a very small amount of lag which caused it to skip the auto-load-chat feature.

swapping the order and placing auto-connect at the end of getSettings fixed this.
2023-03-04 05:40:13 +09:00
569ca97b13 added Firefox compatibility to styled check boxes 2023-03-04 04:41:16 +09:00
7ce52046fd New toggle features: Auto-Connect & Auto-Load-Chat
1. new function - Auto-connect to API
2. new function - Auto-load last character/chat

Both of these have toggles in the right menu at the bottom in a "Power user options" section.

Both only load if settings.json has a pre-defined setting for them. (won't fire on first load after install)
2023-03-04 04:00:40 +09:00
939d1bf663 Add extension API for external prompt additions 2023-03-03 20:36:24 +02:00