Skip to content

Use short_description in confirmation email; stop the rich-description fallback#2013

Draft
maebeale wants to merge 3 commits into
mainfrom
maebeale/registration-confirmation-email
Draft

Use short_description in confirmation email; stop the rich-description fallback#2013
maebeale wants to merge 3 commits into
mainfrom
maebeale/registration-confirmation-email

Conversation

@maebeale

@maebeale maebeale commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 small mailer + decorator change, contained behavior swap

Follow-up to #2012, which removed the rich rhino_description dump from the confirmation email's HTML part but left it in the text part.

Why

  • The text part still ran rhino_description.to_plain_text, which flattens embedded images to [filename.jpg] alt text and reproduces the whole event body.
  • The email (and calendar entry) should carry a short admin-authored blurb, not a copy of the rich show-page description.

What

  • Remove the leftover rich-description dump from the email's text part.
  • Render the plain-text short_description in both email parts instead — no fallback to the rich description; blank → omitted.
  • Calendar links (EventDecorator#calendar_links) likewise stop falling back to rhino_description when short_description is blank; the entry just carries no blurb.
  • Update the event form hint to note short_description feeds both calendar links and confirmation emails.

Reuses the existing short_description column (added in #1876) — no schema change.

…n leak

#2012 removed the rich rhino_description dump from the HTML part of the
registration confirmation email but left it in the text part, where it
still flattened embedded images to "[filename.jpg]" alt text and
reproduced the whole event body. Remove that leak, and render the
admin-authored plain-text short_description (already used for calendar
invites) in both parts instead — a short blurb that can't carry images,
with no fallback to the rich description. Update the form hint to note
the field now feeds confirmation emails too.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 19:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 19:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

short_description now solely drives the calendar-entry blurb; when it's
blank the entry carries no description rather than a flattened version of
the rich show-page body (which can't render in a calendar and may embed
images). Aligns calendar behavior with the confirmation email and drops
the now-inaccurate fallback note from the form hint.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 20:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@maebeale maebeale changed the title Use short_description in registration confirmation email Use short_description in confirmation email; stop the rich-description fallback Jul 22, 2026
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.

2 participants