[TASK] FormEngine: Inline titles and expand / collapse 57/44557/5
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 5 Nov 2015 16:18:29 +0000 (17:18 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 6 Nov 2015 10:43:50 +0000 (11:43 +0100)
commit49706612b7670599b21201aaeea2abc9c7748ac0
treed2303631ac97bf6ac07d39cfbb124e8130f6ad26
parent2f1e6d99b7727b4d30dfbf3c1d779c2113979b6f
[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>
14 files changed:
typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php
typo3/sysext/backend/Classes/Form/FormDataCompiler.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaColumnsProcessRecordTitle.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaColumnsProcessShowitem.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaColumnsRemoveUnused.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInlineExpandCollapseState.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRecordTitle.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessShowitemTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineExpandCollapseStateTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRecordTitleTest.php
typo3/sysext/core/Configuration/DefaultConfiguration.php