-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorder
Edit Contentlet
feature folders (#31053)
### Proposed Changes * Reorder Edit Content folders This pull request focuses on refactoring the directory structure and updating imports across various files in the `core-web/libs/edit-content` module. The main goal is to move files from the `feature/edit-content` directory to a more streamlined structure under `components`, `store`, and `utils`. Here are the most important changes: ### Directory Structure Refactoring: * **Component Imports:** - Updated imports in `dot-edit-content-form.component.ts` to reflect the new location of `DotEditContentStore` and other components. [[1]](diffhunk://#diff-52fdc67adc70be54cf6c07ee18c9340c26cbf50a4d8fe5ed14a21d33def30a23L32) [[2]](diffhunk://#diff-52fdc67adc70be54cf6c07ee18c9340c26cbf50a4d8fe5ed14a21d33def30a23R40) - Renamed and updated imports in `dot-edit-content.layout.component.spec.ts` and `dot-edit-content.layout.component.ts` to reflect the new component structure. [[1]](diffhunk://#diff-f3c46d454601be71a4128e613b5cd301a6e4465987025305fecedd47998a7b40L36-R49) [[2]](diffhunk://#diff-4b222ec60172ab7698c9a0cd5849ece58e0c89123e2aa81769065349b5299e05L17-R22) * **Store Imports:** - Updated store-related imports in various feature files (`content.feature.ts`, `form.feature.ts`, `information.feature.ts`, `locales.feature.ts`, `sidebar.feature.ts`, `workflow.feature.ts`) to reflect the new directory structure. [[1]](diffhunk://#diff-b6072f3dc518e026533710923ea651bc5b7599b328a532e87ccaf3165e799b9cL39-R41) [[2]](diffhunk://#diff-13fc57d49e7a279ca6a21406283394a09cb6f284d70315255ad974eccad1ea02L3-R3) [[3]](diffhunk://#diff-9b8908e25adbe8580ab3b75a89a778fddd769e45609470483c6cd5cdb5598af1L20-R20) [[4]](diffhunk://#diff-98c3ce9499537ab7088257d66c0227fcd12440cae10485c6ac53f9544d627839L30-R37) [[5]](diffhunk://#diff-330bd1d3d95569cdb188700d865d60462480b16f8c33e4a6f038d68d204e65b6L15-R15) [[6]](diffhunk://#diff-f0fcc051e3fcc31af6b92c498403b31849ebba4c0b02092e6c22049d74714d85L39-R39) * **Test Files:** - Updated imports in test files to reflect the new structure, ensuring all references to `DotEditContentStore` and related services are correct. [[1]](diffhunk://#diff-c8c6cdfd93ac483cc08a7c63eab7b6a06cbcb21d7cbe2a3c65ac7190602f7e6eL2-R2) [[2]](diffhunk://#diff-2f1a1d6b895a7f80141dc1acc3663ee94e65a59e505fe3268a56e06c3e2a8f2cL7-R11) [[3]](diffhunk://#diff-0bc50a497494f30caacfe9313173befd0f6d40a118f96234555aa0c2c86406b4L28-R31) * **Utils:** - Updated utility imports in `workflows.utils.ts` to align with the new structure. These changes ensure a more organized and maintainable codebase by clearly separating components, store logic, and utilities into their respective directories. ### Checklist - [ ] Tests - [ ] Translations - [ ] Security Implications Contemplated (add notes if applicable) ### Additional Info ** any additional useful context or info ** ### Screenshots Original | Updated :-------------------------:|:-------------------------: ** original screenshot ** | ** updated screenshot **
- Loading branch information
Showing
23 changed files
with
54 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...it-content/store/features/form.feature.ts → ...nt/src/lib/store/features/form.feature.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters