- resized addbg3.png from 1600x1600 to 160x90
- added trans grey border to right nav, to match chat and send_form
- reduced opacity of chat/sendform >> 70% to 50%
- reduced blur on chat/sendform >> 20px to 10px
- added 1px gap between chat and right nav to match chat/sendform
- fixed add_bg button being too tall and skewing top bg row on mobile
- 2 new utility classes no-border and no-shadow
- made drawer heights match chat+sendform height on mobile
/img cleanup:
- removed unused files from /img
- resized large UI-only PNG files to 100px x 100px
- replaced fluffy.png with a custom PNG 'ai4.png'
- total /img footprint is now 615kb (compared to 3.5MB in main tai 1.3)
-- /default-expressions 509kb
-- everything else 106kb
- made server respond with BGs in filename alphabetical order
- removing default BGs for renaming (will replace manually)
- CSS: transparent grey border to chat and form_send for visibility on dark BGs
- CSS: sheld is now centered with 'absolute'
- CSS: top-settings are now same width same as chat on PC
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.
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)
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
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