From 987d3dd6b0dd8832ce256c3a2f96e1c260a3ba4c Mon Sep 17 00:00:00 2001 From: Justice Date: Wed, 24 Jun 2026 02:00:20 +0100 Subject: [PATCH 1/6] feat(dashboard-design): create responsive view layout for mobile screens (closes #590) --- dashboard/src/App.tsx | 55 +++++++++------ dashboard/src/components/AdminControls.tsx | 16 ++--- .../src/components/DashboardOverview.tsx | 24 +++---- .../src/components/InteractiveWebview.tsx | 16 ++--- dashboard/src/components/KycStatusView.tsx | 32 ++++----- .../src/components/NotificationCenter.tsx | 22 +++--- .../components/NotificationPreferences.tsx | 14 ++-- dashboard/src/components/SEP24Flow.tsx | 18 ++--- .../src/components/TransactionHistory.tsx | 28 ++++---- dashboard/src/index.css | 67 ++++++++++++++++++- 10 files changed, 184 insertions(+), 108 deletions(-) diff --git a/dashboard/src/App.tsx b/dashboard/src/App.tsx index e0c2baac..d2230c2d 100644 --- a/dashboard/src/App.tsx +++ b/dashboard/src/App.tsx @@ -130,14 +130,22 @@ const App = () => { } as React.CSSProperties } > + {sidebarOpen && ( + -
+
{ apiBaseUrl={apiBaseUrl} onViewAll={() => setActiveTab('notifications')} /> -
m.id === activeTab)?.label} > -
-
-

+
+
+

{menuItems.find((m) => m.id === activeTab)?.label}

-

+

{activeTab === 'dashboard' && 'Manage anchor operations, branding, and flow requirements from a single backend-driven surface.'} {activeTab === 'deposit' && 'Initiate a new on-ramp transaction via SEP-24.'} @@ -257,7 +268,7 @@ const App = () => { {loadingState === 'error' ? (