Skip to content

Show contact-us emails as readable text in the communications feed - #3142

Open
maebeale wants to merge 1 commit into
mainfrom
maebeale/screenshot-visual-styling-update
Open

maebeale wants to merge 1 commit into
mainfrom
maebeale/screenshot-visual-styling-update

Conversation

@maebeale

@maebeale maebeale commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 small decorator seam + two mailer text templates

Contact-us emails showed up in the communications feed as a wall of raw HTML; they now read as plain text.

  • Cause — contact-us mailers were HTML-only, so the HTML was saved as the text body too.
  • New sends — added .text.erb parts for both contact-us mailers.
  • Already-saved rows — NotificationDecorator#body_text reads an HTML body as text at display time. No backfill.
  • Feed, record notifications box and person activity timeline use it.

🤖 Generated with Claude Code

@maebeale
maebeale marked this pull request as ready for review December 4, 2026 03:20
Contact-us mailers had no text part, so the whole HTML document was saved
as the plain-text body and the feed printed raw markup. Text templates fix
new sends; the decorator reads already-saved HTML-only bodies as text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/screenshot-visual-styling-update branch from 439d19e to 534a394 Compare December 4, 2026 12:57
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