[TASK] FormEngine: Inline titles and expand / collapse
Fetch the last pieces from InlineRecordContainer record title preparation to record title data provider. Refactor InlineRecordContainer to be better readable. Handle expand / collapse state within data provider to only calculate all record fields if the record is opened. Not always adding collapsed records to the calculation has significant performance advantages especially in nested inline scenarious. Change-Id: I83a457bd798dc47cc12a8dfb096132394d6bd357 Resolves: #71353 Releases: master Reviewed-on: https://review.typo3.org/44557 Reviewed-by:Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Tested-by:
Morton Jonuschat <m.jonuschat@mojocode.de>
Showing
- typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php 19 additions, 12 deletions...backend/Classes/Form/Container/InlineControlContainer.php
- typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php 100 additions, 156 deletions.../backend/Classes/Form/Container/InlineRecordContainer.php
- typo3/sysext/backend/Classes/Form/FormDataCompiler.php 8 additions, 1 deletiontypo3/sysext/backend/Classes/Form/FormDataCompiler.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaColumnsProcessRecordTitle.php 10 additions, 0 deletions...es/Form/FormDataProvider/TcaColumnsProcessRecordTitle.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaColumnsProcessShowitem.php 20 additions, 0 deletions...asses/Form/FormDataProvider/TcaColumnsProcessShowitem.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaColumnsRemoveUnused.php 1 addition, 2 deletions.../Classes/Form/FormDataProvider/TcaColumnsRemoveUnused.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php 0 additions, 1 deletion...ysext/backend/Classes/Form/FormDataProvider/TcaInline.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInlineExpandCollapseState.php 7 additions, 11 deletions...es/Form/FormDataProvider/TcaInlineExpandCollapseState.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRecordTitle.php 15 additions, 2 deletions.../backend/Classes/Form/FormDataProvider/TcaRecordTitle.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php 36 additions, 0 deletions...orm/FormDataProvider/TcaColumnsProcessRecordTitleTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessShowitemTest.php 201 additions, 0 deletions...t/Form/FormDataProvider/TcaColumnsProcessShowitemTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineExpandCollapseStateTest.php 2 additions, 9 deletions...orm/FormDataProvider/TcaInlineExpandCollapseStateTest.php
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRecordTitleTest.php 65 additions, 0 deletions...d/Tests/Unit/Form/FormDataProvider/TcaRecordTitleTest.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 11 additions, 10 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
Please register or sign in to comment