[!!!][FEATURE] Refactoring of FlashMessage rendering
This patch reverts some changes of #73698 and adds some new things: - Introduce context based FlashMessageRenderer - Add special FlashMessageViewHelper for the backend - Cleanup classes related to FlashMessages - Deprecate some methods from the FlashMessages::class Resolves: #78477 Related: #73698 Releases: master Change-Id: I937d5896b0a3d45e59c9174d233410f202add997 Reviewed-on: https://review.typo3.org/50285 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org>
Showing
- typo3/sysext/core/Classes/Database/QueryView.php 7 additions, 2 deletionstypo3/sysext/core/Classes/Database/QueryView.php
- typo3/sysext/core/Classes/Messaging/AbstractMessage.php 14 additions, 10 deletionstypo3/sysext/core/Classes/Messaging/AbstractMessage.php
- typo3/sysext/core/Classes/Messaging/FlashMessage.php 9 additions, 28 deletionstypo3/sysext/core/Classes/Messaging/FlashMessage.php
- typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php 10 additions, 6 deletionstypo3/sysext/core/Classes/Messaging/FlashMessageQueue.php
- typo3/sysext/core/Classes/Messaging/FlashMessageRendererResolver.php 92 additions, 0 deletions...t/core/Classes/Messaging/FlashMessageRendererResolver.php
- typo3/sysext/core/Classes/Messaging/FlashMessageService.php 10 additions, 6 deletionstypo3/sysext/core/Classes/Messaging/FlashMessageService.php
- typo3/sysext/core/Classes/Messaging/Renderer/BootstrapRenderer.php 118 additions, 0 deletions...ext/core/Classes/Messaging/Renderer/BootstrapRenderer.php
- typo3/sysext/core/Classes/Messaging/Renderer/FlashMessageRendererInterface.php 32 additions, 0 deletions...sses/Messaging/Renderer/FlashMessageRendererInterface.php
- typo3/sysext/core/Classes/Messaging/Renderer/ListRenderer.php 109 additions, 0 deletions...3/sysext/core/Classes/Messaging/Renderer/ListRenderer.php
- typo3/sysext/core/Classes/Messaging/Renderer/PlaintextRenderer.php 72 additions, 0 deletions...ext/core/Classes/Messaging/Renderer/PlaintextRenderer.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-78477-RefactoringOfFlashMessageRendering.rst 42 additions, 0 deletions...ter/Breaking-78477-RefactoringOfFlashMessageRendering.rst
- typo3/sysext/core/Documentation/Changelog/master/Breaking-78477-RefactoringOfFlashMessageRenderingViewHelper.rst 37 additions, 0 deletions...ng-78477-RefactoringOfFlashMessageRenderingViewHelper.rst
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-78477-RefactoringOfFlashMessageRendering.rst 41 additions, 0 deletions.../Deprecation-78477-RefactoringOfFlashMessageRendering.rst
- typo3/sysext/core/Documentation/Changelog/master/Feature-78477-RefactoringOfFlashMessageRendering.rst 40 additions, 0 deletions...ster/Feature-78477-RefactoringOfFlashMessageRendering.rst
- typo3/sysext/core/Tests/Functional/Messaging/FlashMessageQueueTest.php 4 additions, 4 deletions...core/Tests/Functional/Messaging/FlashMessageQueueTest.php
- typo3/sysext/core/Tests/Unit/Messaging/FlashMessageRendererResolverTest.php 36 additions, 0 deletions...Tests/Unit/Messaging/FlashMessageRendererResolverTest.php
- typo3/sysext/core/Tests/Unit/Messaging/Renderer/BootstrapRendererTest.php 66 additions, 0 deletions...e/Tests/Unit/Messaging/Renderer/BootstrapRendererTest.php
- typo3/sysext/core/Tests/Unit/Messaging/Renderer/ListRendererTest.php 56 additions, 0 deletions...t/core/Tests/Unit/Messaging/Renderer/ListRendererTest.php
- typo3/sysext/core/Tests/Unit/Messaging/Renderer/PlaintextRendererTest.php 56 additions, 0 deletions...e/Tests/Unit/Messaging/Renderer/PlaintextRendererTest.php
- typo3/sysext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php 18 additions, 28 deletions...ext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php
Please register or sign in to comment