[TASK] Streamline and optimize JavaScript in install tool 53/50553/5
authorFrank Naegler <frank.naegler@typo3.org>
Wed, 9 Nov 2016 13:04:37 +0000 (14:04 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 11 Nov 2016 22:47:22 +0000 (23:47 +0100)
commit89a8146699b73896d1ca8869e43cd53f16e3bdfe
tree687e88331501afcc589c450d5f9b596ad80d825a
parent56dca7bcd3ba8da5eca6e085ced9f79238a92438
[TASK] Streamline and optimize JavaScript in install tool

This patch optimize and streamline the JavaScript of Install.js
The following changes are part of the patch:

- Centralized FlashMessage handling
- Streamline server side and browser side severities
- Optimize performance, remove duplicate jQuery selector
- Remove console.debug calls
- Remove unused FlashMessage templates from views

Resolves: #78376
Releases: master, 7.6
Change-Id: I0652335e5d0bc4666896d5c7b6b528db445ee951
Reviewed-on: https://review.typo3.org/50553
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/install/Classes/View/JsonView.php
typo3/sysext/install/Resources/Private/Partials/Action/Common/StatusMessage.html
typo3/sysext/install/Resources/Private/Partials/Action/Tool/ImportantActions/CoreUpdateButton.html
typo3/sysext/install/Resources/Private/Partials/Action/Tool/ImportantActions/TcaExtTablesCheck.html
typo3/sysext/install/Resources/Private/Partials/Action/Tool/ImportantActions/TcaMigrationsCheck.html
typo3/sysext/install/Resources/Private/Templates/Action/Tool/LoadExtensions.html
typo3/sysext/install/Resources/Public/JavaScript/Install.js
typo3/sysext/install/Tests/Unit/View/JsonViewTest.php