rspace-online/modules/rsocials/components
Jeff Emmett 5c32119946 feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state
Per-post "Schedule to Postiz" button on Post nodes (rSpace → Postiz), a 60s
server sweep that auto-pushes Scheduled posts within a 10min lead window,
and a Postiz → rSpace reconcile poll that flips postizStatus to
'published' (or 'failed') and records publishedAt + releaseURL.

- schemas: PostNodeData gains postizPostId, postizIntegrationId,
  postizStatus, postizError, postizSentAt, postizCheckedAt,
  postizReleaseURL, publishedAt.
- postiz-client: listPosts(startDate, endDate) for reconciliation.
- mod.ts: sendCampaignNodeToPostiz() helper, POST /api/campaign/flows/
  :flowId/nodes/:nodeId/send-postiz, postizSweep() + postizReconcile()
  wired into onInit via startPostizScheduler.
- folk-campaign-planner: button + status badge in Post inspector,
  timeline/table dot colors reflect postizStatus (queued=purple,
  published=green, failed=red). Timeline bucket stays by scheduledAt.
- campaign-planner.css: postiz state pill styles.
- Bump campaign-planner JS/CSS to ?v=2 to bust CF cache.

Mock-Postiz smoke against the client lib passes 20/20 assertions.
Live Postiz round-trip pending deploy to Netcup.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 10:28:26 -04:00
..
campaign-planner.css feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state 2026-04-17 10:28:26 -04:00
campaign-wizard.css fix(ui): theme-adaptive rSocials buttons + device link textbox 2026-03-25 11:39:14 -07:00
campaign-workflow.css fix(layout): viewport-filling rApp layout — eliminate body scroll 2026-03-31 10:57:09 -07:00
folk-campaign-manager.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
folk-campaign-planner.ts feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state 2026-04-17 10:28:26 -04:00
folk-campaign-wizard.ts feat(rsocials): campaign planner polish 2026-04-16 16:13:20 -04:00
folk-campaign-workflow.ts feat(rsocials): connect drafted threads to campaign flows via picker dropdowns 2026-03-21 14:13:31 -07:00
folk-campaigns-dashboard.ts feat(rsocials): campaign planner polish 2026-04-16 16:13:20 -04:00
folk-newsletter-manager.ts fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
folk-thread-builder.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
folk-thread-gallery.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
newsletter.css fix(rsocials): replace hardcoded dark-mode colors with CSS variables for light/dark theme support 2026-03-21 13:18:13 -07:00
socials.css fix(rsocials): replace hardcoded dark-mode colors with CSS variables for light/dark theme support 2026-03-21 13:18:13 -07:00