Commit Graph

1081 Commits

Author SHA1 Message Date
SillyLossy
56cf662081 Fix settings deletion 2023-03-07 17:36:50 +02:00
SillyLossy
936cb32264 Support multiple extension prompts 2023-03-07 17:18:53 +02:00
SillyLossy
837ecb636a Style adjust 2023-03-07 16:38:41 +02:00
SillyLossy
2a41834b3d Filter caret return symbols out of prompt 2023-03-07 15:10:19 +02:00
SillyLossy
1c9658c82a WI replacement params 2023-03-07 15:04:29 +02:00
RossAsscends
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
SillyLossy
67e94493cb Adjust styles 2023-03-06 18:47:44 +02:00
SillyLossy
427c21ee8c Better extensions style 2023-03-06 18:11:12 +02:00
SillyLossy
50743afaa9 Remove debugger 2023-03-06 17:52:35 +02:00
SillyLossy
36a62aad9e Merge branch 'main' into dev 2023-03-06 17:51:20 +02:00
SillyLossy
9134504a7b Post-merge fixes 2023-03-06 16:51:08 +02:00
SillyLossy
d2cce0eead Merge remote-tracking branch 'ross/main' 2023-03-06 16:04:41 +02:00
RossAsscends
88a2b46a77 AtoZ char sorting + QuickRefresh on Username change 2023-03-06 17:47:29 +09:00
RossAsscends
b03fd99588 syncing PNGs 2023-03-06 11:02:07 +09:00
RossAsscends
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
SillyLossy
4031a599ac Bypass localtunnel on loading extension files 2023-03-05 15:43:28 +02:00
SillyLossy
1db21e1a13 Add value to Tunnel bypass header 2023-03-05 14:52:29 +02:00
SillyLossy
f7f2c3078f TEST: Supposed fix of "avatars infection" issue 2023-03-05 14:51:22 +02:00
SillyLossy
f6aa6609cd Fix for localtunnel 2023-03-04 23:32:32 +02:00
RossAsscends
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
RossAsscends
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
SillyLossy
3616895190 Add chatId to external API 2023-03-04 00:25:39 +02:00
RossAsscends
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
RossAsscends
569ca97b13 added Firefox compatibility to styled check boxes 2023-03-04 04:41:16 +09:00
RossAsscends
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
SillyLossy
939d1bf663 Add extension API for external prompt additions 2023-03-03 20:36:24 +02:00
RossAsscends
eb30b84bff Update style.css 2023-03-03 11:44:11 +09:00
RossAsscends
b856e2f566 A little error-proofing to chat loading and history viewing
1. revised the new date format (reformatted to be a function so it would return new dates each time called)

2. re-added new date format functionality as I had previously rolled it back while debugging the avatar loading issues discovered in last push.

3. resolved some issues related to loading past chats for bots with no chat save files. Usually this wouldn't happen, as a new (or previous) chat is loaded each time the character is selected. But in cases where the files are deleted after being created, the chat history loading screen would remain in a 'loading.svg' loop. I added errorhandling to avoid this, and to kick GetAllCharaChats() from trying to read empty arrays.

4. increased potential size of past chats popup box
2023-03-03 11:36:57 +09:00
SillyLossy
f5013d373d Add more fields to the context 2023-03-03 01:44:06 +02:00
SillyLossy
6199fcb5da Merge branch 'main' into dev 2023-03-03 01:14:04 +02:00
SillyLossy
402d88c354 Note styles from Ross 2023-03-03 01:07:21 +02:00
SillyLossy
b0baeba156 Merge remote-tracking branch 'ross/main' 2023-03-03 01:02:45 +02:00
RossAsscends
751647461e Fixed broken character avatar updates + settings panel tooltips
1. Due to a mistake on my end character avatars were not updating real time. This has been fixed.

2. added some tooltips to icons and buttons on the right nav panel.

3. resized the New Character and Import Character buttons
2023-03-03 07:26:21 +09:00
SillyLossy
6c3984d4f4 Move message styles 2023-03-02 23:47:08 +02:00
SillyLossy
6b3bd1e6cf Fix message edit 2023-03-02 22:05:31 +02:00
SillyLossy
7a3e62692c Revert colab changes 2023-03-02 21:15:25 +02:00
RossAsscends
cfa642507f Chat Filename Humanization + Larger Past Chats Box
1. Replaced all Date.now() instances with a humanized ISO8601 timestamp that is easily readable by users.

This has a seamless effect on the  embedded timestamping of chat mesages. Old chat files can still be edited (messages deleted), and continued.

Character PNG files get updated with the new date format, and this will be reflected in github but there is no functional change to the user.

2. Added character name to the front of all newly saved/imported chat files. Old chats will retain their original filename unless re-imported.

With these two changes, the new chat filenames are as such:

"Aqua - 2023-3-3 @03h 08m 36s 948ms.jsonl"

(I would like to make it smaller, perhaps by removing the milliseconds. Let me know if this is possible, or if it would introduce potential overwrites if users make/update files within the same second.)

3. Increased the size of the 'view past chats' popup box to max 800px so accommodate the new larger filenames.
2023-03-03 03:48:30 +09:00
SillyLossy
36b3d4cac3 Add support for external TAI API calls 2023-03-02 17:05:27 +02:00
RossAsscends
6cc4918d25 added styles to Notes pages. 2023-03-02 18:21:57 +09:00
SillyLossy
da8ccbbcc1 Error handing for fetch and style fix 2023-03-02 01:42:00 +02:00
SillyLossy
f5635155b9 Add extension loader 2023-03-02 01:32:33 +02:00
SillyLossy
faf850794a Fix click propagation 2023-03-01 23:35:43 +02:00
SillyLossy
ce90556729 Merge branch 'main' into dev 2023-03-01 23:30:18 +02:00
SillyLossy
65f900f0be Style fix-up 2023-03-01 23:20:31 +02:00
SillyLossy
48c9c8ca51 Merge remote-tracking branch 'ross/main' 2023-03-01 23:14:03 +02:00
SillyLossy
41437c7770 Add draft extensions loader 2023-03-01 23:12:34 +02:00
RossAsscends
7b3a6135f7 small alignment changes 2023-03-02 04:32:15 +09:00
SillyLossy
496e5008b1 Colab debug 2023-03-01 21:24:07 +02:00
RossAsscends
66562c53be small changes to checkbox placement 2023-03-02 04:19:08 +09:00
RossAsscends
4d07e4f785 removed excess remote font call in CSS 2023-03-02 04:12:13 +09:00