From e5796fa64cf6ea6b26ee700f2833fbfebf97d357 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Wed, 18 Feb 2026 20:31:50 +0000 Subject: [PATCH] fix: remove theme selector button from minimal chat UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Non-logged users no longer see the theme toggle (⚙/🌙/☀️) button - Theme still auto-detects based on system preference (light/dark) - Logged-in users have a separate theme menu with preview in the suite --- src/ui_server/mod.rs | 4 +- ui/minimal/index.html | 3410 +++++++++++++++++++++-------------------- 2 files changed, 1745 insertions(+), 1669 deletions(-) diff --git a/src/ui_server/mod.rs b/src/ui_server/mod.rs index 80cd69e..c297c29 100644 --- a/src/ui_server/mod.rs +++ b/src/ui_server/mod.rs @@ -289,7 +289,7 @@ pub async fn serve_minimal() -> impl IntoResponse { }; match html_res { - Ok(html) => (StatusCode::OK, [("content-type", "text/html")], Html(html)), + Ok(html) => (StatusCode::OK, [("content-type", "text/html; charset=utf-8")], Html(html)), Err(e) => { error!("Failed to load minimal UI: {e}"); ( @@ -530,7 +530,7 @@ pub async fn serve_suite(bot_name: Option) -> impl IntoResponse { html = remove_section(&html, "settings"); } - (StatusCode::OK, [("content-type", "text/html")], Html(html)) + (StatusCode::OK, [("content-type", "text/html; charset=utf-8")], Html(html)) } Err(e) => { error!("Failed to load suite UI: {e}"); diff --git a/ui/minimal/index.html b/ui/minimal/index.html index d2c8547..13ae0d6 100644 --- a/ui/minimal/index.html +++ b/ui/minimal/index.html @@ -1,1718 +1,1794 @@ - - - General Bots - - - - - - - - - -
-
-
- - + } + + + + +
+
+
+ +
+