98361[FEATURE] Allow disabling steps in the form editor
Commit message
Steps (Page and SummaryPage) get the inspector checkbox "Step visible", which sets "renderingOptions.enabled". Editors can hide a step without removing it and show it again later. Hidden steps are marked on the stage and in the tree. A form without any visible step cannot be rendered, so a new property validator keeps such a form from being saved. The checkbox editor now shows validation results like the other inspector editors.
Resolves: #111731 Related: #111732 Releases: main Change-Id: Ifdaae8c4141b3d8b138ab8256fae463d8896e502
Test this change
Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch
- Check out patch set 1
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/61/98361/1 && git checkout FETCH_HEAD
- Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/61/98361/1 && git cherry-pick FETCH_HEAD
Review
-
Code review CR 0 Needs a vote
-
Verified V 0 Needs a vote
- core-ci +1 CI
Relation chain 2
-
98361 [FEATURE] Allow disabling steps in the form editor This change
- 98360[FEATURE] Allow disabling the first form page
Merge conflicts 15
- 98366[FEATURE] Clean up stored form submissions and their files
- 98355[FEATURE] Allow disabling validators in the form editor
- 98343[FEATURE] Allow disabling finishers in the form editor
- 95093[FEATURE] Allow form elements on summary page
- 98340[TASK] Focus and reveal inserted elements in the form editor
- 94093[FEATURE] Use translation domains for form backend labels
- 96357[FEATURE] Attach static files to form emails
- 93838[FEATURE] Translate forms in the backend
- 94572[TASK] Resolve EXT:form variants lazily per step
- 94964[!!!][TASK] Remove the extension list import from EM
- 87873[BUGFIX] Name dropdown toggles and open them natively
- 93558[POC][FEATURE] form <3 tca
- 93398[WIP][!!!][FEATURE] Synchronise extension YAML form definitions into database
- 93206[WIP][TASK] Use strict typing for EXT:form helper methods
- 68199[WIP][TASK] Add <typo3-backend-module> element
Show 10 more changes Show less
Issues 2
Files 19
- Build/Sources/TypeScript/form/backend/form-editor/component/page-stage-item.ts+5 −2
- Build/Sources/TypeScript/form/backend/form-editor/inspector-component.ts+2 −0
- Build/Sources/TypeScript/form/backend/form-editor/stage-component.ts+1 −0
- Build/Sources/TypeScript/form/backend/form-editor/view-model.ts+11 −0
- Build/tests/playwright/e2e/form/form-editor-step-visibility.spec.tsnew+51 −0
- Build/tests/playwright/fixtures/BackendEnvironment.csv+1 −0
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-111731-AllowDisablingStepsInFormEditor.rstnew+54 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Page.yaml+7 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/SummaryPage.yaml+7 −0
- typo3/sysext/form/Configuration/Form/Base/config.yaml+2 −0
- typo3/sysext/form/Documentation/E/FormElements/Index.rst+9 −0
- typo3/sysext/form/Documentation/I/Concepts/Variants/Index.rst+6 −0
- typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/CheckboxEditor.fluid.html+1 −0
- typo3/sysext/form/Resources/Private/Language/Database.xlf+9 −0
- typo3/sysext/form/Resources/Private/Language/locallang_form_editor_javascript.xlf+3 −0
- typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/component/page-stage-item.js+1 −1
- typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/inspector-component.js+1 −1
- typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/stage-component.js+1 −1
- typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/view-model.js+1 −1
Review log 12
-
Josua Vogel uploaded patch set 1 12/05/26, 11:26
-
core-ci voted on patch set 1 V +1 12/05/26, 11:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116445