From 499b5d65dac0364eaed11b0d0abd2aa3891e67c9 Mon Sep 17 00:00:00 2001 From: chan Date: Thu, 4 Jun 2026 11:26:24 +0900 Subject: [PATCH] style(admin): enhance UI/UX of tenant import result modal - Added visual summary cards with color-coded counts (Total, Created, Updated, Failed). - Implemented Tabs for status-based filtering (ALL, CREATED, UPDATED, FAILED, SKIPPED). - Improved tab visibility with bold text and status-specific active colors. - Refined table layout with consolidated status badges and small tags for modified fields. --- .../tenants/routes/TenantListPage.tsx | 61 ++++++++++++++----- 1 file changed, 45 insertions(+), 16 deletions(-) diff --git a/adminfront/src/features/tenants/routes/TenantListPage.tsx b/adminfront/src/features/tenants/routes/TenantListPage.tsx index ba62a6e5..06c2fa73 100644 --- a/adminfront/src/features/tenants/routes/TenantListPage.tsx +++ b/adminfront/src/features/tenants/routes/TenantListPage.tsx @@ -1025,28 +1025,32 @@ function TenantListPage() { {importResult && (
-
- +
+ Total {importResult.details.length}
-
- Created - +
+ + Created + + {importResult.created}
-
- Updated - +
+ + Updated + + {importResult.updated}
-
- +
+ Failed @@ -1065,12 +1069,37 @@ function TenantListPage() { } className="w-full" > - - ALL - CREATED - UPDATED - FAILED - SKIPPED + + + ALL + + + CREATED + + + UPDATED + + + FAILED + + + SKIPPED +