From a8a7311c5e2ae2baa26d3f0ae58d9d1997f4bc30 Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Fri, 3 Oct 2025 13:12:45 +1300 Subject: [PATCH] [Dashboard] Redesign wallet UI with rounded elements and improved layout --- .../AdvancedSearchInput.tsx | 6 +- .../in-app-wallet-users-content.tsx | 31 +++++--- .../wallet-table/wallet-table-ui.client.tsx | 40 ++++------ .../[project_slug]/(sidebar)/wallets/page.tsx | 76 +++++++++++++++++-- 4 files changed, 110 insertions(+), 43 deletions(-) diff --git a/apps/dashboard/src/@/components/in-app-wallet-users-content/AdvancedSearchInput.tsx b/apps/dashboard/src/@/components/in-app-wallet-users-content/AdvancedSearchInput.tsx index e080540d8ca..2e6d0eddf3f 100644 --- a/apps/dashboard/src/@/components/in-app-wallet-users-content/AdvancedSearchInput.tsx +++ b/apps/dashboard/src/@/components/in-app-wallet-users-content/AdvancedSearchInput.tsx @@ -46,7 +46,7 @@ export function AdvancedSearchInput(props: { value={searchType} onValueChange={(value) => setSearchType(value as SearchType)} > - + @@ -61,7 +61,7 @@ export function AdvancedSearchInput(props: {
setQuery(e.target.value)} @@ -86,7 +86,7 @@ export function AdvancedSearchInput(props: { onClick={handleSearch} variant="outline" disabled={!query.trim() || props.isLoading} - className="rounded-l-none gap-2 bg-card disabled:opacity-100" + className="rounded-l-none rounded-r-full gap-2 bg-background disabled:opacity-100" > {props.isLoading && } Search diff --git a/apps/dashboard/src/@/components/in-app-wallet-users-content/in-app-wallet-users-content.tsx b/apps/dashboard/src/@/components/in-app-wallet-users-content/in-app-wallet-users-content.tsx index 7e0ee70830e..95fe1e3501a 100644 --- a/apps/dashboard/src/@/components/in-app-wallet-users-content/in-app-wallet-users-content.tsx +++ b/apps/dashboard/src/@/components/in-app-wallet-users-content/in-app-wallet-users-content.tsx @@ -2,7 +2,7 @@ import { createColumnHelper } from "@tanstack/react-table"; import { format } from "date-fns"; -import { ArrowLeftIcon, ArrowRightIcon } from "lucide-react"; +import { ArrowLeftIcon, ArrowRightIcon, UserIcon } from "lucide-react"; import Papa from "papaparse"; import { useCallback, useMemo, useState } from "react"; import type { ThirdwebClient } from "thirdweb"; @@ -264,11 +264,24 @@ export function InAppWalletUsersPageContent( return (
-
- {/* Top section */} -
-
-
+
+
+
+
+
+ +
+
+

+ User Wallets +

+

+ View and manage your project's users +

+
+ +
+