From cdc4a2ea37e62acaf276bbaf291ba2f3e6b3aff5 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Wed, 3 Jun 2026 15:14:38 +0700 Subject: [PATCH] refactor(sidebar): move mascot chat tooltip outside button and add persistent visibility state --- services/frontend/src/widgets/Sidebar.tsx | 31 +++++++++++++++-------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/services/frontend/src/widgets/Sidebar.tsx b/services/frontend/src/widgets/Sidebar.tsx index b75a874..bcbb338 100644 --- a/services/frontend/src/widgets/Sidebar.tsx +++ b/services/frontend/src/widgets/Sidebar.tsx @@ -105,21 +105,32 @@ export function Sidebar({ {/* Mascot PNG with anchored chatbot */}
+ {!mascotChat.isOpen && ( + +
+

+ Discord Watcher +

+

+ {mascotChatMessage || + "Halo! Saya mascot mu. Klik aku kalau mau tanya soal obrolan atau moderasi ✨"} +

+
+
+ + )}