rubyforgood / rubyforgood/human-essentials

Add preview of dynamic template emails

Open
#5,662 0 comments 0 reactions 1 assignee View on GitHub

@caseyvaughn is already working on this.

Since Aug 29, 2026.

Difficulty—Intermediate Ruby for Good 2026 DC
Dominant language
Ruby
Stars
593
Forks
593
Avg merge
4d 22h
Merged PRs (30d)
41

Description

Summary

Allow Bank Organizations to preview their email templates

Background references, notes

We send a variety of emails, including some that can be customized and ones that can be enable/disabled. For the customizable emails (Reminder email and Distribution email) we should let the user preview what it'll look like.

  • In the My Organization -> Edit screen
  • Add a button/link for each of the types of email
  • Expand inline with a preview. Fill in mock data all rendered template values
  • Fill in a fixed value for each of the template fields (not specific to the Bank Organization)
  • Show the whole email, which is both the overall email and the customizable sections

Criteria for completion / testing needs

  • For the reminder and distribution emails, add a "preview" button that fills in template values with examples (not from their Org)
  • Add a request or system spec to verify the behavior

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.