Simpl-Resultat/src/components
le king fu dcf3b013dc feat(onboarding): share the getting-started path through a provider
The checklist state moves from DashboardPage to OnboardingProvider, mounted
in AppShell around the routed page; pages read it through useOnboarding().
The reducer stays in useOnboardingChecklist:

- loads are numbered and a stale answer is ignored;
- HIDE, SHOW, SKIP and RESUME win over the snapshot of a load started
  before them (#384);
- a refresh keeps the counters and the ready status, and a failed re-read
  after a first success keeps the last state; only the start of a failure
  streak is logged;
- re-read at mount, on every route change and 150 ms after a burst of
  data events.

onboardingService: getOnboardingSnapshot replaces getOnboardingCounters and
is a pure read (skipped steps included, one preference per step, filtered on
the six keys and the value "1"); initializeGuidedPath applies rule D9 once
per profile in one transaction (hidden first, then the flag, ROLLBACK on
failure), awaited once by the first load through a promise shared by
StrictMode's double mount; skipStep / resumeStep are idempotent.

computeChecklist counts skipped rows; the new pure onboardingPath module
holds nextStep, CARD_PAGES (empty for now), stepsOfPage, the card latch,
bannerMode and readOnboardingNavState. The dashboard reads the context and
keeps its compact bar for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 07:33:57 -04:00
..
adjustments fix(ui): apply WebKitGTK date picker workaround to remaining 7 inputs (#188) 2026-05-03 16:19:20 -04:00
balance Merge PR #251: feat(balance) CSV import of holdings in detailed snapshot (#245) 2026-07-05 17:03:00 -04:00
budget feat(budget): adopt multi-level collapse on the Budget grid 2026-07-15 21:16:01 -04:00
categories refactor(categories): unify both category trees' collapse state onto useCollapsibleGroups 2026-07-15 21:30:17 -04:00
categories-migration feat(categories): merge custom categories into the standard taxonomy (#259) 2026-07-19 19:43:47 +00:00
dashboard feat(onboarding): dashboard empty state, getting-started checklist and re-show button (#352) 2026-10-03 19:32:43 -04:00
import feat(onboarding): Import empty states, sample folder button and guide links (#356) 2026-10-03 20:10:25 -04:00
layout feat(onboarding): share the getting-started path through a provider 2026-10-08 07:33:57 -04:00
profile feat(upsell): activate "Get Base", honest Premium note, purchase path in Free, Account card text 2026-09-27 15:50:45 -04:00
reports fix(import): persist the import format and restore it faithfully 2026-08-13 13:16:52 -04:00
settings fix(license): apply the review follow-ups on the license stack head 2026-10-05 19:13:36 -04:00
shared feat(onboarding): Import empty states, sample folder button and guide links (#356) 2026-10-03 20:10:25 -04:00
transactions fix(ui): apply WebKitGTK date picker workaround to remaining 7 inputs (#188) 2026-05-03 16:19:20 -04:00