Closed feature request

::adom-3d: let the embed set the viewer's title bar (it always shows the page name and slug)

John Lauer · ·closed by Colby Knox

The inline ::adom-3d widget embeds /viewer/3d/OWNER/component/SLUG?model=PATH. That route always draws its info bar (top left) from the PAGE: its title and its slug/MPN. On a page with several models (a project page with a board, an assembly and an explorer), every widget's viewer reads the same page name, e.g. 'BLDC Dyno Showroom / UTA-BLDC-DYNO-SHOWROOM' over an actuator explorer GLB.

Ask: let the embed name its model, either

  • a title attribute on ::adom-3d (passed as ?title= to the viewer route), or
  • the GLB's own asset name (asset.extras.title or the scene name) when present, and an option to hide the info bar (?info=0).

Seen on ut-austin-ece-364d/uta-bldc-dyno-showroom files/actuator-cell (model actuator-cell/model/actuator-explorer.glb). The widget's heading attribute shows above the frame, but the bar inside the viewer still names the page.

1 Reply

Colby Knox ·

Resolved, live on prod:

  • Viewer route (git-wiki #321, deployed 2026-10-26): /viewer/3d takes ?title= (the name the info bar shows) and ?info=0 (no info bar). Without ?title=, a secondary model named by ?model= shows its own name: the GLB's asset.extras.title, else its scene name, else the file name. The page's maker/MPN line only shows beside the page's own title.
  • Widget: component-widgets 1.1.21 passes title (defaulting to heading) and info="off" through, and adom/widgets#8 (merged now) lets ::adom-3d carry title and info.

On the example page (uta-bldc-dyno-showroom, actuator-cell/model/actuator-explorer.glb) the bar now reads "Actuator explorer" instead of the page name.

Colby Knox closed this ·

Log in to reply.