[BUGIFX] Clipboard panel as web component
The clipboard component still suffers a lot of problems, due to its static integration in the list modules. For example, when clearing the clipboard, it's no longer possible to copy / cut a record via context menu, since the the previous GET parameters are included in the return URL, directly reverting the operation. The list modules should therefore not longer handle any clipboard logic directly, especially not via GET. This patch does the first step towards this goal and introduces a dedicated endpoint, only available via POST. The clipboard panel, used in recordlist and filelist is furthermore now integrated as a web component, making any form submit in the main module superfluous. Additionally some related bugs are fixed: * Elements moved to clipboard via context menu can now be remvoed from clipboard again * Non related elements are now always properly styled * File elements now correctly link to their parent folder in filelist * Buttons are only shown...
Showing
- Build/Sources/Sass/typo3/_element_table.scss 3 additions, 1 deletionBuild/Sources/Sass/typo3/_element_table.scss
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ClipboardPanel.ts 238 additions, 0 deletions...ipt/backend/Resources/Public/TypeScript/ClipboardPanel.ts
- Build/Sources/TypeScript/filelist/Resources/Public/TypeScript/ContextMenuActions.ts 8 additions, 8 deletions...ilelist/Resources/Public/TypeScript/ContextMenuActions.ts
- typo3/sysext/backend/Classes/Clipboard/Clipboard.php 142 additions, 167 deletionstypo3/sysext/backend/Classes/Clipboard/Clipboard.php
- typo3/sysext/backend/Classes/Controller/BackendController.php 1 addition, 0 deletions...3/sysext/backend/Classes/Controller/BackendController.php
- typo3/sysext/backend/Classes/Controller/ClipboardController.php 114 additions, 0 deletions...sysext/backend/Classes/Controller/ClipboardController.php
- typo3/sysext/backend/Configuration/Backend/Routes.php 7 additions, 0 deletionstypo3/sysext/backend/Configuration/Backend/Routes.php
- typo3/sysext/backend/Configuration/Services.yaml 3 additions, 0 deletionstypo3/sysext/backend/Configuration/Services.yaml
- typo3/sysext/backend/Resources/Private/Partials/Clipboard/TabContent.html 0 additions, 46 deletions...kend/Resources/Private/Partials/Clipboard/TabContent.html
- typo3/sysext/backend/Resources/Private/Templates/Clipboard/Main.html 0 additions, 69 deletions...t/backend/Resources/Private/Templates/Clipboard/Main.html
- typo3/sysext/backend/Resources/Public/Css/backend.css 1 addition, 1 deletiontypo3/sysext/backend/Resources/Public/Css/backend.css
- typo3/sysext/backend/Resources/Public/JavaScript/ClipboardPanel.js 104 additions, 0 deletions...ext/backend/Resources/Public/JavaScript/ClipboardPanel.js
- typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php 22 additions, 3 deletions...sext/backend/Tests/Functional/Clipboard/ClipboardTest.php
- typo3/sysext/core/Resources/Private/Language/locallang_core.xlf 3 additions, 0 deletions...sysext/core/Resources/Private/Language/locallang_core.xlf
- typo3/sysext/core/Tests/Acceptance/Application/FileList/FileClipboardCest.php 9 additions, 5 deletions...sts/Acceptance/Application/FileList/FileClipboardCest.php
- typo3/sysext/filelist/Classes/Controller/FileListController.php 2 additions, 3 deletions...sysext/filelist/Classes/Controller/FileListController.php
- typo3/sysext/filelist/Resources/Private/Templates/File/List.html 2 additions, 2 deletions...ysext/filelist/Resources/Private/Templates/File/List.html
- typo3/sysext/filelist/Resources/Public/JavaScript/ContextMenuActions.js 1 addition, 1 deletion...ilelist/Resources/Public/JavaScript/ContextMenuActions.js
- typo3/sysext/recordlist/Classes/Controller/RecordListController.php 2 additions, 1 deletion...xt/recordlist/Classes/Controller/RecordListController.php
Please register or sign in to comment