Skip to content

feat(examples-chat): A2UI Pass 1 — full-catalog surface coverage#232

Merged
blove merged 1 commit into
mainfrom
claude/a2ui-pass1-surface-coverage
May 10, 2026
Merged

feat(examples-chat): A2UI Pass 1 — full-catalog surface coverage#232
blove merged 1 commit into
mainfrom
claude/a2ui-pass1-surface-coverage

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 10, 2026

Summary

First pass of the A2UI theming track: ensure all 18 catalog components are reliably exercised by the demo's welcome suggestions before we audit the theming token surface (Pass 2).

Audit: The existing 4 GenUI suggestions ("feedback form", "settings card", "poll", "contact form") only reliably render 8 of 18 catalog components (Card, Column, Text, TextField, MultipleChoice, CheckBox, Slider, Button). The other 10 — Row, List, Tabs, Modal, Divider, DateTimeInput, Icon, Image, Video, AudioPlayer — never see daylight.

Fix: Add 2 new welcome suggestions designed to elicit surfaces that collectively render 8 of the 10 gap components:

  • "Demo: render a media-rich product card" — Image + Tabs + Row + Icon + List + Button
  • "Demo: render a booking surface with modal" — DateTimeInput + Divider + Row + Card + TextField + Modal

Remaining gaps (Video, AudioPlayer) are deferred to a future media-focused demo suggestion when needed.

CHECKLIST update: new "A2UI catalog coverage" sub-section under Generative UI / A2UI surfaces mapping each demo prompt to its expected catalog components, so smoke runs can systematically verify rendering across the full 18-component set.

Why this matters

This sets up the visual baseline for the rest of the theming track:

  • Pass 2 — audit theming knobs (color tokens, typography scale, density, spacing scale, shape radius, focus ring, motion) against the fully-exercised catalog. Ship an expanded `--a2ui-` (or M3 `--mat-sys-`) token surface that all 18 components consume.
  • Pass 3 — ship a Material preset as a token-value CSS file (no `@angular/material` runtime dep).

Test plan

  • `nx run examples-chat-angular:build` — succeeds
  • After merge: live smoke against the workspace demo confirming the 2 new suggestions reliably elicit surfaces containing the listed catalog components

🤖 Generated with Claude Code

…alog

Audit found that the existing 4 GenUI welcome suggestions only reliably
exercise 8 of the 18 catalog components (Card, Column, Text, TextField,
MultipleChoice, CheckBox, Slider, Button). The other 10 (Row, List,
Tabs, Modal, Divider, DateTimeInput, Icon, Image, Video, AudioPlayer)
never see daylight.

Adds two welcome suggestions designed to elicit LLM-generated surfaces
that collectively render 8 of the 10 gap components:

  - "Demo: render a media-rich product card" — Image + Tabs + Row +
    Icon + List + Button
  - "Demo: render a booking surface with modal" — DateTimeInput +
    Divider + Row + Card + TextField + Modal

Remaining gaps (Video, AudioPlayer) are deferred — they're media-heavy
and best exercised by a future media-focused suggestion when needed.

Updates CHECKLIST.md with an "A2UI catalog coverage" sub-section under
Generative UI / A2UI surfaces, mapping each demo prompt to the
components it exercises so smoke runs can systematically verify
catalog rendering across the full 18-component set.

Sets up the visual baseline for the upcoming theming track:
- Pass 2 (token contract expansion) audits theming knobs against the
  fully-exercised catalog
- Pass 3 (Material preset) ships token-value CSS files with no new
  runtime deps

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 10, 2026 5:21am

Request Review

@blove blove merged commit a752386 into main May 10, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant