80927[TASK] Add `@typo3/backend/utility/dom-helper` module
Commit message
Review
-
Code review CR +2 Done
- Benjamin Franzke +2
- Andreas Nedbal +1
-
Verified V +2 Done
- Benjamin Franzke +2
- Andreas Nedbal +1
- core-ci +1 CI
Issues 1
Files 4
- Build/Sources/TypeScript/backend/utility/collapse-state-search.ts+2 −12
- Build/Sources/TypeScript/backend/utility/dom-helper.tsnew+33 −0
- typo3/sysext/backend/Resources/Public/JavaScript/utility/collapse-state-search.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/utility/dom-helper.jsnew+13 −0
Review log 1113
-
Andreas Kienast uploaded patch set 1 09/08/23, 13:05
-
core-ci voted on patch set 1 V +1 09/08/23, 13:14 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/46395
-
Andreas Nedbal voted on patch set 1 V +1 CR +1 09/08/23, 13:35
-
Benjamin Franzke commented on patch set 1 CR -1 09/11/23, 08:42
Hm, I have to say i'm not a big fan on this (especially being API). Why? The primary usecase of such operation is probably to toggle some states on the live dom, where elements need to guess parent markup. This case could be either: * ideally be rendered as a component where the filter influences which areas are visible or not * or alternatively (less intrusive) an event on the eleemnts that are supposed to be "shown" could be triggered, where all collapse-containers listen on and show themselves accordingly. What do you think? Too complicated? Maybe, but then please mark it at least `@internal` to not create an own jquery alias ;) -
Andreas Kienast commented on patch set 1 09/11/23, 10:05
Reply
`@internal` is fine for me. I currently need this in the FormEngine area as well (for the time being), therefore I extracted it into a separate module. -
Benjamin Franzke commented on patch set 1 09/11/23, 10:24
Reply
Ack -
Andreas Kienast commented on patch set 2
CR +1V +109/12/23, 07:15Published edit on patch set 1. -
Benjamin Franzke voted on patch set 2 CR +1 09/12/23, 07:17
-
core-ci voted on patch set 2 V +1 09/12/23, 07:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/46504
-
Benjamin Franzke voted on patch set 2 V +1 09/12/23, 08:38
-
Andreas Nedbal voted on patch set 2 V +1 CR +1 09/12/23, 08:51
-
Benjamin Franzke voted on patch set 2 V +2 CR +2 09/12/23, 10:15
-
Benjamin Franzke merged patch set 3 09/12/23, 10:41