Submit a merge request that closes this issue to earn points on merge — bounties stack on the standard +40 merge_pr award. New to the repo? See the Contributing guide, and Local Development & SSO to run the app locally (cp .dev.vars.example .dev.vars && pnpm dev, after rebasing on main) and fully test your change before opening the MR.

Description

Context

Authors should be able to draft an article and schedule it to publish at a specific time (newsletter cadence, embargoed announcements, weekend publishing).

Acceptance criteria

  • [ ] Article form has scheduled_for (ISO datetime) field, optional
  • [ ] scheduled_for in the future + status='approved' → article hidden from feed until that time
  • [ ] Cron (every 5 min) flips eligible scheduled articles to status='published'
  • [ ] API endpoint /api/articles?include_scheduled=1 (admin only) to preview pipeline
  • [ ] Email author when their scheduled article goes live

Technical hints

  • Add scheduled_for TEXT column to articles D1 table via new migration
  • Cron in wrangler.toml — every 5 min: "*/5 * * * *"
  • Use the field-notes existing review-status state machine

--- *Submit a merge request that says Closes #<this issue iid> in the description. On merge to main, the GitLab webhook will auto-award your bounty + the standard merge_pr (40 pts) to your scoreboard account. Email on commit must match your Authentik email.*

Relevant files

No relevant files linked yet.

Hints

No hints yet.

Activity

No points have been awarded for this bounty yet.

Comments

No comments yet. Be the first to weigh in.

↑ Top