From /code-review feat/offline-pwa (finding #6, reuse). The wizard (src/routes/samples/wizard/+page.svelte) and SiteWizard.svelte each re-implement the select/number/textarea/text widget switch that the existing src/lib/components/SlotInput.svelte already provides (the sample edit page uses it).
Cost: three copies of widget rendering drift — a new widget type, styling tweak, or validation fix must be made in all three, and the wizard inputs won't inherit SlotInput improvements.
Fix: render MIxS-slot questions through SlotInput in both wizard flows; keep only the genuinely-bespoke widgets (gps, project/site selectors, people, photos, datetime) inline.
From
/code-review feat/offline-pwa(finding #6, reuse). The wizard (src/routes/samples/wizard/+page.svelte) andSiteWizard.svelteeach re-implement the select/number/textarea/text widget switch that the existingsrc/lib/components/SlotInput.sveltealready provides (the sample edit page uses it).Cost: three copies of widget rendering drift — a new widget type, styling tweak, or validation fix must be made in all three, and the wizard inputs won't inherit
SlotInputimprovements.Fix: render MIxS-slot questions through
SlotInputin both wizard flows; keep only the genuinely-bespoke widgets (gps, project/site selectors, people, photos, datetime) inline.