Skip to content

feat(events): manual check-in #244

Closed

Description

@danielhe4rt

Parent

#237

What to build

Implement manual check-in: organizer marks a participant as present via Admin panel. Creates a check-in record and transitions enrollment status.

Action: CheckInAction

  • Accepts: enrollment, method (enum), payload (array), event_date (Carbon date)
  • Validates: enrollment status must be confirmed
  • Validates: event_date is within event's starts_at/ends_at date range
  • Validates: no existing check-in for this enrollment + date combination
  • Creates events_check_ins record (method=manual, payload={actor_user_id: ...}, event_date, checked_in_at=now)
  • If this is the first check-in for this enrollment: transitions status from confirmed → checked_in, sets checked_in_at
  • If enrollment is already checked_in (multi-day, subsequent days): just creates the check-in record, no status transition
  • Records transition in audit trail (triggered_by=admin, actor_user_id=organizer)
  • Dispatches ParticipantCheckedIn implementing ShouldDispatchAfterCommit

Admin panel:

  • "Check In" action on enrollment records (only visible when status=confirmed or checked_in)
  • Date picker defaulting to today (for multi-day events)
  • Bulk action: "Check In Selected" for marking multiple participants at once
  • Check-in history visible per enrollment (dates checked in)

Validation rules:

  • Cannot check in the same enrollment on the same date twice
  • Cannot check in outside event date range
  • Cannot check in enrollment that is not confirmed or checked_in

Acceptance criteria

  • Organizer can mark a participant as checked in from Admin panel
  • Check-in record is created in events_check_ins with method=manual and correct date
  • First check-in transitions enrollment from confirmed → checked_in
  • Subsequent check-ins (multi-day) create records without re-transitioning status
  • Duplicate check-in on same date is rejected
  • Check-in outside event date range is rejected
  • Bulk check-in action works for multiple participants
  • ParticipantCheckedIn domain event is dispatched
  • Transition audit trail records the organizer who performed check-in
  • Feature tests: single check-in, multi-day check-ins, duplicate prevention, date range validation
  • Pint passes

Blocked by

Activity

  1. added
    enhancement
    ready-for-agent
    on May 17, 2026
  2. added
    type:feat
    mod:events
    and removed
    enhancement
    ready-for-agent
    on May 23, 2026
  3. changed the title [-]Events: Check-in Manual[/-] [+]feat(events): manual check-in[/+] on May 23, 2026
  4. added a commit that references this issue on Aug 15, 2026
    bd5cd67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

difficulty:mediummod:eventstype:feat

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions