[TASK] Allow CSV Export per table in list module
authorBenni Mack <benni@typo3.org>
Thu, 17 Jun 2021 14:44:39 +0000 (16:44 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 18 Jun 2021 16:28:41 +0000 (18:28 +0200)
commit217cdbaf4a85fd25a827e936bc90b98ec1051fc2
tree9994f26d0c7663fae265e3c0c0f005a209333338
parent92749f0af74073aafac61152963504c78d9a7c90
[TASK] Allow CSV Export per table in list module

This change moves the CSV Export in the header of each
table within the record list.

This contains multiple UX improvements:

* CSV Exports are now possible in each list view, not just
  in single table view
* CSV Export Buttons are visually connected to the actual
  records and the output
* The CSV Button now has a proper label next to the icon
  instead of just an icon in the docheader

In addition, the RecordListController is thinned out as all
logic is separated and moved into a new RecordExportController.

Resolves: #94366
Releases: master
Change-Id: Ia64b513636799368a39b5028b6cad7ebac6fe835
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69512
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Jochen <rothjochen@gmail.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Jochen <rothjochen@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/recordlist/Classes/Controller/AccessDeniedException.php [new file with mode: 0644]
typo3/sysext/recordlist/Classes/Controller/InvalidTableException.php [new file with mode: 0644]
typo3/sysext/recordlist/Classes/Controller/RecordExportController.php [new file with mode: 0644]
typo3/sysext/recordlist/Classes/Controller/RecordListController.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/recordlist/Configuration/Backend/Routes.php
typo3/sysext/recordlist/Configuration/Services.yaml
typo3/sysext/recordlist/Resources/Private/Language/locallang_export.xlf [new file with mode: 0644]