77007[FEATURE] AdminPanel: Add SQL and memory metrics to toolbar
Commit message
Review
-
Code review CR +2 Done
- Stefan Bürk +2
- Andreas Kienast +1
-
Verified V +2 Done
- Stefan Bürk +2
- Andreas Kienast +1
- core-ci +1 CI
Issues 1
Files 11
- Build/Sources/Sass/adminpanel.scss+6 −1
- typo3/sysext/adminpanel/Classes/Controller/MainController.php4+14 −0
- typo3/sysext/adminpanel/Classes/ModuleApi/AbstractModule.php2+6 −0
- typo3/sysext/adminpanel/Classes/ModuleApi/ShortInfoProviderInterface.php2+7 −0
- typo3/sysext/adminpanel/Classes/Modules/DebugModule.php+9 −3
- typo3/sysext/adminpanel/Classes/Modules/InfoModule.php+8 −3
- typo3/sysext/adminpanel/Resources/Private/Language/locallang_debug.xlf4+2 −2
- typo3/sysext/adminpanel/Resources/Private/Language/locallang_info.xlf4+2 −2
- typo3/sysext/adminpanel/Resources/Public/Css/adminpanel.css+1 −1
- typo3/sysext/adminpanel/Tests/Unit/Fixtures/MainModuleFixture.php+8 −0
- typo3/sysext/core/Documentation/Changelog/12.3/Feature-100167-AdminPanelAddSQLAndMemoryInfosToToolbar.rstnew+26 −0
Review log 2941
Show 1216 earlier messages
-
Christoph Lehmann uploaded patch set 1 12/09/22, 20:38
-
core-ci voted on patch set 1 V -1 12/09/22, 20:45 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/34840
-
Oliver Klee commented on patch set 1 12/09/22, 21:45
-
Oliver Klee commented on patch set 1 12/09/22, 21:46
locallang_info.xlf:10Ditto about numbered interpolations and formats. -
Christoph Lehmann uploaded patch set 2
V -103/14/23, 20:13 -
Christoph Lehmann uploaded patch set 3 03/14/23, 20:29
-
Christoph Lehmann commented on patch set 3 03/14/23, 20:30
locallang_debug.xlf:11ReplyDonelocallang_info.xlf:10ReplyDone -
core-ci voted on patch set 2 V -1 03/14/23, 20:36 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/38944
-
core-ci voted on patch set 3 V -1 03/14/23, 20:56 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/38945
-
Christoph Lehmann uploaded patch set 4
V -103/15/23, 19:57 -
core-ci voted on patch set 4 V -1 03/15/23, 20:23 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/39006
-
Josef Glatz commented on patch set 4 CR -1 03/15/23, 20:23
locallang_debug.xlf:11Please change also the id/resname since this changes the "content logic" heavilylocallang_info.xlf:10Please change also the id and resname since you change the "logic of the content" -
Christoph Lehmann uploaded patch set 5
CR -1V -103/15/23, 20:52 -
Christoph Lehmann commented on patch set 5 03/15/23, 20:52
locallang_debug.xlf:11ReplyDonelocallang_info.xlf:10ReplyDone -
Christoph Lehmann updated the commit message in patch set 6 03/15/23, 21:02
-
Christoph Lehmann updated the commit message in patch set 7 03/15/23, 21:03
-
core-ci voted on patch set 5 V -1 03/15/23, 21:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/39010
-
core-ci voted on patch set 6 V -1 03/15/23, 21:11 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/39012
-
core-ci voted on patch set 7 V -1 03/15/23, 21:12 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/39013
-
Christoph Lehmann uploaded patch set 8
V -103/15/23, 21:28 -
core-ci voted on patch set 8 V +1 03/15/23, 21:34 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/39020
-
Georg Ringer commented on patch set 8 03/16/23, 03:27
Should we transform it to a feature? -
Christoph Lehmann uploaded patch set 9
V +103/16/23, 22:30 -
Christoph Lehmann commented on patch set 9 03/16/23, 22:30
Reply
Done -
core-ci voted on patch set 9 V +1 03/16/23, 22:41 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/39083
-
Georg Ringer voted on patch set 9 CR +2 03/17/23, 07:20
-
Georg Ringer voted on patch set 9 V +1 CR +1 03/17/23, 07:20
-
Stefan Bürk commented on patch set 9 CR -1 03/18/23, 10:03
Thanks for your work on this. However, there is a hidden trap making this "breaking". See my comments, I think I have outlined how this can be changed to a non-breaking approach. Meaning, getting this features now but having a safety-net and doing the breaking things when we are allowed to do breaking things.MainController.php:112As commented for the `ShortInfoProviderInterface` hard enforcing the `setData()` method is **breaking**. Therefore, we should do this conditional based here: * 1. check for the interface * 2. check if method exists, if use it otherwise trigger a deprecation notice The depcrecation method should state, that a module implements the `ShortInfoProviderInterface` it **must** implement the setData() method at least with TYPO3 v13. Sadly, this is technically not a "deprecation" in the sense of "this gets removed" - but we could consider it as deprecated that the interface needs that method. Not sure, how this have been done in the past.AbstractModule.php:35Generic data feels kind of not right. Can we renamte it at least to `$moduleData` or similar ?ShortInfoProviderInterface.php:44This interface is `PublicAPI`. Enforcing now a new method to be implemented is a breaking change, shortly before freeze phase. We should have the method commented out here, and guard code using it to check if method exists or something like that to avoid "breakage". See `MainController`comments on that. A corresponding @todo should be added here to activate the method for 13.0 (breaking phase). Along with a deprecation notice in `MainController` this seems to be the proper way to handle this for me and get this feature basically in now. -
Christoph Lehmann uploaded patch set 10
CR +1V +103/25/23, 21:14 -
core-ci voted on patch set 10 V +1 03/25/23, 21:22 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/39630
-
Christoph Lehmann commented on patch set 10 03/25/23, 21:23
MainController.php:112ReplyDoneAbstractModule.php:35ReplyDoneShortInfoProviderInterface.php:44ReplyDone -
Stefan Bürk commented on patch set 10 03/26/23, 20:33
MainController.php:117The deprecation message should only be triggered, if * module implementes ShortInfoProviderInterface * **and** do not implement method `setModuleData()` yet Currently, it is triggered for modules regardeless if they implement the interface or not. Additionally, I would suggest to wrapp the message to be kind in a lower line length ... albit this is more a nitpick. But as you have to rework here ;) -
Christoph Lehmann uploaded patch set 11
V +103/27/23, 07:06 -
Christoph Lehmann commented on patch set 10 03/27/23, 07:08
MainController.php:117ReplySeems it was too late ;-) -
core-ci voted on patch set 11 V +1 03/27/23, 07:13 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/39663
-
Stefan Bürk commented on patch set 11 V +1 CR +1 03/27/23, 15:05
Thanks for taking care of my comments. Looks fine now. -
Andreas Kienast uploaded patch set 12
CR +1V +103/27/23, 15:29 -
Andreas Kienast voted on patch set 12 V +1 CR +1 03/27/23, 15:30
-
core-ci voted on patch set 12 V +1 03/27/23, 15:37 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/39706
-
Stefan Bürk voted on patch set 12 V +2 CR +2 03/27/23, 15:56
-
Stefan Bürk merged patch set 13 03/27/23, 15:56
locallang_debug.xlf:11