From 019c47adc6def243fcbfb5475548cd54735a15c4 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 31 Aug 2023 17:10:01 +0300 Subject: [PATCH] #1068 Display token counts on generated messages --- public/css/toggle-dependent.css | 11 +-- public/index.html | 6 ++ public/script.js | 134 ++++++++++++++++++++++++++------ public/scripts/power-user.js | 36 +++++++-- public/style.css | 5 +- 5 files changed, 151 insertions(+), 41 deletions(-) diff --git a/public/css/toggle-dependent.css b/public/css/toggle-dependent.css index 05113c5f1..2b0e57483 100644 --- a/public/css/toggle-dependent.css +++ b/public/css/toggle-dependent.css @@ -8,15 +8,10 @@ body.tts .mes_narrate { display: inline-block; } -body.no-hotswap .hotswap { - display: none !important; -} - -body.no-timer .mes_timer { - display: none !important; -} - +body.no-hotswap .hotswap, +body.no-timer .mes_timer, body.no-timestamps .timestamp, +body.no-tokenCount .tokenCounterDisplay, body.no-mesIDDisplay .mesIDDisplay, body.no-modelIcons .icon-svg { display: none !important; diff --git a/public/index.html b/public/index.html index 3454ab421..214ad50a4 100644 --- a/public/index.html +++ b/public/index.html @@ -2844,6 +2844,11 @@ Show Message IDs + +