Skip to content

Show sent attachments as cards, like a pasted text card - #157

Merged
jelveh merged 1 commit into
mainfrom
attachment-cards
Nov 5, 2026
Merged

jelveh merged 1 commit into
mainfrom
attachment-cards

Conversation

@jelveh

@jelveh jelveh commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Attachments in a sent message looked mismatched: 50px images in a white frame and a plain "📄 name" line for files, next to the pasted text card.

Now every attachment in a sent or queued message is the same 100px card:

  • Images: cropped to fill the card, same border and shadow as the tray.
  • Files: file icon and name, with the extension (HTML, PDF…) in the badge where a paste shows PASTED.
  • Images that fail to load: a file card with an IMAGE badge instead of the grey placeholder.

Cards sit in one wrapping row with an 8px gap, matching the composer tray. Dark mode is covered.

Images and files in a sent or queued message now use the same 100px card
as a pasted text card. Images are cropped to fill theirs; files show an
icon and their name over their extension (HTML, PDF...) where a paste shows
PASTED. Replaces the tiny 50px images and the emoji file line.
@jelveh
jelveh merged commit 391de71 into main Nov 5, 2026
1 check passed
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