Marquee block enhancements #1642
-
As a requirement for a particular page (Catalog), a new UI enhancement to the Marquee block should be built with the text "Includes:" along with a list of product mnemonic and titles. The original idea was to expand this new UI on the Marquee block with a class name Preview URL: https://main--cc--adobecom.hlx.page/products/catalog?milolibs=MWPW-139968--milo--axelcureno&martech=off Curious to hear other's opinion. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Thanks for bringing up this discussion @Axelcureno - My initial thought is we should never have conditional logic based on content for a specific english string. That opens up too many issues w/ localization and is generally a bad practice to rely on '*magic' values. If we can just use the variant (catalog) to determine this opt in layout and rely on a set order in content structure, I think we're ok to add it to the existing marquee. If this catalog row has wildly different placement depending on authoring, We may want to consider a different approach. Thinking quiz-marquee, that has x number of additional content rows that gets inserted below the main content. This may be easier to manage because we have determined row order and not just logic of (row has buttons?, find parents previous element) etc. |
Beta Was this translation helpful? Give feedback.
-
Do you think this "includes" content will want to be used outside of the marquee? If so, I think we may want to create a separate block for it, then figure out a way to re-use the code inside marquee. The advantage of this is the code would only be loaded in marquee when it's being used. Actually we should probably keep that code separate regardless. |
Beta Was this translation helpful? Give feedback.
Do you think this "includes" content will want to be used outside of the marquee? If so, I think we may want to create a separate block for it, then figure out a way to re-use the code inside marquee. The advantage of this is the code would only be loaded in marquee when it's being used. Actually we should probably keep that code separate regardless.