92058[TASK] Add workspace selector to module menu
Commit message
Review
-
Code review CR +2 Done
- Oli Bartsch +2
- Andreas Nedbal +1
- Benjamin Kott +1
-
Verified V +2 Done
- Oli Bartsch +2
- Andreas Nedbal +1
- Benjamin Kott +1
- core-ci +1 CI
Issues 2
Files 37
- Build/Sources/Sass/component/scaffold/_scaffold.scss+10 −4
- Build/Sources/Sass/component/scaffold/_toolbar.scss+1 −2
- Build/Sources/Sass/element/typo3-backend-workspace-selector.scssnew+178 −0
- Build/Sources/Sass/backend.scss+1 −0
- Build/Sources/TypeScript/workspaces/element/workspace-selector-element.ts4new+186 −0
- Build/Sources/TypeScript/workspaces/element/workspace-top-indicator-element.tsnew+148 −0
- Build/Sources/TypeScript/workspaces/toolbar/workspaces-menu.tsdeleted+0 −192
- Build/Sources/TypeScript/workspaces/workspace-state.tsnew+251 −0
- Build/tests/playwright/e2e/workspaces/workspaces-module.spec.tsnew+94 −0
- Build/tests/playwright/fixtures/setup-fixtures.ts+6 −1
- Build/tests/playwright/fixtures/workspace.tsnew+135 −0
- Build/types/TYPO3/index.d.ts+1 −1
- typo3/sysext/backend/Classes/Controller/BackendController.php+0 −1
- typo3/sysext/backend/Classes/Utility/BackendUtility.php+7 −0
- typo3/sysext/backend/Resources/Private/Templates/Backend/Main.fluid.html+2 −1
- typo3/sysext/backend/Resources/Public/Css/backend.css+33 −9
- typo3/sysext/core/Resources/Private/Language/locallang_common.xlf+34 −0
- typo3/sysext/core/Resources/Private/Language/locallang_misc.xlf+0 −3
- typo3/sysext/core/Tests/Acceptance/Application/Workspace/WorkspaceModuleCest.phpdeleted+0 −91
- typo3/sysext/workspaces/Classes/Backend/LiveSearch/WorkspaceProvider.php+1 −1
Show 17 more files
- typo3/sysext/workspaces/Classes/Backend/ToolbarItems/WorkspaceSelectorToolbarItem.phpdeleted+0 −134
- typo3/sysext/workspaces/Classes/Controller/WorkspacesAjaxController.php+80 −9
- typo3/sysext/workspaces/Classes/Controller/WorkspacesToolbarController.phpdeleted+0 −85
- typo3/sysext/workspaces/Classes/EventListener/AfterBackendPageRenderEventListener.phpnew+59 −0
- typo3/sysext/workspaces/Classes/Hook/DataHandlerInternalWorkspaceTablesHook.php+5 −3
- typo3/sysext/workspaces/Classes/Service/WorkspaceService.php2+76 −11
- typo3/sysext/workspaces/Classes/Sidebar/WorkspaceSelectorSidebarComponent.phpnew+72 −0
- typo3/sysext/workspaces/Configuration/Backend/AjaxRoutes.php+8 −1
- typo3/sysext/workspaces/Configuration/TCA/sys_workspace.php2+57 −38
- typo3/sysext/workspaces/Configuration/TCA/sys_workspace_stage.php+14 −14
- typo3/sysext/workspaces/Resources/Private/Language/locallang.xlf+9 −12
- typo3/sysext/workspaces/Resources/Private/Templates/ToolbarItems/DropDown.fluid.htmldeleted+0 −58
- typo3/sysext/workspaces/Resources/Private/Templates/ToolbarItems/ToolbarItem.fluid.htmldeleted+0 −16
- typo3/sysext/workspaces/Resources/Public/JavaScript/element/workspace-selector-element.jsnew+13 −0
- typo3/sysext/workspaces/Resources/Public/JavaScript/element/workspace-top-indicator-element.jsnew+13 −0
- typo3/sysext/workspaces/Resources/Public/JavaScript/toolbar/workspaces-menu.jsdeleted+0 −13
- typo3/sysext/workspaces/Resources/Public/JavaScript/workspace-state.jsnew+13 −0
Review log 6092
Show 4267 earlier messages
-
Oli Bartsch uploaded patch set 1 12/09/25, 11:52
-
Oli Bartsch uploaded patch set 2 12/09/25, 11:59
-
core-ci voted on patch set 1 V -1 12/09/25, 12:15 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91881
-
core-ci voted on patch set 2 V -1 12/09/25, 12:18 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91882
-
Oli Bartsch uploaded patch set 3
V -112/09/25, 12:32 -
core-ci voted on patch set 3 V +1 12/09/25, 12:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91885
-
Oli Bartsch updated the commit message in patch set 4
V +112/09/25, 13:36 -
core-ci voted on patch set 4 V +1 12/09/25, 13:44 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91891
-
Oli Bartsch uploaded patch set 5
V +112/09/25, 17:15 -
core-ci voted on patch set 5 V +1 12/09/25, 17:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91920
-
Soren Malling voted on patch set 5 V +1 12/10/25, 15:17
-
Benni Mack commented on patch set 5 12/10/25, 17:34
ModuleMenu.fluid.html:9I assume we could do this in the event listener by adding the inline language labels directly? Other option: Hand in the labels in the custom element. -
Benjamin Kott commented on patch set 5 12/11/25, 08:33
sys_workspace.php:50not having the field added will brick the backend completely, sice it has way more impact than before we now need to use the install tool to fix it. -
Benjamin Kott commented on patch set 5 12/11/25, 08:36
workspace-selector-element.ts:272it uses the wrong icon -
Benjamin Kott commented on patch set 5 12/11/25, 08:37
patch is breaking the collapsed view, as the scollable area is not accounted anymore -
Benjamin Kott commented on patch set 5 12/11/25, 08:39
ModuleMenu.fluid.html:6the workspace selector is not part of the module menu, it sits in the same spot but it´s not the same. -
Benjamin Kott commented on patch set 5 12/11/25, 08:45
workspace-selector-element.ts:114hard assignments of --typo3 properties, these need to be set on root and assigned from the outside. -
Soren Malling commented on patch set 5 V 0 12/11/25, 09:24
Long workspace name is not readable -
Benjamin Kott updated the commit message in patch set 6
V +112/11/25, 10:28 -
core-ci voted on patch set 6 V +1 12/11/25, 10:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92057
-
Oli Bartsch uploaded patch set 7
V +112/16/25, 10:01 -
Oli Bartsch uploaded patch set 8 12/16/25, 10:02
-
Oli Bartsch commented on patch set 8 12/16/25, 10:13
workspace-selector-element.ts:114ReplyDoneworkspace-selector-element.ts:272ReplyDoneModuleMenu.fluid.html:6ReplyDoneModuleMenu.fluid.html:9ReplyDonesys_workspace.php:50ReplyDone -
core-ci voted on patch set 7 V +1 12/16/25, 10:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92281
-
core-ci voted on patch set 8 V -1 12/16/25, 10:21 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92282
-
Benjamin Kott uploaded patch set 9
V -112/16/25, 10:41 -
core-ci voted on patch set 9 V -1 12/16/25, 10:49 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92287
-
Benjamin Kott uploaded patch set 10
V -112/16/25, 11:40 -
core-ci voted on patch set 10 V -1 12/16/25, 11:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92292
-
Benjamin Kott rebased onto patch set 11
V -112/16/25, 13:16 -
Benjamin Kott rebased onto patch set 12 12/16/25, 13:21
-
core-ci voted on patch set 11 V -1 12/16/25, 13:27 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92296
-
core-ci voted on patch set 12 V -1 12/16/25, 13:31 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92299
-
Benjamin Kott commented on patch set 12 12/16/25, 13:56
- endpoints should always deliver valid workspace items including description and color - we need events to refresh the workspace selector (gloal refresh / workspace changed) - workspace selector should only get the current selected workspace - workspace selector needs to be able to refresh it´s data -
Benjamin Kott commented on patch set 12 12/16/25, 13:58
Reply
- question, what happens when an active workspace is removed -
Benjamin Kott commented on patch set 12 12/16/25, 14:01
Reply
- we need to be able to access the selected workspace information through the backend, for example to color (note something in the header) -
Oli Bartsch uploaded patch set 13
V -101/28/26, 12:10 -
core-ci voted on patch set 13 V +1 01/28/26, 12:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94499
-
Oli Bartsch uploaded patch set 14
V +101/28/26, 16:26 -
core-ci voted on patch set 14 V +1 01/28/26, 16:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94517
-
Oli Bartsch uploaded patch set 15
V +101/29/26, 11:55 -
core-ci voted on patch set 15 V +1 01/29/26, 12:06 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94566
-
Benjamin Franzke uploaded patch set 16
V +101/29/26, 12:28 -
core-ci voted on patch set 16 V +1 01/29/26, 12:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94568
-
Benjamin Franzke commented on patch set 16 01/29/26, 13:21
WorkspaceService.php:97We should avoid catching `DBALException`s here, an error is an error. I understand that this has been done to be graceful regarding the additional for the color column, but we can do better based on `SchemaInformation` (will propose a solution) -
Benjamin Franzke uploaded patch set 17
V +101/29/26, 13:45 -
core-ci voted on patch set 17 V -1 01/29/26, 13:56 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94577
-
Benjamin Franzke uploaded patch set 18
V -101/29/26, 14:07 -
core-ci voted on patch set 18 V +1 01/29/26, 14:21 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94583
-
Oli Bartsch uploaded patch set 19
V +101/29/26, 21:08 -
core-ci voted on patch set 19 V +1 01/29/26, 21:19 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94604
-
Benjamin Franzke uploaded patch set 20
V +101/30/26, 10:15 -
Benjamin Franzke commented on patch set 20 01/30/26, 10:15
WorkspaceService.php:97ReplyDone -
Benjamin Franzke rebased onto patch set 21 01/30/26, 10:17
-
core-ci voted on patch set 21 V +1 01/30/26, 11:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94639
-
core-ci voted on patch set 20 V -1 01/30/26, 11:22 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94637
-
Benjamin Kott commented on patch set 21 CR -1 02/03/26, 08:03
- on it -
Benjamin Kott uploaded patch set 22
CR -1V +102/03/26, 20:05 -
Benjamin Kott commented on patch set 22 CR -2 02/03/26, 20:05
on it -
core-ci voted on patch set 22 V -1 02/03/26, 20:16 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94940
-
Benjamin Kott uploaded patch set 23
V -102/04/26, 11:51Copied Votes: * Code-Review-2 (copy condition: "changekind:NO_CHANGE OR **is:MIN**") -
core-ci voted on patch set 23 V -1 02/04/26, 12:01 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95014
-
Benjamin Kott uploaded patch set 24
V -102/04/26, 15:01Copied Votes: * Code-Review-2 (copy condition: "changekind:NO_CHANGE OR **is:MIN**") -
Benjamin Kott uploaded patch set 25 02/04/26, 15:08
Copied Votes: * Code-Review-2 (copy condition: "changekind:NO_CHANGE OR **is:MIN**") -
core-ci voted on patch set 24 V -1 02/04/26, 15:18 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95046
-
core-ci voted on patch set 25 V +1 02/04/26, 15:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95049
-
Benjamin Kott uploaded patch set 26
V +102/04/26, 16:15Copied Votes: * Code-Review-2 (copy condition: "changekind:NO_CHANGE OR **is:MIN**")
-
Benjamin Kott voted on patch set 26 CR 0 02/04/26, 16:15
-
Benjamin Kott commented on patch set 26 02/04/26, 16:16
ModuleMenu.fluid.html:6ReplyDone -
core-ci voted on patch set 26 V +1 02/04/26, 16:25 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95066
-
Benjamin Kott rebased onto patch set 27
V +102/05/26, 15:28 -
core-ci voted on patch set 27 V +1 02/05/26, 15:37 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95173
-
Oli Bartsch uploaded patch set 28
V +102/10/26, 12:02 -
Oli Bartsch uploaded patch set 29 02/10/26, 12:26
-
core-ci voted on patch set 29 V +1 02/10/26, 12:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95541
-
core-ci voted on patch set 28 V -1 02/10/26, 12:39 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95539
-
Benjamin Kott uploaded patch set 30
V +102/10/26, 13:53 -
core-ci voted on patch set 30 V -1 02/10/26, 14:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95550
-
Benjamin Kott uploaded patch set 31
V -102/10/26, 14:17 -
Benjamin Kott voted on patch set 31 CR +1 V +1 02/10/26, 14:17
-
core-ci voted on patch set 31 V +1 02/10/26, 14:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95553
-
Riccardo De Contardi commented on patch set 31 02/10/26, 14:34
Not entirely sure of the choice of red as the color for LIVE workspace (that's the color of danger); also not entirely sure of the bar with the workspace name at the very top of the page, but I'm worried just for the LIVE version. That's nice for workspaces, though. Wild suggestion: what about making it temporary? So it disappears after some time and just a 2px height line survives? -
Benjamin Kott uploaded patch set 32
CR +1V +102/10/26, 14:42 -
Benjamin Kott commented on patch set 32 02/10/26, 14:44
Reply
We have discussed this, and we will prefix the indicator in the top. As soon as you work with workspaces you need to be aware in what context you are working in. Especially live, we will now announce the workspaces always for instances that are using workspaces - other instances will not see the indicator at all. -
Benjamin Kott voted on patch set 32 CR +1 V +1 02/10/26, 14:49
-
core-ci voted on patch set 32 V +1 02/10/26, 14:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95556
-
Andreas Nedbal voted on patch set 32 CR +1 V +1 02/10/26, 16:51
-
Oli Bartsch voted on patch set 32 CR +2 V +2 02/10/26, 17:23
-
Oli Bartsch merged patch set 33 02/10/26, 17:23
-
Simon Schaufelberger commented on patch set 33 02/10/26, 20:45
When I uninstall the workspace extension, I expect that the topbar is removed but it is still there. The url is also changed to typo3/module/extensions/List/index?refreshModuleMenu=1&refreshTopbar=1 but does not nothing -
Josef Glatz commented on patch set 33 02/11/26, 12:01
Reply
I can reproduce. Also the workspace selector in the module-menu (above the module-menu) isn't updated. The scenario exists also in the other way when you activate the workspaces extension in classic mode. _however a hard reload of the backend tab fixes it._ followup: https://review.typo3.org/c/Packages/TYPO3.CMS/+/92793 -
Oli Bartsch commented on patch set 33 02/12/26, 12:34
Reply
Done
ModuleMenu.fluid.html:6