Review main Merged

83040[TASK] Migrate Localization wizard to MultiStepWizard component

Andreas Kienast CR +2 V +2 Hard +328 −299 updated 02/28/24, 09:13

Commit message

In order to deprecate the inferior Wizard component introduced back in
TYPO3 v7, the Localization wizard is migrated to the MultiStepWizard
component.

In the same run, the opportunity to cleanup the code a bit is taken:
* replace `.then()` callback hell with async/await
* use setting "API" of MSW instead of local properties
* steps that don't allow interaction are skipped from composition

Also, some minor quirks in MSW are fixed without doing major
refactorings:
* `forceSelection` is checked and enforced before running callbacks that
  may unlock any buttons, otherwise leading to a unresolvable situation
* the "previous" button is now automatically (un)locked, depending on
  whether there are previous steps
* the content of the slide that is slid to is reset as it may have been
  altered in a slide callback

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5