## What Updates the transaction filters popover: - **Reordered** the filter sections to: **Date, Amount, Category, Labels, Accounts, AI, Counterparties**. - **Accounts** now use a searchable dropdown (the same pattern as Categories/Labels) instead of toggle badges. Each option shows the **bank logo** as its icon (with a `Building2` fallback for accounts without a logo/bank). ## Why The badge list didn't scale well with many accounts and was visually inconsistent with the other multi-select filters. A dropdown keeps the popover compact and adds search. ## Notes - Fixed `handleAccountToggle` parameter type (`number` → `UUID`) to match `accountIds`. - Each account `CommandItem` uses a unique `value` (`name + id`) so accounts that share a name aren't collapsed by cmdk's default filtering. - Added Spanish translations for the new keys (`Select accounts...`, `Search accounts...`). ## Tests - New `transaction-filters.test.tsx` covering select/deselect of an account and the empty state. - Full front-end suite green (244 tests), ESLint/Prettier clean, localization test passes. |
||
|---|---|---|
| .. | ||
| en | ||
| es | ||
| fr | ||
| en.json | ||
| es.json | ||
| fr.json | ||