[bug] Wire chip-click on the project chat page too

↗ view on GitHub · Nick Whitehouse · 2026-05-06 · 4f480f20

UserMessage is rendered from two routes - /assistant via ChatView
and /projects/[id]/assistant/chat/[chatId] directly. The previous
chip-click commit only wired ChatView; in-project chats were the
common case and showed no effect. Both surfaces now pass
onOpenDocument so the attachment chip opens the doc viewer
regardless of route.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Repository nwhitehouse/mike
Author Nick Whitehouse <nick.whitehouse@mccarthyfinch.com>
Authored
Parents e67b072f
Stats 1 file changed , +8
Part of User-message attachment chips clickable to open doc

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-4f480f20.md from inside the repo you want the change in.

⬇ Download capture-commit-4f480f20.md