From ac7cafd7b2ec26ab66d5f038ee092c5d22163e95 Mon Sep 17 00:00:00 2001 From: Kaj Kowalski Date: Thu, 22 May 2025 05:05:04 +0200 Subject: [PATCH] Improves dashboard UI and user management Enhances the dashboard's visual presentation and user management functionality. - Addresses a layout issue by adding overflow hidden to the word cloud container. - Improves user management form responsiveness on smaller screens. - Enhances language name display in the pie chart using a dedicated function and ensures correct ISO code display. - Refines donut chart's center text styling for better readability. - Fixes geographic map's height and removes attribution for a cleaner look. --- app/dashboard/page.tsx | 2 +- app/dashboard/users.tsx | 8 ++++---- components/Charts.tsx | 33 +++++++++++++-------------------- components/DonutChart.tsx | 26 ++++++++++++++------------ components/GeographicMap.tsx | 15 +++++++-------- next.config.js | 2 +- postcss.config.mjs | 6 +++--- 7 files changed, 43 insertions(+), 49 deletions(-) diff --git a/app/dashboard/page.tsx b/app/dashboard/page.tsx index be3b26c..cc48f5b 100644 --- a/app/dashboard/page.tsx +++ b/app/dashboard/page.tsx @@ -384,7 +384,7 @@ function DashboardContent() { {/* Word Cloud and World Map */}
-
+

Categories Word Cloud

diff --git a/app/dashboard/users.tsx b/app/dashboard/users.tsx index ffb1302..bea1789 100644 --- a/app/dashboard/users.tsx +++ b/app/dashboard/users.tsx @@ -39,15 +39,15 @@ export default function UserManagement({ session }: UserManagementProps) { return (

User Management

-
+
setEmail(e.target.value)} />