Design note — Connector card affordances, round 4 (card_affordances_r4)

Target registry item: C1d (OB-GAP-9 — R-4 card affordances still open: required/optional marks, "not yet available" for 409s, the AW- inline hint). Status: design note only — NOT built. Measured on 2026-10-12 in miz-oki-command-center-ui/components/connectors/marketing-connectors.tsx: a required field renders a cyan * after its label (lines 526–533, field.required ? <span> *</span>); field.help renders under the input with aria-describedby; the word "optional" appears nowhere in the component (only in placeholders the catalog supplies, e.g. "optional"); an unavailable provider renders a dimmed card with a locked pill reading Wave {entry.wave} (lines 381–397); there is no client handling of a 409 provider_not_available response (grep returns nothing in the UI tree), so a save or test against an unavailable provider would surface as a generic error. This note changes copy and client behaviour only; it collects no new value and arms nothing.

UI contract

One shared component serves /onboarding and the standalone connectors route (.claude/rules/tenant-onboarding.md: never a second connector implementation), so every change below lands once.

U1 — Required / optional marks

U2 — "Not yet available" state

U3 — AW- inline hint (Google Ads customer_id)

U4 — Saved-secret hint

Schema

No catalog shape change. The catalog already serves required, secret, pattern, help, placeholder, available, wave — every affordance above reads an existing key. If any affordance needs a key the catalog does not serve, the fix is a catalog field plus a parity-test row, not a client-side list (rule: "server-owned provider catalog").

Not applicable to data: this note collects nothing new and sends nothing new. The only posture property is that no secret value ever appears in an inline hint, a validation message, a log line or a 409 render — messages quote the field label and the help text, never the typed value.

Failure modes → verdicts (client rendering of server verdicts)

Server verdict Card renders
409 provider_not_available locked "Not yet available" state (U2)
422 invalid_field_format inline help text under the named field (U3)
422 missing_required_fields the named required fields outlined, legend text repeated
422 unknown_fields generic "the form sent a field the server does not know" (a client bug, never shown as the tenant's fault)
503 (vault / store unavailable) "Could not reach the credential store — nothing was saved. Try again." with retryable: true

Component tests in both directions: a required field shows the mark and an optional one shows "(optional)"; a 409 renders locked and a 200 catalog with available: true renders the form; an AW- value shows the hint and a 10-digit value does not.

Flag

None. Copy and client validation arm no behaviour; the server verdicts are unchanged. (If a reviewer wants a kill switch, it is a client build-time constant, default ON for the new copy, and the test asserts the 409 handling cannot be switched off — availability honesty is not optional.)

Owner / operator gates

Vendor references

None — no vendor API is involved. Accessibility reference for non-colour-only required marks (WCAG 1.4.1) — not re-fetched from this sandbox on 2026-10-12.

← All docsView source on GitHub →