From 82e27524b5886936be2511bb8a6a8de8cf88d441 Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Sun, 21 Dec 2025 08:33:19 +0100 Subject: [PATCH] feat: enhance TransactionsPage with total count and amount display; update CategoryCard and ParentCategoryRow to link to transaction filters by category; implement localStorage for transaction period preference --- app/transactions/page.tsx | 7 +++++++ components/categories/category-card.tsx | 9 ++++++++- components/categories/parent-category-row.tsx | 9 +++++++-- hooks/use-transactions-page.ts | 3 ++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/app/transactions/page.tsx b/app/transactions/page.tsx index 08e35f4..12a7c7a 100644 --- a/app/transactions/page.tsx +++ b/app/transactions/page.tsx @@ -243,6 +243,13 @@ export default function TransactionsPage() { Statistiques + {!isStatsExpanded && ( + + {displayTotalCount} opération + {displayTotalCount > 1 ? "s" : ""} •{" "} + {formatCurrency(totalAmount)} + + )}