AFL

Widget taxonomy

Reference: the five widget types and the Optimizely construct each maps to.

"Widget" covers several shapes. Each maps to a different Optimizely construct, read from Graph (packages/content/src/optimizely/schema.graphql). The factory never creates content types; when the type it needs is missing it stops and reports.

TypeWhat it isOptimizely constructExample
elementPlaced by editors on a page, repeatableElement-enabled BlockData (…Element), dispatched by the web block registryArticle list, promo
shared-blockOne instance referenced from many placesBlockData without element composition, referenced by a parentNavigation menu, social share
page-sectionPart of a routable type's own layout, not editor placedFields on the page or article type (Article)Article header, article body
chromeSite-wide frame around every pageChrome slot block fetched by type (SiteHeaderBlock, GlobalFooterBlock)Telstra bar, footer
behaviourClient behaviour or overlay with no content model of its ownNone (code only), or settings on a parentScroll to top, video modal