[TASK] Extract sys_note delete button into Lit component
The delete button for sys_notes rendered in the record list is currently nested in a form tag, breaking the user interface. Since this requires a DataHandler call, the button is converted to a Lit component that invokes the `AjaxDataHandler` module. Resolves: #105229 Releases: main Change-Id: I87339d318b94bd2f20d1e24a9bc0270abdfd9ce4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86470 Reviewed-by:Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Benjamin Kott <benjamin.kott@outlook.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benjamin Kott <benjamin.kott@outlook.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- Build/Sources/TypeScript/sys_note/element/delete-button.ts 102 additions, 0 deletionsBuild/Sources/TypeScript/sys_note/element/delete-button.ts
- Build/tsconfig.json 3 additions, 0 deletionsBuild/tsconfig.json
- typo3/sysext/sys_note/Classes/Renderer/NoteRenderer.php 3 additions, 0 deletionstypo3/sysext/sys_note/Classes/Renderer/NoteRenderer.php
- typo3/sysext/sys_note/Configuration/JavaScriptModules.php 11 additions, 0 deletionstypo3/sysext/sys_note/Configuration/JavaScriptModules.php
- typo3/sysext/sys_note/Resources/Private/Templates/List.html 14 additions, 15 deletionstypo3/sysext/sys_note/Resources/Private/Templates/List.html
- typo3/sysext/sys_note/Resources/Public/JavaScript/element/delete-button.js 13 additions, 0 deletions...note/Resources/Public/JavaScript/element/delete-button.js
Please register or sign in to comment