From 2bf48f6cd0a6ee3677c15500132ccc603f81d6b3 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Wed, 3 Jun 2026 20:09:45 +0700 Subject: [PATCH] refactor(ui): remove mascot tooltip from sidebar component Removes the hardcoded mascot tooltip implementation from the Sidebar component to clean up the component structure. The tooltip logic is now handled elsewhere. --- services/frontend/src/widgets/Sidebar.tsx | 26 ++--------------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/services/frontend/src/widgets/Sidebar.tsx b/services/frontend/src/widgets/Sidebar.tsx index a62424f..b281f5a 100644 --- a/services/frontend/src/widgets/Sidebar.tsx +++ b/services/frontend/src/widgets/Sidebar.tsx @@ -109,30 +109,8 @@ export function Sidebar({ {/* Spacer pushes mascot to bottom */}
- {/* Mascot PNG with anchored chatbot */} -
- {!mascotChat.isOpen && ( - -
-

- Discord Watcher -

-

- Halo! Saya mascot mu. Klik aku kalau mau tanya soal obrolan - atau moderasi ✨ -

- {/* Outer: border layer — triangle pointing left at center-right */} -
- {/* Inner: fill layer — matches bubble bg */} -
-
- - )} + {/* Mascot button */} +