Skip to content

Per-post syndication toggles

jedmund requested to merge feature/syndication-switches into feature/og-image

Created by: jedmund

Summary

  • Add syndicateBluesky and syndicateMastodon boolean fields to Post model (default true)
  • POST/PUT/PATCH API endpoints accept the new fields
  • Syndication engine filters platforms based on per-post toggle values
  • Checkbox toggles in post editor metadata form with full state and dirty tracking

Test plan

  • Run migration (prisma db push or apply migration SQL)
  • Create a post → uncheck Bluesky → publish → verify only Mastodon syndication fires
  • Edit existing post → verify toggles load correctly from saved values
  • Verify defaults: new posts have both toggles checked

Merge request reports

Loading