Skip to content

Admin log: track suggest-button presses, tick-only chip badge#452

Draft
bryceerobertson wants to merge 1 commit into
mainfrom
admin-log-suggest-clicks
Draft

Admin log: track suggest-button presses, tick-only chip badge#452
bryceerobertson wants to merge 1 commit into
mainfrom
admin-log-suggest-clicks

Conversation

@bryceerobertson

Copy link
Copy Markdown
Member
  • When a visitor presses a "Suggest a listing" button in the chatbot, the press is now recorded on the conversation row (keyed <turnIndex>:suggest:<type>, same mechanism as card and link clicks) and the admin log shows a tick badge inside that button, so a reviewer can see the visitor actually opened the form.
  • The greeting-chip badge in the admin log now shows just the tick instead of "✓ pressed" – the hover tooltip still explains what it means.
  • Verified end-to-end on localhost: pressed the button in the live widget, confirmed the press landed on the Airtable row and the tick rendered in the admin viewer (test conversation deleted afterwards).

🤖 Generated with Claude Code

The visitor pressing a "Suggest a listing" button was only logged to the
console webhook — the admin viewer had no way to see it. The press is now
persisted on the conversation row like card and link clicks, keyed
<turnIndex>:suggest:<type>, and the admin renders a tick badge inside the
button. The greeting-chip badge drops the word "pressed" — the tick is
enough.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
ai-safety-com Ready Ready Preview, Comment Jul 13, 2026 11:02pm

Request Review

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