Simpl-Resultat/src/pages
le king fu 624eef7ba8
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 1m59s
feat(onboarding): Import empty states, sample folder button and guide links (#356)
The import page without a source no longer shows a bare "no source found"
card. `ImportEmptyState` (built on the shared `EmptyState`) takes the place
of the empty `SourceList` in both situations: without an import folder it
offers "Choose a folder" as the single primary action; with a folder and no
bank sub-folder it offers "Create a sample folder" (primary, disabled while
in flight) and "Refresh" (secondary). Both variants, and the "?" help
popover through the new optional `linkTo` prop of `PageHelp`, link to the
bank CSV export guide at `/settings/users#import-export`. `SourceList`
stays an untouched pure list.

`useImportWizard` gains `createSampleFolders`: it invokes the Rust command
`create_sample_import_folders` with the folder and the webview's LOCAL date
(built from the local getters, not `toISOString()`), rescans the folder so
the two cards appear without another click, then raises a closable success
banner from the new `sampleCreated` state, which `reset` and a folder change
clear. A refusal from Rust (a sample folder already exists) lands in the
existing error banner. The log line carries the folder NAMES only, never
the absolute path, since the logs travel with a feedback report.

"Browse" on the folder card drops to the secondary style while no folder is
configured, so a single primary button is on screen. The reducer and its
initial state are exported as `wizardReducer` / `initialWizardState` and
unit-tested; `ImportEmptyState` is tested by direct call.

Resolves #356

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-03 20:10:25 -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(onboarding): Import empty states, sample folder button and guide links (#356) 2026-10-03 20:10:25 -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