From 153ed7ab79ef7b705b0b44aaf5147c6dfc691075 Mon Sep 17 00:00:00 2001 From: null Date: Fri, 15 May 2026 02:26:10 -0500 Subject: [PATCH] v0.27.04 --- client/pages/DataPage.jsx | 89 +++++++++++++++++++++++----- services/spreadsheetImportService.js | 38 ++++++++---- 2 files changed, 101 insertions(+), 26 deletions(-) diff --git a/client/pages/DataPage.jsx b/client/pages/DataPage.jsx index c120d16..2c8ff68 100644 --- a/client/pages/DataPage.jsx +++ b/client/pages/DataPage.jsx @@ -1100,9 +1100,23 @@ function BillDetailView({ group, onBack, onImport, isImporting, importResult }) {bill.name} {importResult ? ( - - ✓ {importResult.created + importResult.updated} imported - +
+ + {importResult.created + importResult.updated > 0 + ? `✓ ${importResult.created + importResult.updated} imported` + : `⚠ already existed`} + {importResult.duplicates > 0 && importResult.created + importResult.updated > 0 + && ` · ${importResult.duplicates} dupes`} + + {importResult.duplicates > 0 && importResult.earliestDup && ( +

+ {importResult.duplicates} dup{importResult.duplicates > 1 ? 's' : ''} · recorded{' '} + {importResult.earliestDup.toLocaleDateString(undefined, { month: 'short', day: 'numeric', year: 'numeric' })} +

+ )} +
) : (