mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
4bd909f0ca
Iterate on the image attachment rendering based on review feedback: - Reduce thumbnail size to 80x80 (down from 300x300) so attachments read as compact thumbnails like Claude's chat UI - Render attachments above the message text instead of below, and lay multiple attachments out in a horizontal row (flex-row + flex-wrap + justify-end) instead of stacking vertically - Add a muted background so transparent images stay readable - Extract Lightbox + useLightbox into a shared module so the rendered attachment can reuse the same click-to-zoom modal as the queue preview; clicking a thumbnail now opens it in a fullscreen lightbox with a view-transition morph Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>