Problem
The "Create Knowledge" wizard (frontend/svelte-app/src/lib/components/knowledge/) was previously a much longer multi-step flow and is now a 5-step (3–5 visible) state machine. Several artifacts from the old version were left behind:
- Orphaned i18n keys in all four locale files (
en/es/ca/eu): the entire knowledge.wizard.step0–step5 namespaces plus scattered dead keys in step6–step9, libraryContent, libraryStep, and draft.savePrompt, and a few stale top-level wizard keys (abort, cancel, create, editDefaults, progress, stepProgress). 58 keys total, referenced nowhere in code.
- Dead
WizardState field uploadedItems — declared in the typedef and default state but never read or written.
- Undeclared field
pendingFileParams — used by StepLibraryContent and Step8_ReviewCreate but missing from the WizardState typedef/default.
- Stale comments in
StepLibrarySetup referencing "former Step0/Step2".
Expected
Remove the dead i18n keys from all four locales, drop the dead uploadedItems state, declare pendingFileParams, and fix the stale comments — without touching live keys or behavior.
Scope
Frontend only. No behavior change. The follow-up i18n localization of the live wizard keys (currently English-only in es/ca/eu) is tracked separately.
Problem
The "Create Knowledge" wizard (
frontend/svelte-app/src/lib/components/knowledge/) was previously a much longer multi-step flow and is now a 5-step (3–5 visible) state machine. Several artifacts from the old version were left behind:en/es/ca/eu): the entireknowledge.wizard.step0–step5namespaces plus scattered dead keys instep6–step9,libraryContent,libraryStep, anddraft.savePrompt, and a few stale top-level wizard keys (abort,cancel,create,editDefaults,progress,stepProgress). 58 keys total, referenced nowhere in code.WizardStatefielduploadedItems— declared in the typedef and default state but never read or written.pendingFileParams— used byStepLibraryContentandStep8_ReviewCreatebut missing from theWizardStatetypedef/default.StepLibrarySetupreferencing "former Step0/Step2".Expected
Remove the dead i18n keys from all four locales, drop the dead
uploadedItemsstate, declarependingFileParams, and fix the stale comments — without touching live keys or behavior.Scope
Frontend only. No behavior change. The follow-up i18n localization of the live wizard keys (currently English-only in es/ca/eu) is tracked separately.