Skip to content
Toolkit

ADR-0142 — An embed carries the author's label, not the type's name

Status: Accepted · Date: 2026-08-31 · Supersedes: —

Context

ADR-0141 counted forty-two settings reads no author can write. Twenty-six of them are one read repeated: the card-link family binds settings.name as the label it draws — settings.name || type_name, settings.name || 'View on Instagram', settings.name || 'LinkedIn' — over a field spec that collects a URL or an embed id and nothing else. The first alternative has never been writable, so the label of every Spotify, Twitch, TikTok, Vimeo, Reddit and Bluesky block ever placed is the type's own name. Two Spotify links on one page are two blocks both labelled Spotify.

ADR-0141 called this a product call, because closing it means adding a field rather than dropping a binding. The call is smaller than it looked: the control already exists in this family and ships today. youtube collects fText("name", "Title") beside its location_url; paypal, cta, cashapp and venmo collect the same key as "Button Label"; featured_link and big_link collect it as "Title". Twenty-six siblings were never given it, and the render path was written as though they had been.

Decision

The label an embed draws is the author's, and the type's name is the last resort — not the only one. The twenty-six types gain fText("name", "Title") in their own field spec, the same key their descriptor already reads and the same control seven sibling types already draw.

The field is optional and unseeded, so a block that has one is drawn exactly as it was drawn before: the binding's fallback is untouched, and an empty name still yields type_name. Nothing that renders today changes; what changes is that an author can now say which Spotify link this one is.

Placement follows the spec's own order — after the identifying fields (URL, handle, channel, embed code) and before the appearance fields (border radius, colours, size, theme, columns), which is where youtube and featured_link already put it.

linkedin_profile closes only its name row here. Its headline and image reads are a different question — a profile card the form collects no profile for — and stay in the ledger.

Consequences

The sweep is mostly this. check:settings-reach falls from 34 unreachable reads across 31 types to 8 across 6: the two image_comparison alt texts, cta and featured_link's descriptions, linkedin_profile's headline and image, and cashapp and venmo's currency. What is left is six real questions rather than one omission repeated.

A labelled link is labelled by its author. A future embed type registered server-side declares this field if its descriptor binds the label, and check:settings-reach S1 refuses it if it does not — which is the rule that made the twenty-six visible in the first place.

Source: docs/decisions/0142-an-embed-carries-the-authors-label-not-the-types-name.md

Library