Simpl-Resultat/src
le king fu f77ce94505
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 1m46s
feat(onboarding): add transaction count, onboarding counters and checklist reducer (#351)
Lay the data foundation of the getting-started checklist, without UI:

- transactionService.getTransactionCount(): unfiltered COUNT(*) of transactions
- onboardingService: getOnboardingCounters() reads the five aggregated counts,
  the import folder and the onboarding_checklist_hidden preference in one
  Promise.all; hideChecklist()/showChecklist() persist the preference and log
- utils/onboardingChecklist.computeChecklist(): pure computation of the six
  rows (profile, importFolder, source, import, manualCategory, budget), with
  the budget row locked and excluded from the total when the edition has no
  Budget
- hooks/useOnboardingChecklist: exported reducer + initial state, actions
  refresh/hide/show, composed with useEntitlement("budget"); a load error
  sets status "error" and keeps the hidden flag
- types OnboardingCounters, ChecklistItem, ChecklistItemKey

Tests cover every row in isolation, the budget gating (total 5 vs 6, complete
at 5/5 locked and 6/6 open), the aggregated query and preference reads, and
every reducer action. No DB migration, no CHANGELOG entry (centralised in #357).

Resolves #351

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-03 19:22:18 -04:00
..
__fixtures__ feat(import): recognise known bank layouts and report format drift 2026-08-13 14:54:46 -04:00
__integration__ fix(import): persist the import format and restore it faithfully 2026-08-13 13:16:52 -04:00
components fix(license): apply the review of #368 2026-10-03 09:29:47 -04:00
contexts fix(license): apply the review of #368 2026-10-03 09:29:47 -04:00
data
hooks feat(onboarding): add transaction count, onboarding counters and checklist reducer (#351) 2026-10-03 19:22:18 -04:00
i18n fix(license): apply the review of #368 2026-10-03 09:29:47 -04:00
pages feat(import): recognise known bank layouts and report format drift 2026-08-13 14:54:46 -04:00
services feat(onboarding): add transaction count, onboarding counters and checklist reducer (#351) 2026-10-03 19:22:18 -04:00
shared feat(onboarding): add transaction count, onboarding counters and checklist reducer (#351) 2026-10-03 19:22:18 -04:00
utils feat(onboarding): add transaction count, onboarding counters and checklist reducer (#351) 2026-10-03 19:22:18 -04:00
App.tsx feat(gating): gate routes and Sidebar for budget, advanced reports, balance 2026-07-20 22:12:51 -04:00
main.tsx feat(gating): license provider + entitlements matrix + useEntitlement (#297) 2026-07-19 21:05:10 -04:00
styles.css feat(categories): add categories standard guide page (#117) 2026-04-20 21:02:38 -04:00
vite-env.d.ts