From 01869462f47ffe6d4d6ac70fd322e2181c4269f3 Mon Sep 17 00:00:00 2001 From: le king fu Date: Sat, 18 Apr 2026 21:07:47 -0400 Subject: [PATCH] feat(reports/category): replace select with searchable combobox (#103) Swap the native ` natif (#103) + ### Corrigé - **Rapport Cartes** : retrait du sélecteur de période non fonctionnel — le rapport Cartes est un instantané « mois X vs X-1 vs X-12 », seul le sélecteur de mois de référence est nécessaire (#101) - **Rapport Cartes** : le KPI taux d'épargne affiche maintenant « — » au lieu de « 0 % » lorsque le mois de référence n'a aucun revenu (une division par zéro est indéfinie, pas zéro) (#101) diff --git a/CHANGELOG.md b/CHANGELOG.md index 507859d..de24013 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ ### Added - **Cartes report**: help tooltip on the savings-rate KPI explaining the formula — `(income − expenses) ÷ income × 100`, computed on the reference month (#101) +### Changed +- **Category zoom report** (`/reports/category`): the category picker is now a typeable, searchable combobox with accent-insensitive matching, keyboard navigation (↑/↓/Enter/Esc) and hierarchy indentation, replacing the native ` onCategoryChange(e.target.value ? Number(e.target.value) : null)} - className="bg-[var(--card)] border border-[var(--border)] rounded-lg px-3 py-2 text-sm" - > - - {categories.map((cat) => ( - - ))} - +