Skip to content

feat(chat): welcome screen primitive (0.0.15)#187

Merged
blove merged 8 commits into
mainfrom
claude/chat-welcome-screen
May 2, 2026
Merged

feat(chat): welcome screen primitive (0.0.15)#187
blove merged 8 commits into
mainfrom
claude/chat-welcome-screen

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 2, 2026

What

Phase 3 of the chat pipeline redesign (spec: docs/superpowers/specs/2026-05-02-chat-pipeline-redesign-design.md).

Adds a dedicated <chat-welcome> primitive that owns the empty-state UX. Replaces the inline placeholder previously embedded in the chat scroll container.

Behavior

  • Renders centered greeting + projected input + optional suggestion rows
  • Visible when agent.messages() is empty AND welcomeDisabled=false AND thread isn't loading
  • Hides smoothly once a turn happens; conversation layout takes over

Differentiators

  • Two-line greeting (h1 + subtitle paragraph)
  • Beacon dot above the title with a 2s pulse animation
  • <chat-welcome-suggestion> helper for vertical action rows
  • 200ms fade-in on mount

API additions

  • New input on <chat>: welcomeDisabled (boolean, default false)
  • New computed: showWelcome (driven by welcomeDisabled + agent.isThreadLoading() + agent.messages().length)
  • New components: ChatWelcomeComponent, ChatWelcomeSuggestionComponent (both exported from public-api)

Versions

  • @ngaf/chat: 0.0.14 → 0.0.15

Testing

  • nx test chat: PASS (full suite)
  • nx build chat: clean
  • 5 new specs:
    • chat-welcome.component (3 tests: default greeting, beacon, slot anchors)
    • chat-welcome-suggestion.component (2 tests: label render, click emit)
    • chat.component (3 new welcome-branch tests: empty / non-empty / disabled)

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

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

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 2, 2026 7:03pm

Request Review

@blove blove merged commit 7d53e4c into main May 2, 2026
14 checks passed
@blove blove deleted the claude/chat-welcome-screen branch May 7, 2026 16:30
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