Simpl-Resultat/src/pages
le king fu 8eac47f69b
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 1m51s
feat(onboarding): empty states on the Transactions and Budget pages (#353)
A profile without any transaction now gets an "import first" card with a
button to the import page on both pages, in place of the filter bar, the
table and the pagination (Transactions) and of the filter panel and the
grid (Budget). Title, page help and template actions stay.

The signal is a profile-wide `totalInDb` count loaded once at mount via
`getTransactionCount()`, not `rows.length`: the default Transactions
filter is "since January 1st", so an empty page cannot tell an empty
profile from a year without transactions. `null` (not loaded yet) keeps
the regular layout, and so does a loading Transactions page.

`transactionsReducer` / `initialTransactionsState` and `budgetReducer` /
`initialBudgetState` are exported with a pure `showsEmptyState` selector
per hook, so the reducer tests pin that the count never touches filters,
sort or page and that 0 then N > 0 brings the table back. The existing
"no transactions found" / "no categories found" rows are unchanged.

Resolves #353

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-03 19:40:45 -04:00
..
settings refactor(onboarding): name the checklist preference states after what they hold (#352) 2026-10-03 19:34:24 -04:00
AccountsPage.tsx feat(balance): account form vehicle field + category rename via custom_label (#203) 2026-06-01 20:50:40 -04:00
AdjustmentsPage.tsx fix: improve split indicator visibility and adjustments layout 2026-02-17 02:01:15 +00:00
BalancePage.tsx feat(balance): tile-based landing hub + reachable account management 2026-07-04 17:43:43 -04:00
BudgetPage.tsx feat(onboarding): empty states on the Transactions and Budget pages (#353) 2026-10-03 19:40:45 -04:00
CategoriesMigrationPage.tsx refactor(settings): split monolithic Settings page into 3 sub-pages (#190) 2026-05-03 09:50:02 -04:00
CategoriesPage.tsx Bump version to 0.6.2 — Section subtotals and category detail fix 2026-03-06 16:22:36 -05:00
CategoriesStandardGuidePage.tsx refactor(categories): unify both category trees' collapse state onto useCollapsibleGroups 2026-07-15 21:30:17 -04:00
ChangelogPage.tsx refactor(settings): split monolithic Settings page into 3 sub-pages (#190) 2026-05-03 09:50:02 -04:00
DashboardPage.tsx feat(onboarding): dashboard empty state, getting-started checklist and re-show button (#352) 2026-10-03 19:32:43 -04:00
DocsPage.tsx refactor(settings): split monolithic Settings page into 3 sub-pages (#190) 2026-05-03 09:50:02 -04:00
ImportPage.tsx feat(import): recognise known bank layouts and report format drift 2026-08-13 14:54:46 -04:00
ProfileSelectionPage.tsx feat(gating): multi-profile gate (Base+), non-destructive 2026-07-20 22:24:23 -04:00
ReportsCartesPage.tsx feat(reports/cartes): Mensuel/YTD toggle on KPI cards + user guide section (#102) 2026-04-19 09:49:21 -04:00
ReportsCategoryPage.tsx feat: category zoom + secure AddKeywordDialog with context menu (#74) 2026-04-14 15:09:17 -04:00
ReportsComparePage.tsx feat(reports): adopt shared FilterPanel on Compare and Budget 2026-07-11 15:52:21 -04:00
ReportsHighlightsPage.tsx feat(reports/highlights): default reference month to previous month + YTD current year, user-changeable (#106) 2026-04-19 08:28:30 -04:00
ReportsPage.tsx feat(gating): gate routes and Sidebar for budget, advanced reports, balance 2026-07-20 22:12:51 -04:00
ReportsTrendsPage.tsx feat(reports): adopt shared FilterPanel on the Trends page 2026-07-11 15:41:13 -04:00
SnapshotEditPage.tsx feat(balance): CSV import of holdings in detailed snapshot 2026-07-04 18:04:12 -04:00
TransactionsPage.tsx feat(onboarding): empty states on the Transactions and Budget pages (#353) 2026-10-03 19:40:45 -04:00