refactor: remove Review tab, make UI state client-side, fix Jakarta time in analytics

- Remove Review tab completely (was redundant with Messages flagged view)
- UI state now client-side only (localStorage) — no server API calls for tab/channel/guild selection
- Fixes dashboard crash when server is down — now loads fully client-side
- Live panel still uses server API for voice/media operations (only what needs it)
- Analytics hourly chart labels now show Jakarta time (WIB/UTC+7) instead of UTC
- Analytics formatTimeAgo uses Jakarta time reference
- Reduced tabs to 3: Live, Messages, Analytics
- Removed unused uiState API imports and server-side state fetching

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-05-30 16:31:27 +07:00
co-authored by Claude Opus 4.8
parent 9019e24263
commit c7abe39728
6 changed files with 46 additions and 45 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
export type DashboardTab = "live" | "messages" | "review" | "analytics";
export type DashboardTab = "live" | "messages" | "analytics";
export interface UIState {
selectedGuild?: string;