From a0814defff1c2558f4418c2738cb1d22c3562331 Mon Sep 17 00:00:00 2001 From: Cohee Date: Wed, 28 Jun 2023 10:51:14 +0300 Subject: [PATCH 1/6] Fix select2 noblur background --- public/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 1842738a1..28bcc604b 100644 --- a/public/style.css +++ b/public/style.css @@ -4249,7 +4249,8 @@ body.no-blur #character_popup, body.no-blur #world_popup, body.no-blur #dialogue_popup, body.no-blur #select_chat_popup, -body.no-blur .drawer-content { +body.no-blur .drawer-content, +body.no-blur .select2-results__options { background-color: black !important; } From 1d8ecacd8b0a8717c76c8bec11f6817801353fe6 Mon Sep 17 00:00:00 2001 From: Cohee Date: Wed, 28 Jun 2023 11:01:27 +0300 Subject: [PATCH 2/6] Update Horde documentation link --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index c94bcdbc9..cc7c6c253 100644 --- a/public/index.html +++ b/public/index.html @@ -1353,7 +1353,7 @@ You can select multiple models.
Avoid sending - sensitive information to the Horde. Learn more
+ sensitive information to the Horde. Learn more From 914282faf0bf005f72a6732c825b0524190678b7 Mon Sep 17 00:00:00 2001 From: Cohee Date: Wed, 28 Jun 2023 11:02:54 +0300 Subject: [PATCH 3/6] Remove spammy logs --- server.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/server.js b/server.js index 4cdb98a30..7d38187fc 100644 --- a/server.js +++ b/server.js @@ -822,7 +822,6 @@ function charaFormatData(data) { // This is supposed to save all the foreign keys that ST doesn't care about const _ = require('lodash'); const char = tryParse(data.json_data) || {}; - console.log(data.tags); // This function uses _.cond() to create a series of conditional checks that return the desired output based on the input data. // It checks if data.alternate_greetings is an array, a string, or neither, and acts accordingly. @@ -1865,7 +1864,6 @@ app.post("/importcharacter", urlencodedParser, async function (request, response charaWrite(uploadPath, char, png_name, response, { file_name: png_name }); } else if (jsonData.name !== undefined) { console.log('Found a v1 character file.'); - console.log(jsonData); let char = { "name": jsonData.name, "description": jsonData.description ?? '', From 7bec130bf7aef5ff89a2f60d8f4139b94c86da61 Mon Sep 17 00:00:00 2001 From: Cohee Date: Wed, 28 Jun 2023 11:06:57 +0300 Subject: [PATCH 4/6] Fix focused select border --- public/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/style.css b/public/style.css index 28bcc604b..141a9b398 100644 --- a/public/style.css +++ b/public/style.css @@ -4870,6 +4870,10 @@ body.waifuMode .zoomed_avatar { padding: 3px 5px; } +.select2-container.select2-container--focus .select2-selection--multiple { + border: 1px solid var(--white30a); +} + .select2-container .select2-selection--multiple .select2-selection__choice { border-radius: 5px; border-style: solid; From ebf51f3a172cf35b7316f319c243a90eba3ebb21 Mon Sep 17 00:00:00 2001 From: Cohee Date: Wed, 28 Jun 2023 11:15:38 +0300 Subject: [PATCH 5/6] Fix select2 selection remove style --- public/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/style.css b/public/style.css index 141a9b398..97a02127e 100644 --- a/public/style.css +++ b/public/style.css @@ -4922,6 +4922,10 @@ body.waifuMode .zoomed_avatar { border-radius: 2px; } +.select2-container .select2-selection--multiple .select2-selection__choice__remove { + color: var(--SmartThemeBodyColor); +} + /* Add the custom checkbox checkmark */ .select2-results__option--selected.select2-results__option:before { content: '\2713'; From 4a9d9b69e91f160b6e9116b575e08ed5963aa912 Mon Sep 17 00:00:00 2001 From: Cohee Date: Wed, 28 Jun 2023 11:19:50 +0300 Subject: [PATCH 6/6] Fix random chat slash breaking in groups --- public/scripts/power-user.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 3d4aa6f39..81c21361a 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -21,6 +21,7 @@ import { import { favsToHotswap, isMobile } from "./RossAscends-mods.js"; import { groups, + resetSelectedGroup, selected_group, } from "./group-chats.js"; @@ -994,6 +995,7 @@ function doNewChat() { } function doRandomChat() { + resetSelectedGroup(); setCharacterId(Math.floor(Math.random() * characters.length)); setTimeout(() => { replaceCurrentChat();