67675[TASK] Add <typo3-backend-icon> component
Commit message
Review
-
Code review CR +2 Done
- Benni Mack +2
- Richard Haeser +1
-
Verified V +2 Done
- Benni Mack +2
- Richard Haeser +1
- TYPO3com +1 CI
- core-ci +1 CI
Issues 1
Files 22
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Element/IconElement.ts4new+166 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Element/SpinnerElement.ts+18 −16
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Element/TableWizardElement.ts+3 −2
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Enum/IconTypes.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/TreeToolbar.ts+8 −5
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/PageTree/PageTreeElement.ts+6 −7
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tree/FileStorageTreeContainer.ts+5 −4
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/lit-helper.ts+1 −15
- typo3/sysext/backend/Resources/Public/JavaScript/Element/IconElement.jsnew+102 −0
- typo3/sysext/backend/Resources/Public/JavaScript/Element/SpinnerElement.js+17 −16
- typo3/sysext/backend/Resources/Public/JavaScript/Element/TableWizardElement.js+16 −16
- typo3/sysext/backend/Resources/Public/JavaScript/Enum/IconTypes.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Element/TreeToolbar.js+7 −5
- typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeElement.js+9 −9
- typo3/sysext/backend/Resources/Public/JavaScript/Tree/FileStorageTreeContainer.js+5 −5
- typo3/sysext/core/Classes/Imaging/IconProvider/FontawesomeIconProvider.php+934 −6
- typo3/sysext/core/Classes/Imaging/IconFactory.php+9 −2
- typo3/sysext/core/Classes/ServiceProvider.php+10 −1
- typo3/sysext/core/Resources/Public/JavaScript/lit-helper.js+1 −1
- typo3/sysext/core/Tests/Unit/Imaging/IconProvider/FontawesomeIconProviderTest.php+5 −1
Review log 2039
Show 714 earlier messages
-
Benjamin Franzke uploaded patch set 1 02/09/21, 12:43
-
TYPO3com voted on patch set 1 V -1 02/09/21, 12:55 Completed build in 11m 26s on Tue, 9 Feb, 12:55 PM Test Summary: 72 of 32838 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9386
-
core-ci voted on patch set 1 V -1 02/09/21, 12:59 Core CI is not happy: https://core.b13.com/typo3-core/typo3.cms/-/pipelines/524
-
Oliver Hader commented on patch set 1 02/09/21, 13:06
-
Benjamin Franzke uploaded patch set 2 02/09/21, 13:52
-
Benjamin Franzke commented on patch set 2 02/09/21, 13:52
IconElement.ts:163I'm going to drop the font-based rendering fallback. I want to go all-in with SVG icons. Thanks to the added SVG support in FontawesomeIconProvider that is possible without being breaking.IconEnums.ts:1ReplyThank you, adapted to the Path you used in your patch. (And added one missing enum, "Sizes.mega") -
TYPO3com voted on patch set 2 V -1 02/09/21, 14:00 Completed build in 08m 04s on Tue, 9 Feb, 02:00 PM Test Summary: 48 of 32838 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9394
-
Benjamin Franzke uploaded patch set 3 02/09/21, 14:01
-
core-ci voted on patch set 2 V -1 02/09/21, 14:06 Core CI is not happy: https://core.b13.com/typo3-core/typo3.cms/-/pipelines/532
-
TYPO3com voted on patch set 3 V +1 02/09/21, 14:11 Completed build in 09m 52s on Tue, 9 Feb, 02:11 PM Test Summary: 32597 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9395
-
core-ci voted on patch set 3 V +1 02/09/21, 14:13 Core CI is happy: https://core.b13.com/typo3-core/typo3.cms/-/pipelines/533
-
Benjamin Franzke commented on patch set 3 CR -1 02/09/21, 14:46
still on it -
Benjamin Franzke uploaded patch set 4 02/09/21, 15:01
Ready for review -
TYPO3com voted on patch set 4 V +1 02/09/21, 15:09 Completed build in 08m 14s on Tue, 9 Feb, 03:09 PM Test Summary: 32597 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9399
-
core-ci voted on patch set 4 V +1 02/09/21, 15:12 Core CI is happy: https://core.b13.com/typo3-core/typo3.cms/-/pipelines/536
-
Benjamin Franzke wrote 02/09/21, 16:21
Topic set to lit -
Benjamin Franzke uploaded patch set 5 02/09/21, 20:02
-
TYPO3com voted on patch set 5 V +1 02/09/21, 20:11 Completed build in 08m 49s on Tue, 9 Feb, 08:11 PM Test Summary: 32597 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9410
-
core-ci voted on patch set 5 V +1 02/09/21, 20:13 Core CI is happy: https://core.b13.com/typo3-core/typo3.cms/-/pipelines/548
-
Benjamin Franzke uploaded patch set 6 02/10/21, 15:24
Rebase -
TYPO3com voted on patch set 6 V +1 02/10/21, 15:33 Completed build in 09m 20s on Wed, 10 Feb, 03:33 PM Test Summary: 32600 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9440
-
core-ci voted on patch set 6 V +1 02/10/21, 15:42 Core CI is happy: https://core.b13.com/typo3-core/typo3.cms/-/pipelines/584
-
Benjamin Franzke uploaded patch set 7 02/10/21, 20:02
Resolve Merge Conflict -
TYPO3com voted on patch set 7 V +1 02/10/21, 20:10 Completed build in 08m 04s on Wed, 10 Feb, 08:10 PM Test Summary: 32600 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9448
-
core-ci voted on patch set 7 V +1 02/10/21, 20:13 Core CI is happy: https://core.b13.com/typo3-core/typo3.cms/-/pipelines/605
-
Oliver Hader commented on patch set 7 02/22/21, 16:32
IconElement.ts:142Where is this used currently? Maybe there should be a comment, how it's used and why it's not a security vulnerability... -
Benjamin Franzke commented on patch set 7 CR -1 02/22/21, 18:33
Will adapt documentation for the `raw` attribute to stress security implications.IconElement.ts:142ReplyYea, good point. Should probably document in https://review.typo3.org/c/Packages/TYPO3.CMS/+/67675/7/Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Element/IconElement.ts#38 that this has to be used with caution for security reasons and that it is only to be used in order to preserve backwards compatibility, not for "new" code. (marked it internal for that reason, but better to be explicit there) It is used by the upcoming (see relation chain) patch for the ContextMenu where I wanted to use this for "traditional" context menu providers that deliver that icon as raw html within the json response: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67180/8/Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ContextMenu.ts#394 I (also) consider that bad practice, and therefore adapted the core (in that mentioned patch) to deliver only the name of the icon as `iconIdentifier` instead, but in order to ensure backwards compatbility I wanted to provide support for the "old" `icon` html via this raw attribute. -
Benjamin Franzke uploaded patch set 8 02/23/21, 20:54
-
Benjamin Franzke commented on patch set 8 02/23/21, 20:54
IconElement.ts:142ReplyAdded information about security implication to the docblock of the `raw` attribute. -
TYPO3com voted on patch set 8 V +1 02/23/21, 21:01 Completed build in 07m 18s on Tue, 23 Feb, 09:01 PM Test Summary: 32686 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9683
-
core-ci voted on patch set 8 V +1 02/23/21, 21:05 Core CI is happy: https://core.b13.com/typo3-core/typo3.cms/-/pipelines/932
-
Benni Mack voted on patch set 8 V +1 CR +1 02/25/21, 11:43
-
Richard Haeser uploaded patch set 9 02/28/21, 10:06
-
Richard Haeser voted on patch set 9 V +1 CR +1 02/28/21, 10:08
-
TYPO3com voted on patch set 9 V -1 02/28/21, 10:13 Completed build in 06m 53s on Sun, 28 Feb, 10:13 AM Test Summary: 1 of 32967 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9760
-
core-ci voted on patch set 9 V +1 02/28/21, 10:18 Core CI is happy: https://core.b13.com/typo3-core/typo3.cms/-/pipelines/1063
-
TYPO3com voted on patch set 9 V +1 02/28/21, 10:29 Completed build in 06m 05s on Sun, 28 Feb, 10:29 AM Test Summary: 32726 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-9762
-
Benni Mack voted on patch set 9 V +2 CR +2 03/01/21, 10:35
-
Benni Mack merged patch set 10 03/01/21, 10:35
IconEnums.ts:1