[openstreetmap/openstreetmap-website] Add mailer previews for all UserMailer notifications (PR #6483)

Andy Allan notifications at github.com
Wed Oct 29 11:58:41 UTC 2025


This continues the work from #6449 by creating previews for all the other notifications. This makes them easier to develop.

As an example, I'd never noticed how much of a mouthful the changeset comment notification can be!

> "__User 30__ left a comment at 2025-10-29 11:55:02 UTC on a changeset you are watching created by User 29 without comment"

<img width="932" height="540" alt="image" src="https://github.com/user-attachments/assets/8ec99da2-da56-4615-bd21-46d821fad8bb" />

Maybe someone can refactor that one! :smile:

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6483

-- Commit Summary --

  * Add previews for account management emails
  * Add gpx notification previews
  * Add previews for remaining notifications

-- File Changes --

    M test/mailers/previews/user_mailer_preview.rb (60)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6483.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6483.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6483
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6483 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251029/3793b9f5/attachment.htm>


More information about the rails-dev mailing list