feat: show attachment preview thumbnail in document bubble #6

Merged
terry merged 1 commits from terry-staging into main 2026-05-29 04:46:21 +00:00
Owner

Render an attachment preview inside the 52x52 box of the file/document bubble.

  • Use thumbnailUrl / posterUrl, and the image url itself for image-type attachments, falling back to the file-type icon when no preview is available.
  • Also tune the deep-link scroll-mt offset (82px / 98px) so a targeted bubble lands just below the sticky header.
Render an attachment preview inside the 52x52 box of the file/document bubble. - Use `thumbnailUrl` / `posterUrl`, and the image url itself for image-type attachments, falling back to the file-type icon when no preview is available. - Also tune the deep-link scroll-mt offset (82px / 98px) so a targeted bubble lands just below the sticky header.
terry added 1 commit 2026-05-29 04:43:45 +00:00
Use thumbnailUrl/posterUrl (and the image url itself for image-type
attachments) inside the 52x52 box of the file/document bubble, falling
back to the file-type icon when no preview is available.

Also tune the deep-link scroll-mt offset (82px / 98px) so a targeted
bubble lands just below the sticky header.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
terry merged commit bcd7395e77 into main 2026-05-29 04:46:21 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: terry/Arkie-Library-Frontend#6