Added support for publication icon in the welcome emails renderer#27268
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (2)
WalkthroughThe pull request makes member welcome emails aware of a publication icon. The renderer computes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
ref https://linear.app/ghost/issue/NY-1214/ - welcome emails already persisted the publication icon setting in the shared email design data - wiring the renderer to pass icon state and icon URL lets welcome emails match newsletter header behavior - focused renderer tests cover enabled, disabled, and missing-icon cases so the shared wrapper contract stays protected
1b35519 to
17d5dbc
Compare
closes https://linear.app/ghost/issue/NY-1215/add-publication-icon-to-the-customization-modal Adds a publication icon toggle to the welcome email customize modal when a site icon is configured, and updates the preview and save payload to match. Also fixes the related acceptance test to mock the missing paid welcome email row that gets created during save.
|


closes https://linear.app/ghost/issue/NY-1214/
This wires up the welcome email renderer to conditionally include the site's publication icon in the header. If the publication icon exists, and the
show_header_iconemail design setting is enabled, it will render the publication icon in the welcome emails.This only updates the renderer; a forthcoming PR will add the toggle to the customize modal.
If you'd rather listen to this PR:
PR.27268.mp4