diff --git a/services/frontend/src/features/analytics/components/ActivityChart.tsx b/services/frontend/src/features/analytics/components/ActivityChart.tsx index 9179a00..4de4e95 100644 --- a/services/frontend/src/features/analytics/components/ActivityChart.tsx +++ b/services/frontend/src/features/analytics/components/ActivityChart.tsx @@ -35,7 +35,7 @@ export function ActivityChart({ hourly, loading }: ActivityChartProps) { }); return ( - + Aktivitas per Jam @@ -46,9 +46,8 @@ export function ActivityChart({ hourly, loading }: ActivityChartProps) {
-
+
Clean - Warned Flagged Error
@@ -56,13 +55,12 @@ export function ActivityChart({ hourly, loading }: ActivityChartProps) { {data.map((bucket) => { const total = Math.max(bucket.total, 1); const clean = bucket.clean / total; - const warned = bucket.warned / total; const flagged = bucket.flagged / total; const error = bucket.error / total; return (
@@ -70,21 +68,17 @@ export function ActivityChart({ hourly, loading }: ActivityChartProps) { {bucket.total} pesan
-
+
-
@@ -100,8 +94,8 @@ export function ActivityChart({ hourly, loading }: ActivityChartProps) { function LoadingBox() { return ( - - + + Memuat data... ); @@ -109,7 +103,7 @@ function LoadingBox() { function EmptyBox({ text }: { text: string }) { return ( - + {text} ); diff --git a/services/frontend/src/features/analytics/components/ControlBar.tsx b/services/frontend/src/features/analytics/components/ControlBar.tsx index 092f5eb..fdb2a18 100644 --- a/services/frontend/src/features/analytics/components/ControlBar.tsx +++ b/services/frontend/src/features/analytics/components/ControlBar.tsx @@ -38,7 +38,7 @@ export function ControlBar({ - + Analisis Moderasi @@ -46,7 +46,7 @@ export function ControlBar({ <> Pantau statistik, tren topik, dan aktivitas user di seluruh channel{" "} - {guildName}. + {guildName}. ) : ( "Pantau statistik, tren topik, dan aktivitas user." @@ -55,16 +55,16 @@ export function ControlBar({
-
+
{TIME_RANGES.map((tr) => ( @@ -91,7 +92,7 @@ export function VoiceConnectionCard({ {isListening ? "Stop Listening" : "Listen"}