Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Yes
-
SPA Editor 14
-
5
Description
User Story: As a SPA developer, I can easily get the activation state of components so that content authors will see the activation state of components as they do with FTL based pages.
Notes:
Activation state is normally provided in the HTML comments which the page editor uses to generate the green bars. So a developer would need to supply it for those.
Probably the generic Magnolia library should have a conveneint method to calculate the activation state based on the content.
In the end, ideally the typical SPA developer shouldnt have to think about it, they should just use our best practice library - and the HTML comments will be generated with everything they need, including the activation state.
Technical Note:
There is already a "mgnl:activationStatus" property - but it does not hold the actual activation status as we need it. For example a yellow item has a value of 'true'.