Skip to content

[P1] Delete events with confirmation #9

Closed

Description

@KalebCole

Priority: P1 (High)

Delete events with safety confirmation.

Requirements

  • MUST prompt for confirmation before deleting
  • Show event details (title, date, guest count) before confirming
  • --force flag to skip confirmation for scripting

Proposed UX

$ partiful delete abc123

⚠️  About to delete event:
    Title: Game Night
    Date: Apr 15, 2026 7:00 PM
    Guests: 12 going, 3 maybe

Are you sure? This cannot be undone. [y/N]: y
✓ Event deleted
# Skip confirmation (for scripts)
partiful delete abc123 --force

Implementation

  1. First call getEvent to fetch details
  2. Display event info to user
  3. Prompt for confirmation (unless --force)
  4. Call delete endpoint

API Discovery

Need to find the delete endpoint - tried /deleteEvent but got 404.
May need to intercept from browser when deleting via UI.

Acceptance Criteria

  • Shows event details before deletion
  • Requires explicit confirmation
  • --force bypasses confirmation
  • Clear success/error messages

Activity

  1. changed the title [-]Delete partiful events[/-] [+][P1] Delete events with confirmation[/+] on Mar 8, 2026
  2. KalebCole commented on Mar 8, 2026

    @KalebCole
    OwnerAuthor

    Completed: partiful cancel <id> with confirmation prompt. Use -f/--force to skip. Note: Partiful calls this cancel, not delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions