Skip to content

feat(emails): tell admins what to do when an email doesn't arrive - #1533

Open
masiarek wants to merge 1 commit into
Equal-Vote:mainfrom
masiarek:feat/1270-email-debug-note
Open

masiarek wants to merge 1 commit into
Equal-Vote:mainfrom
masiarek:feat/1270-email-debug-note

Conversation

@masiarek

Copy link
Copy Markdown
Collaborator

Description

Closes #1270 — a line above the Send button giving admins the first two steps when voters report a missing email, at the moment they are about to send.

Uses the copy from the issue verbatim:

Not seeing emails in your inbox? First make sure to check spam. If that doesn't work, please use the feedback widget in the corner and a team member will work with you promptly.

It lives in en.yaml as emails.delivery_note rather than hardcoded in the component, so it is translatable and editable by a writer without touching code.

Not done here

The issue also floats expanding this into a helper that explains the individual email error messages from #713, linked from this note. That needs those messages catalogued first and is a bigger change than a line above a button — worth its own issue if you want it.

Note on overlap

Touches SendEmailDialog.tsx, as does #1287 (the stale recipient count). The hunks are far apart — that one is in getVoterCount and the button's disabled, this one adds a Typography above the button row — so they should merge cleanly in either order. Happy to rebase whichever lands second.

Related Issues

Closes #1270

Equal-Vote#1270 asks for a line above the Send button giving admins the first two
steps when voters report missing emails, so the answer is on screen at the
moment they need it rather than in a support thread.

Uses the copy from the issue verbatim, in en.yaml as emails.delivery_note
rather than hardcoded in the component.

Not done here: the issue also floats expanding this into a helper that
explains the individual email error messages from Equal-Vote#713 and linking to it.
That needs those messages catalogued first, and is a bigger change than a
note above a button.
@coderabbitai

coderabbitai Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@masiarek, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 78af49e4-6e4b-46a9-b9d6-56383845f343

📥 Commits

Reviewing files that changed from the base of the PR and between 7bc75a8 and 60414cf.

📒 Files selected for processing (2)
  • packages/frontend/src/components/Election/Admin/SendEmailDialog.tsx
  • packages/frontend/src/i18n/en.yaml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@netlify

netlify Bot commented Aug 15, 2026

Copy link
Copy Markdown

Deploy Preview for bettervoting ready!

Name Link
🔨 Latest commit 60414cf
🔍 Latest deploy log https://app.netlify.com/projects/bettervoting/deploys/6a80abeb3ff7430008c825eb
😎 Deploy Preview https://deploy-preview-1533--bettervoting.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Add instructions for debugging email issues

1 participant