Skip to content

Updated gift expiry reminder email subject#27972

Merged
sagzy merged 1 commit into
mainfrom
gift-subscription/update-reminder-subject
May 19, 2026
Merged

Updated gift expiry reminder email subject#27972
sagzy merged 1 commit into
mainfrom
gift-subscription/update-reminder-subject

Conversation

@sagzy
Copy link
Copy Markdown
Contributor

@sagzy sagzy commented May 19, 2026

closes https://linear.app/ghost/issue/BER-3668

Updated the gift subscription reminder email subject to be static (“Your gift subscription is ending soon”), so that publishers don't receive emails with different subjects for different members

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 19, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3b39a23b-fe6d-471f-968d-2c038981211b

📥 Commits

Reviewing files that changed from the base of the PR and between 11908ae and a4e9ce3.

📒 Files selected for processing (66)
  • ghost/core/core/server/services/gifts/gift-email-service.ts
  • ghost/core/test/integration/services/members/send-gift-reminders.test.js
  • ghost/core/test/unit/server/services/gifts/gift-email-service.test.js
  • ghost/i18n/locales/af/ghost.json
  • ghost/i18n/locales/ar/ghost.json
  • ghost/i18n/locales/bg/ghost.json
  • ghost/i18n/locales/bn/ghost.json
  • ghost/i18n/locales/bs/ghost.json
  • ghost/i18n/locales/ca/ghost.json
  • ghost/i18n/locales/context.json
  • ghost/i18n/locales/cs/ghost.json
  • ghost/i18n/locales/da/ghost.json
  • ghost/i18n/locales/de-CH/ghost.json
  • ghost/i18n/locales/de/ghost.json
  • ghost/i18n/locales/el/ghost.json
  • ghost/i18n/locales/en/ghost.json
  • ghost/i18n/locales/eo/ghost.json
  • ghost/i18n/locales/es/ghost.json
  • ghost/i18n/locales/et/ghost.json
  • ghost/i18n/locales/eu/ghost.json
  • ghost/i18n/locales/fa/ghost.json
  • ghost/i18n/locales/fi/ghost.json
  • ghost/i18n/locales/fr/ghost.json
  • ghost/i18n/locales/gd/ghost.json
  • ghost/i18n/locales/he/ghost.json
  • ghost/i18n/locales/hi/ghost.json
  • ghost/i18n/locales/hr/ghost.json
  • ghost/i18n/locales/hu/ghost.json
  • ghost/i18n/locales/id/ghost.json
  • ghost/i18n/locales/is/ghost.json
  • ghost/i18n/locales/it/ghost.json
  • ghost/i18n/locales/ja/ghost.json
  • ghost/i18n/locales/ko/ghost.json
  • ghost/i18n/locales/kz/ghost.json
  • ghost/i18n/locales/lt/ghost.json
  • ghost/i18n/locales/lv/ghost.json
  • ghost/i18n/locales/mk/ghost.json
  • ghost/i18n/locales/mn/ghost.json
  • ghost/i18n/locales/ms/ghost.json
  • ghost/i18n/locales/nb/ghost.json
  • ghost/i18n/locales/ne/ghost.json
  • ghost/i18n/locales/nl/ghost.json
  • ghost/i18n/locales/nn/ghost.json
  • ghost/i18n/locales/pa/ghost.json
  • ghost/i18n/locales/pl/ghost.json
  • ghost/i18n/locales/pt-BR/ghost.json
  • ghost/i18n/locales/pt/ghost.json
  • ghost/i18n/locales/ro/ghost.json
  • ghost/i18n/locales/ru/ghost.json
  • ghost/i18n/locales/si/ghost.json
  • ghost/i18n/locales/sk/ghost.json
  • ghost/i18n/locales/sl/ghost.json
  • ghost/i18n/locales/sq/ghost.json
  • ghost/i18n/locales/sr-Cyrl/ghost.json
  • ghost/i18n/locales/sr/ghost.json
  • ghost/i18n/locales/sv/ghost.json
  • ghost/i18n/locales/sw/ghost.json
  • ghost/i18n/locales/ta/ghost.json
  • ghost/i18n/locales/th/ghost.json
  • ghost/i18n/locales/tr/ghost.json
  • ghost/i18n/locales/uk/ghost.json
  • ghost/i18n/locales/ur/ghost.json
  • ghost/i18n/locales/uz/ghost.json
  • ghost/i18n/locales/vi/ghost.json
  • ghost/i18n/locales/zh-Hant/ghost.json
  • ghost/i18n/locales/zh/ghost.json
💤 Files with no reviewable changes (62)
  • ghost/i18n/locales/ar/ghost.json
  • ghost/i18n/locales/hi/ghost.json
  • ghost/i18n/locales/en/ghost.json
  • ghost/i18n/locales/ro/ghost.json
  • ghost/i18n/locales/fa/ghost.json
  • ghost/i18n/locales/gd/ghost.json
  • ghost/i18n/locales/hu/ghost.json
  • ghost/i18n/locales/bn/ghost.json
  • ghost/i18n/locales/lt/ghost.json
  • ghost/i18n/locales/eu/ghost.json
  • ghost/i18n/locales/pt-BR/ghost.json
  • ghost/i18n/locales/it/ghost.json
  • ghost/i18n/locales/bg/ghost.json
  • ghost/i18n/locales/es/ghost.json
  • ghost/i18n/locales/lv/ghost.json
  • ghost/i18n/locales/nl/ghost.json
  • ghost/i18n/locales/sv/ghost.json
  • ghost/i18n/locales/pl/ghost.json
  • ghost/i18n/locales/el/ghost.json
  • ghost/i18n/locales/pa/ghost.json
  • ghost/i18n/locales/zh/ghost.json
  • ghost/i18n/locales/de-CH/ghost.json
  • ghost/i18n/locales/is/ghost.json
  • ghost/i18n/locales/ja/ghost.json
  • ghost/i18n/locales/ta/ghost.json
  • ghost/i18n/locales/af/ghost.json
  • ghost/i18n/locales/hr/ghost.json
  • ghost/i18n/locales/sr/ghost.json
  • ghost/i18n/locales/tr/ghost.json
  • ghost/i18n/locales/da/ghost.json
  • ghost/i18n/locales/he/ghost.json
  • ghost/i18n/locales/fr/ghost.json
  • ghost/i18n/locales/sr-Cyrl/ghost.json
  • ghost/i18n/locales/bs/ghost.json
  • ghost/i18n/locales/ko/ghost.json
  • ghost/i18n/locales/eo/ghost.json
  • ghost/i18n/locales/ur/ghost.json
  • ghost/i18n/locales/de/ghost.json
  • ghost/i18n/locales/si/ghost.json
  • ghost/i18n/locales/nb/ghost.json
  • ghost/i18n/locales/pt/ghost.json
  • ghost/i18n/locales/sq/ghost.json
  • ghost/i18n/locales/ru/ghost.json
  • ghost/i18n/locales/kz/ghost.json
  • ghost/i18n/locales/mn/ghost.json
  • ghost/i18n/locales/th/ghost.json
  • ghost/i18n/locales/id/ghost.json
  • ghost/i18n/locales/uz/ghost.json
  • ghost/i18n/locales/uk/ghost.json
  • ghost/i18n/locales/cs/ghost.json
  • ghost/i18n/locales/vi/ghost.json
  • ghost/i18n/locales/sk/ghost.json
  • ghost/i18n/locales/fi/ghost.json
  • ghost/i18n/locales/et/ghost.json
  • ghost/i18n/locales/sw/ghost.json
  • ghost/i18n/locales/ms/ghost.json
  • ghost/i18n/locales/mk/ghost.json
  • ghost/i18n/locales/ne/ghost.json
  • ghost/i18n/locales/nn/ghost.json
  • ghost/i18n/locales/ca/ghost.json
  • ghost/i18n/locales/zh-Hant/ghost.json
  • ghost/i18n/locales/sl/ghost.json
🚧 Files skipped from review as they are similar to previous changes (3)
  • ghost/core/core/server/services/gifts/gift-email-service.ts
  • ghost/i18n/locales/context.json
  • ghost/core/test/unit/server/services/gifts/gift-email-service.test.js

Walkthrough

The PR removes the dynamic days-until-expiry calculation from GiftEmailService and changes the reminder email subject to a fixed localized "Your gift subscription is ending soon". Unit and integration tests are updated to expect the new subject (the unit test fake-timer setup was removed). The old {days}-parameterized i18n key is deleted or replaced across the locale files and the i18n context metadata is updated.

Possibly related PRs

Suggested reviewers

  • kevinansfield
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: updating the gift subscription reminder email subject from a dynamic to a static value.
Description check ✅ Passed The description clearly explains the purpose and intent: making the reminder subject static to prevent varying subjects for different members.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch gift-subscription/update-reminder-subject

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 and usage tips.

@sagzy sagzy enabled auto-merge (squash) May 19, 2026 16:49
@sagzy sagzy force-pushed the gift-subscription/update-reminder-subject branch from 11908ae to a4e9ce3 Compare May 19, 2026 17:03
@sagzy sagzy merged commit 8d5c96e into main May 19, 2026
110 of 127 checks passed
@sagzy sagzy deleted the gift-subscription/update-reminder-subject branch May 19, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant