Skip to content

Fix MAIL-THUMB-BW: Letter thumbnail respects B&W color flag#162

Open
bmoss2015 wants to merge 1 commit into
mainfrom
fix/letter-thumbnail-bw
Open

Fix MAIL-THUMB-BW: Letter thumbnail respects B&W color flag#162
bmoss2015 wants to merge 1 commit into
mainfrom
fix/letter-thumbnail-bw

Conversation

@bmoss2015

Copy link
Copy Markdown
Owner

Summary

  • The Mail Sent thumbnail on the lead detail page rendered in full color even when the letter was sent in black and white.
  • The full Letter Preview modal and the Mail tab inline thumbnail already applied a grayscale filter via job.color; this fix mirrors that on the small thumbnail.
  • LetterThumbnail now accepts an optional color prop and applies filter: grayscale(100%) on both the rendered iframe and the rendered PDF first-page image when color is false. Caller in LeadMailV11Client threads piece.color through.

Test plan

  • Open a lead with a previously sent B&W letter, click into Mail Sent, confirm the small left-rail thumbnail renders grayscale.
  • Open a lead with a color letter, confirm the thumbnail renders in color.
  • Click into the full Letter Preview modal from both — both render correctly (already shipped).

Preview creds: info@mossyland.com / MossEquity-858dc58d33!

The Mail Sent thumbnail on the lead detail page rendered in full color even
when the letter was sent in black and white, contradicting the existing
grayscale treatment in the Letter Preview modal and the Mail tab inline
thumbnail. LetterThumbnail now accepts an optional `color` prop and applies
a grayscale(100%) CSS filter on both the rendered iframe and the rendered
PDF first-page image when color is false. Caller in LeadMailV11Client
threads piece.color through.
@supabase

supabase Bot commented Jun 19, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project rsdmyydyhqgkkvwlklif because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
moss-equity-portal Ready Ready Preview, Comment Jun 19, 2026 5:58pm

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