Skip to content

feat: Allow pausing and resuming active campaigns #664

Description

@sahare77

Description
Once a campaign is launched, there is no UI to pause it. If a user realizes there's a typo, they cannot stop the remaining emails from going out.

Steps to Reproduce

  1. Launch a campaign.
  2. Go to the Campaigns dashboard.
  3. Try to find a Pause button.

Expected Behavior
Add a "Pause" button next to active campaigns. This should update the campaign status to PAUSED. The Celery beat scheduler should check this status before processing the next batch.

Implementation Hints

# backend/campaigns/models.py
# Ensure Celery checks campaign status
active_campaigns = Campaign.objects.filter(status='ACTIVE')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions