Details
-
Sub-task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
8
-
Orion
-
Orion.Cycle6.Sprint1, Orion.Cycle6.Sprint2, Orion.Cycle6.Sprint3
-
Undetermined
Description
For the component outlines, there's this HTML comment in the mark-up
<!-- { "HST-Label":"Events List", "HST-LastModified":"1689251173970", "HST-Shared":"false", "HST-XType":"HST.Item", "HST-Experience-Page-Component":"false", "uuid":"951897cf-b2fe-433c-9723-eeaafc27b95b", "HST-Type":"CONTAINER_ITEM_COMPONENT", "refNS":"r18_r1_r1", "url":"/site/_cmsinternal/events?_hn:type=component-rendering&_hn:ref=r18_r1_r1"} -->
The idea is to add an attribute "HST-Offline-Documents":"uuid1,uuid2" with uuids of documents that are offline, i.e. have no live variants.
The channel manager front-end component outline should respond to the attribute.
The channel manager front-end button should respond to the attribute.
In the overlay.service we will modify the EDIT_CONTENT case in the addLinkMArkup function to add the different color and extra icon for component that has a offline document.
this._addLinkMarkup(overlayElement, contentLinkSvg, 'EDIT_CONTENT', 'qa-content-link');
to change the positioning of the buttons (we will need because according to the design we will make the button smaller) we have to change the positioning algorithm of overlays in overlay service