feat(examples-chat): A2UI Pass 1 — full-catalog surface coverage#232
Merged
Conversation
…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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Image+Tabs+Row+Icon+List+ButtonDateTimeInput+Divider+Row+Card+TextField+ModalRemaining 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:
Test plan
🤖 Generated with Claude Code