Newsletter: every part editable and movable (v1.11.2-newsletter) #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "newsletter-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Built on
audit-ui(PR #23, itself on #22): merge #22 and #23 first and this one shows only its own commits.A newsletter draft is one ordered list of parts, edited with the content block editor, so every part can be moved, copied, inserted or removed, and each is aligned left or center:
A new draft starts with the parts the email always had. Post as blog post and plain text follow the same parts.
Data
Migration 060 rebuilds
newslettersastitle+layout(JSON array, CHECKed) and drops 057's intro, footer, picks and the drafts' content blocks. 057 never ran on a live database, so no drafts are lost. Back up the database before deploying as usual.Checked
pnpm exec tscpasses; the HTML and text output checked by script (defaults, no band or lines, centering, divider limits, a non-hex color refused); migration 060, the boot schema sync and saving a draft checked against an in-memory database. Not checked in a browser or Mailchimp yet (list in TODO.md).🤖 Generated with Claude Code
- Social bar: a colored band of the site's platform icons, linked; no links added shows the footer's (src/data/socialLinks.ts, shared) - Icons are white and ink PNGs in public/email/, made from PlatformIcon.tsx by scripts/email-icons.mjs (no SVG in Gmail/Outlook) - Event countdown: a picture drawn by /api/countdown/<id>.png when the email is opened (days, hours, minutes to local midnight in America/Chicago; then happening now; then over), with a fixed line under it as of copying - The builder takes the whole window (useWideAdminPage('full')) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>