Social composer: send now and rename messy account names #6

Merged
westfarn merged 2 commits from feat/5-social-composer-send-now into main 2026-08-24 09:47:58 -07:00
Owner

Summary

Closes #5.

  • Composer can Send now without a schedule time (Schedule and Save draft still available)
  • Account names wrap and show the platform id so a bad OAuth label is still readable
  • Social accounts page can rename the display name; re-auth keeps a custom name instead of overwriting it with a placeholder
  • Worker polls dispatch_due every 15s so scheduled campaigns and social posts fire without a manual command; local docker compose up now starts the worker

Test plan

  • Open Social → Compose: confirm Send now, Schedule, and Save draft buttons (no combined Save / publish)
  • Send now with a connected account and caption → post queues immediately, no datetime required
  • Schedule with a datetime → post is scheduled; Schedule with a blank time → validation error
  • Composer account list shows full name plus external id, wrapping if the name is long
  • Social accounts → rename a messy label → new name shows in composer without reconnecting
  • Re-authorize an account that was renamed → custom name is kept
  • Rebuild and start compose (docker compose up --build) so the worker service is running
  • Schedule a social post ~2 minutes ahead → after due time, worker logs Enqueued N due item(s). and the post leaves Scheduled (published or failed)
  • docker compose logs -f worker shows Polling due scheduled work every 15s.
## Summary Closes #5. - Composer can **Send now** without a schedule time (Schedule and Save draft still available) - Account names wrap and show the platform id so a bad OAuth label is still readable - Social accounts page can rename the display name; re-auth keeps a custom name instead of overwriting it with a placeholder - Worker polls `dispatch_due` every 15s so scheduled campaigns and social posts fire without a manual command; local `docker compose up` now starts the worker ## Test plan - [ ] Open Social → Compose: confirm **Send now**, **Schedule**, and **Save draft** buttons (no combined Save / publish) - [ ] Send now with a connected account and caption → post queues immediately, no datetime required - [ ] Schedule with a datetime → post is scheduled; Schedule with a blank time → validation error - [ ] Composer account list shows full name plus external id, wrapping if the name is long - [ ] Social accounts → rename a messy label → new name shows in composer without reconnecting - [ ] Re-authorize an account that was renamed → custom name is kept - [ ] Rebuild and start compose (`docker compose up --build`) so the **worker** service is running - [ ] Schedule a social post ~2 minutes ahead → after due time, worker logs `Enqueued N due item(s).` and the post leaves Scheduled (published or failed) - [ ] `docker compose logs -f worker` shows `Polling due scheduled work every 15s.`
westfarn added 1 commit 2026-08-24 07:43:21 -07:00
Closes #5.

Co-authored-by: Cursor <cursoragent@cursor.com>
westfarn added 1 commit 2026-08-24 08:04:40 -07:00
Poll dispatch_due in the worker so scheduled posts fire.
CI / test (pull_request) Successful in 16s
e79577811e
Co-authored-by: Cursor <cursoragent@cursor.com>
westfarn merged commit e8611ef926 into main 2026-08-24 09:47:58 -07:00
westfarn deleted branch feat/5-social-composer-send-now 2026-08-24 09:47:58 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/monica_site#6