From 9fd1d2e496510cd81d9f889179936a743ea09365 Mon Sep 17 00:00:00 2001 From: Lucas Santana Date: Tue, 23 Jun 2026 11:43:34 -0300 Subject: [PATCH 1/7] style(dashboard): refresh the overview page within the design system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Panel borders for definition, uppercase tracking-wide section/stat labels for hierarchy, tighter density + badge refinement, and a neon-accent hover on the quick-action rows. All via existing lucky-* tokens + shadcn primitives — no new palette, fonts, or deps. Reference treatment for the site-wide refresh. --- .../frontend/src/pages/DashboardOverview.tsx | 127 +++++++++++------- 1 file changed, 81 insertions(+), 46 deletions(-) diff --git a/packages/frontend/src/pages/DashboardOverview.tsx b/packages/frontend/src/pages/DashboardOverview.tsx index 8f424e33b..66b8f43f6 100644 --- a/packages/frontend/src/pages/DashboardOverview.tsx +++ b/packages/frontend/src/pages/DashboardOverview.tsx @@ -94,12 +94,12 @@ function CompactStat({ delta?: number }) { return ( -
+
{icon && (
{delta !== undefined && ( = 0 - ? 'bg-lucky-success/10 text-lucky-success' - : 'bg-lucky-error/10 text-lucky-error', + ? 'bg-lucky-success/20 text-lucky-success' + : 'bg-lucky-error/20 text-lucky-error', )} > {delta >= 0 ? '+' : ''} @@ -139,7 +141,10 @@ function CaseRow({ case: c, index }: { case: ModerationCase; index: number }) {

@@ -182,16 +187,12 @@ export default function DashboardOverview() { selectedGuild?.id, { limit: 8 }, ) - const { data: recentTracksData, isLoading: tracksLoading } = useRecentTracks( - selectedGuild?.id, - 5, - ) + const { data: recentTracksData, isLoading: tracksLoading } = + useRecentTracks(selectedGuild?.id, 5) const { data: leaderboardData, isLoading: leaderboardLoading } = useLevelLeaderboard(selectedGuild?.id, 5) - const { data: starboardData, isLoading: starboardLoading } = useStarboardTop( - selectedGuild?.id, - 3, - ) + const { data: starboardData, isLoading: starboardLoading } = + useStarboardTop(selectedGuild?.id, 3) const recentCases = casesData?.cases ?? [] const loading = statsLoading || casesLoading @@ -289,7 +290,10 @@ export default function DashboardOverview() {

{Array.from({ length: 3 }).map((_, i) => ( -
+
@@ -298,23 +302,31 @@ export default function DashboardOverview() { ) : ( <> -
+
-

Total Members

- -
-

- {typeof selectedGuild.memberCount === 'number' - ? selectedGuild.memberCount.toLocaleString() - : '0'} -

+
+

+ {typeof selectedGuild.memberCount === + 'number' + ? selectedGuild.memberCount.toLocaleString() + : '0'} +

+

Active members across {selectedGuild.name}

-
+
-

+

Recent Cases

@@ -403,9 +420,14 @@ export default function DashboardOverview() {

Quick Actions

-