Skip to content
Snippets Groups Projects
Commit 58c827b7 authored by Andreas Kienast's avatar Andreas Kienast Committed by Stefan Bürk
Browse files

[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: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
parent f24a203d
Branches
Tags
No related merge requests found
Showing with 189 additions and 9 deletions
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