[TASK] Deprecate `@typo3/backend/document-save-actions`
The JavaScript module `@typo3/backend/document-save-actions` was introduced in TYPO3 v7 to add some interactivity in FormEngine context. At first it was only used to disable the submit button and render a spinner icon instead. Over the course of some years, the module got more functionality. After some refactorings within FormEngine, the module became rather a burden. This became visible with the introduction of the Hotkeys API, as the `@typo3/backend/document-save-actions` module reacts on explicit `click` events on the save icon, that is not triggered when FormEngine invokes a save action via keyboard shortcuts. Adjusting `document-save-actions`'s behavior is necessary here, but would become a breaking change, which is unacceptable after the 13.0 release. For this reason, said module has been marked as deprecated and its usages are replaced by its successor `@typo3/backend/form/submit-interceptor`. Resolves: #103528 Releases: main Change-Id: Ic4ee972eb79da2331213de624adf077a7e5b567c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83643 Tested-by:Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Simon Schaufelberger <simonschaufi+typo3@gmail.com> Tested-by:
Garvin Hicking <gh@faktor-e.de>
Showing
- Build/Sources/TypeScript/backend/document-save-actions.ts 2 additions, 0 deletionsBuild/Sources/TypeScript/backend/document-save-actions.ts
- Build/Sources/TypeScript/backend/form-engine-validation.ts 3 additions, 2 deletionsBuild/Sources/TypeScript/backend/form-engine-validation.ts
- Build/Sources/TypeScript/backend/form/submit-interceptor.ts 66 additions, 0 deletionsBuild/Sources/TypeScript/backend/form/submit-interceptor.ts
- Build/Sources/TypeScript/scheduler/scheduler.ts 33 additions, 4 deletionsBuild/Sources/TypeScript/scheduler/scheduler.ts
- typo3/sysext/backend/Resources/Public/JavaScript/document-save-actions.js 1 addition, 1 deletion...kend/Resources/Public/JavaScript/document-save-actions.js
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine-validation.js 1 addition, 1 deletion...end/Resources/Public/JavaScript/form-engine-validation.js
- typo3/sysext/backend/Resources/Public/JavaScript/form/submit-interceptor.js 13 additions, 0 deletions...nd/Resources/Public/JavaScript/form/submit-interceptor.js
- typo3/sysext/core/Documentation/Changelog/13.1/Deprecation-103528-DeprecatedDocumentSaveActionsModule.rst 69 additions, 0 deletions...eprecation-103528-DeprecatedDocumentSaveActionsModule.rst
- typo3/sysext/scheduler/Resources/Public/JavaScript/scheduler.js 1 addition, 1 deletion...sysext/scheduler/Resources/Public/JavaScript/scheduler.js
Please register or sign in to comment