feat(examples-chat): welcome suggestions — 3 chips + overflow dropdown#383
Merged
Conversation
Reduces the demo's welcome-state visual footprint from 17 stacked chips to 3 curated chips + a "More prompts" dropdown styled like the existing model picker. Pure demo-side composition reusing chat-welcome- suggestion + chat-select primitives; no @ngaf/chat API changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 tasks: split data, build component+spec, migrate embed/popup/sidebar modes, verify+PR. Demo-side only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… dropdown Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
acad99d to
c9d8f2e
Compare
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Same class of drift as PR #377: someone landed a chat-lib public API change on main without regenerating apps/website/content/docs/chat/ api/api-docs.json. Caught here because CI's Verify generated API docs are committed step fails on the stale file. Regenerated via npm run generate-api-docs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
c9d8f2e to
4ea9ef5
Compare
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
Reduces the canonical demo's welcome state from 17 stacked suggestion chips to 3 curated chips + 1 "More prompts" dropdown. Each chip in the trio exercises a distinct capability path: markdown streaming, tool use with citations, GenUI surface render. The dropdown uses the same `chat-select` primitive that backs the model picker pill, so it visually matches.
Why
The previous welcome state occupied ~360px vertical at the bottom of the page and put 17 prompts on equal footing. A first-time visitor at https://demo.cacheplane.ai/embed saw a wall of options instead of a focused experience. Flagged by user on the production demo after the v0.0.35 chrome restoration.
How
Pure demo-side composition. No `@ngaf/chat` API changes, no release needed.
Behavior
Test plan
Out of scope
Spec: `docs/superpowers/specs/2026-05-16-welcome-suggestions-overflow-dropdown-design.md`
Plan: `docs/superpowers/plans/2026-05-16-welcome-suggestions-overflow-dropdown.md`
🤖 Generated with Claude Code