-
Notifications
You must be signed in to change notification settings - Fork 480
Description
Description
2.1 Add a FEATURE FLAG named ENABLE_PAGE_CONTENT_STYLING
Follow dotCMS feature flag conventions
Configure default state (disabled by default)
2.2 Update PersonalizedContentlet to include a styles property
2.3 Update PageRenderUtil.populateContainers() to transfer the properties from PersonalizedContentlet to the contentlet
Implement the transfer logic
Ensure the styles property is correctly mapped
2.4 Write tests that guarantee contentlets that should have style properties contain them
Integration tests for PageRenderUtil.populateContainers()
Verify style properties are present in the expected scenarios
Include Postman/Karate Test that verifies the new prop gets rendered when data
2.5 Hide this functionality under the feature flag
Ensure all new functionality is only active when ENABLE_PAGE_CONTENT_STYLING is enabled
Verify backward compatibility when the flag is disabled.
Test providing dummy styling data
Acceptance Criteria
- Feature flag ENABLE_PAGE_CONTENT_STYLING is properly implemented and can be toggled
- PersonalizedContentlet includes the new styles property
- PageRenderUtil.populateContainers() correctly transfers style properties
- All tests pass and verify style properties are present when expected
- Functionality is only active when the feature flag is enabled
- No breaking changes when the feature flag is disabled
Priority
Medium
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status