Skip to content

feat(chat): quick-action buttons in empty chat state (#363)#551

Merged
vybe merged 1 commit into
devfrom
feature/363-chat-empty-quick-actions
Apr 28, 2026
Merged

feat(chat): quick-action buttons in empty chat state (#363)#551
vybe merged 1 commit into
devfrom
feature/363-chat-empty-quick-actions

Conversation

@dolho

@dolho dolho commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Closes #363.

Summary

  • New ChatEmptyState.vue shared component renders up to 6 playbook buttons (or 4 fallback prompts when the agent has no playbooks).
  • Wired into ChatPanel (authed agent chat) via the <ChatMessages> #empty slot.
  • Wired into PublicChat above the input, gated on userMessageCount === 0 so the buttons coexist with the assistant intro message and disappear after the first user submit.
  • Click behaviour:
    • Playbook without argument_hint → sends /<name> immediately (low friction — that's the point of a slash command).
    • Playbook with argument_hint → populates input so the user can fill the argument.
    • Fallback prompts → populate input.

Why

Paradigm Life client feedback: "Blank canvas after intro — no guidance." High activation energy for new/occasional users. Buttons surface 4-6 concrete things the agent can do.

Test plan

  • Authed agent with playbooks (e.g. blank-agent injected with 4 test skills) → buttons render with playbook descriptions.
  • Authed agent with zero playbooks (e.g. trinity-system) → 4 fallback prompts render.
  • Click playbook without argument_hint → message sent immediately.
  • Click playbook with argument_hint → input is populated, input area is focused, message is not sent.
  • Click fallback prompt → input is populated, message not sent.
  • Public link with intro → intro renders, quick-action buttons remain visible until first user message.
  • After first user message, buttons disappear.
  • Build is green (vite build, verified locally).

🤖 Generated with Claude Code

Replaces the blank "Start a Conversation" placeholder with up to 6
playbook buttons (or 4 fallback prompts when the agent has none).
Cuts activation energy for new users — Paradigm Life client feedback.

Click behavior:
- Playbook without `argument_hint` → sends `/<name>` immediately.
- Playbook with `argument_hint` → populates input so the user can fill the arg.
- Fallback prompts → populate input.

PublicChat renders the buttons above the input gated on
`userMessageCount === 0` so they coexist with the assistant intro
message and disappear after the first user submit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dolho
dolho force-pushed the feature/363-chat-empty-quick-actions branch from 6829d84 to 312981b Compare April 28, 2026 10:12
@dolho

dolho commented Apr 28, 2026

Copy link
Copy Markdown
Contributor Author
Screenshot from 2026-04-28 13-05-46

@dolho
dolho requested a review from vybe April 28, 2026 10:16
@vybe
vybe merged commit 8e3dd16 into dev Apr 28, 2026
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.

2 participants