-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK: Create DotCMSLayoutBody
React Component to render page content
#31178
Closed
8 tasks done
Comments
58 tasks
DotCMSPageBody
Components to render page content
DotCMSPageBody
Components to render page contentDotCMSPageBody
React Component to render page content
DotCMSPageBody
React Component to render page contentDotCMSBodyRender
React Component to render page content
DotCMSBodyRender
React Component to render page contentDotCMSLayoutBodyRender
React Component to render page content
DotCMSLayoutBodyRender
React Component to render page contentDotCMSLayoutBody
React Component to render page content
@fmontes I'm on it |
IQA PassedAll examples are building correctly and types are correct. ScreenshotsScreen.Recording.2025-02-27.at.1.43.21.PM.movScreen.Recording.2025-02-27.at.1.45.39.PM.movScreen.Recording.2025-02-27.at.1.49.33.PM-1.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Parent Issue
#30943
Background
The
DotcmsLayout
component was originally designed to render the page and listen for changes from the UVE. However, its responsibilities have grown too complex by combining layout rendering with editor-specific logic. To address this, we will deprecate theDotcmsLayout
component and introduce a new, cleaner component calledDotCMSLayoutBody
.DotCMSLayoutBody
will focus solely on rendering the content, ensuring a separation of concerns. UVE-related logic will no longer be included in this component, and developers can rely on other mechanisms for editor communication.Tasks
DotcmsLayout
with appropriate warnings in the codebase and documentation.DotCMSLayoutBody
component, ensuring it focuses solely on rendering the content.DotCMSLayoutBody
component works in both Edit and Live modes.DotcmsLayout
and promoteDotCMSLayoutBody
.DotcmsLayout
are migrated toDotCMSLayoutBody
.Components
is not passed, the app does not break, and console a warning.devMode
prop to show theContainer is EMPTY
andNo Component for ${Contenty}
messages outside the UVE.Proposed Objective
Same as Parent Issue
Proposed Priority
Priority 3 - Average
Acceptance Criteria
Important
Make sure the
withExperiments
works with this new component.DotcmsLayout
.DotCMSLayoutBody
.Pseudo-code
Use Case
Important
The new implementation should emphasize simplicity and flexibility.
Quality Assurance Notes
DotCMSLayoutBody
with and without thecomponents
prop to ensure both scenarios are functional.Sub-Tasks & Estimates
DotcmsLayout
as deprecated in the SDK.DotCMSLayoutBody
as a standalone component.The text was updated successfully, but these errors were encountered: