Skip to content

Add comma-separated emails on bulk-email confirm page; rename to "Send bulk emails"#1915

Merged
maebeale merged 12 commits into
mainfrom
maebeale/bulk-email-list-emails
Jun 25, 2026
Merged

Add comma-separated emails on bulk-email confirm page; rename to "Send bulk emails"#1915
maebeale merged 12 commits into
mainfrom
maebeale/bulk-email-list-emails

Conversation

@maebeale

@maebeale maebeale commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

🤖 PR, suggested 👤 review level: 👀 Skim — view-only: copy/markup, no logic or data changes

  • The confirm page now shows two copy-paste blocks: "Comma-separated names" (unchanged) and a new "Comma-separated emails" so an admin can grab addresses for another tool.
  • Renamed the bulk-actions menu link and the preview/confirm page titles from "Send reminder emails" to "Send bulk emails" — the flow isn't reminder-specific.

🤖 Generated with Claude Code

…bulk emails"

The comma-separated recipient list on the confirm page existed so an admin
could copy addresses into another tool, but it rendered names — useless for
that purpose. Switch it to emails. Also rename the menu link and page titles
from "Send reminder emails" to "Send bulk emails" since the flow is no longer
reminder-specific.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
<h3 class="text-xs font-semibold uppercase tracking-wide text-gray-500 mb-1">Comma-separated</h3>
<p class="text-sm text-gray-700 mb-4 break-words">
<%= @event_registrations.map { |reg| reg.registrant.full_name }.join(", ") %>
<%= @event_registrations.map { |reg| reg.registrant.preferred_email }.join(", ") %>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

🤖 From Claude: Switched this from full_name to preferred_email — the "Comma-separated" block exists for copy-pasting addresses, so names were the wrong value. Reusing the same preferred_email accessor already shown in the "Full list" below.

@maebeale maebeale marked this pull request as ready for review June 25, 2026 15:12
…page

Restore the names list (admins still want it) and add a separate emails list
alongside it, rather than replacing one with the other.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@maebeale maebeale changed the title Show recipient emails on bulk-email confirm page; rename to "Send bulk emails" Add comma-separated emails on bulk-email confirm page; rename to "Send bulk emails" Jun 25, 2026
maebeale and others added 10 commits June 25, 2026 11:15
The page sits on a tinted domain-theme background, which bled through the
inputs. Force bg-white so the editable fields read as editable.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Top-level sections are now Recipients, Email draft, and Preview. Subject and
message become subheads indented under Email draft, with extra space above the
group to separate it from the recipient list.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Header with underline now sits above the white content card, mirroring the
other sections, with extra spacing around the header and card bottom.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The email HTML uses fixed px sizing, so zoom scales fonts and elements
together while still reflowing to the container width.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The earlier spacing/hint classes (mt-*, text-xs) weren't in the compiled
CSS because Tailwind doesn't rescan ERB on its own, so they served stale.
Force a dev build so the utilities actually exist.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@maebeale maebeale merged commit b049108 into main Jun 25, 2026
3 checks passed
@maebeale maebeale deleted the maebeale/bulk-email-list-emails branch June 25, 2026 15:36
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