Data import + migration wizard
The CSV-in, validation-out, dry-run-then-commit-then-rollback stack. Parts catalog, customer book, quote intake — every primitive uses realistic Oak Flats Mufflermen data; no real writes wired.
Data import + migration wizard is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.
Data import + migration wizard: The CSV-in, validation-out, dry-run-then-commit-then-rollback stack. Parts catalog, customer book, quote intake — every primitive uses realistic Oak Flats Mufflermen data; no real writes wired.
Import source picker
CSV / Excel / JSON / Sheets / Airtable / DB / Webhook source cards.
CSV file preview
First 10 rows, header row, delimiter and encoding chips.
Column mapper
Source columns → target fields, skip toggle, required + auto-match chips.
Field type detector row
Detected type chip per column with override picker and sample value.
Validation errors panel
Error-class chips, row counts, row-jump CTA — blocker vs warning vs info.
Dry-run summary
Rows to create / update / skip / fail tiles + impact chip + commit CTA.
Import progress bar
Long-running progress with rows/sec, ETA, pause/resume CTA.
Rollback confirmation
Undo-window list + confirmation phrase input. Hard-armed danger CTA.
Sample row preview
Single row mapped source → target with transform chips.
Import history row
Filename, timestamp, rows, status chip, duration, rollback chip.
Duplicate handling rules
Key columns + action: skip / update / keep both / merge by rule.
Mapping template card
Saved-mapping summary with apply CTA.
Field mapping suggestion
AI suggestion banner with confidence chip and accept/reject.
Transform rules editor
Per-column transform chips with live preview row.
Full wizard
5-step wizard: source → preview → mapping → dry-run → progress.