Skip to content

Create Knowledge wizard: stale i18n keys and dead state from the legacy multi-step flow #436

Description

@NoveliaYuki

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.step0step5 namespaces plus scattered dead keys in step6step9, 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomerstechnical-debtCode or process improvements needed to reduce long-term maintenance burden

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions