Skip to content
Snippets Groups Projects
Commit a8526b7b authored by Andreas Kienast's avatar Andreas Kienast Committed by Oliver Bartsch
Browse files

[TASK] Migrate Localization wizard to MultiStepWizard component

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

Resolves: #103155
Releases: main
Change-Id: I35d5d4a14b7635c0df3f5248491f0cc45074c430
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83040


Tested-by: default avatarAndreas Nedbal <andy@pixelde.su>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarAndreas Nedbal <andy@pixelde.su>
parent d2964e38
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment