[TASK] Introduce ModuleStateStorage replacing fsMod
JavaScript object :js:`top.fsMod` managing the "state" for page-tree and file-tree related contexts in the backend user-interface like this: * `top.fsMod.recentIds.web` contained the current ("recent") page or file related identifier details were shown for * `top.fsMod.navFrameHighlightedID.web` contained the currently selected identifier that was highlighted in page-tree or file-tree * `top.fsMod.currentBank` contained the current mount point or file mount ("bank") used in page-tree or file-tree To get rid of inline JavaScript and reduce usage of JavaScript `top.*`, mentioned `top.fsMod` has been deprecated and replaced by new component `ModuleStateStorage`. Reading data from `top.fsMod` is still possible as a fall-back. Resolves: #94762 Releases: master Change-Id: I9e02a1e4c59ad3a007f5244197c1cdaa2a31ce22 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67680 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ContextMenuActions.ts 3 additions, 2 deletions...backend/Resources/Public/TypeScript/ContextMenuActions.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Element/ImmediateActionElement.ts 4 additions, 0 deletions...urces/Public/TypeScript/Element/ImmediateActionElement.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/SelectTree.ts 2 additions, 2 deletions...ources/Public/TypeScript/FormEngine/Element/SelectTree.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ModuleMenu.ts 5 additions, 3 deletions...eScript/backend/Resources/Public/TypeScript/ModuleMenu.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/PageTree/PageTreeElement.ts 14 additions, 9 deletions...d/Resources/Public/TypeScript/PageTree/PageTreeElement.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Storage/ModuleStateStorage.ts 174 additions, 0 deletions...Resources/Public/TypeScript/Storage/ModuleStateStorage.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/SvgTree.ts 8 additions, 6 deletions...TypeScript/backend/Resources/Public/TypeScript/SvgTree.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tree/FileStorageTreeContainer.ts 11 additions, 7 deletions...ources/Public/TypeScript/Tree/FileStorageTreeContainer.ts
- Build/Sources/TypeScript/filelist/Resources/Public/TypeScript/FileList.ts 6 additions, 23 deletions...peScript/filelist/Resources/Public/TypeScript/FileList.ts
- Build/Sources/TypeScript/workspaces/Resources/Public/TypeScript/Toolbar/WorkspacesMenu.ts 4 additions, 2 deletions...ces/Resources/Public/TypeScript/Toolbar/WorkspacesMenu.ts
- typo3/sysext/backend/Classes/Controller/BackendController.php 2 additions, 16 deletions...3/sysext/backend/Classes/Controller/BackendController.php
- typo3/sysext/backend/Classes/Controller/PageLayoutController.php 4 additions, 17 deletions...ysext/backend/Classes/Controller/PageLayoutController.php
- typo3/sysext/backend/Classes/Domain/Model/Element/ImmediateActionElement.php 67 additions, 0 deletions...d/Classes/Domain/Model/Element/ImmediateActionElement.php
- typo3/sysext/backend/Resources/Public/JavaScript/ContextMenuActions.js 1 addition, 1 deletion...backend/Resources/Public/JavaScript/ContextMenuActions.js
- typo3/sysext/backend/Resources/Public/JavaScript/Element/ImmediateActionElement.js 1 addition, 1 deletion...urces/Public/JavaScript/Element/ImmediateActionElement.js
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Element/SelectTree.js 1 addition, 1 deletion...ources/Public/JavaScript/FormEngine/Element/SelectTree.js
- typo3/sysext/backend/Resources/Public/JavaScript/ModuleMenu.js 1 addition, 1 deletion.../sysext/backend/Resources/Public/JavaScript/ModuleMenu.js
- typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeElement.js 4 additions, 4 deletions...d/Resources/Public/JavaScript/PageTree/PageTreeElement.js
- typo3/sysext/backend/Resources/Public/JavaScript/Storage/ModuleStateStorage.js 13 additions, 0 deletions...Resources/Public/JavaScript/Storage/ModuleStateStorage.js
- typo3/sysext/backend/Resources/Public/JavaScript/SvgTree.js 3 additions, 3 deletionstypo3/sysext/backend/Resources/Public/JavaScript/SvgTree.js
Please register or sign in to comment