这是indexloc提供的服务,不要输入任何密码
Skip to content

Report bookings #22696

@linear

Description

@linear

Feature available on all plans


Who can report a booking?

  • Any user can report any booking shown to them in the /bookings list
  • Includes upcoming, past, and cancelled bookings

UI (/bookings)

  • Upcoming & Past Bookings
    • Add Report to the dropdown menu

      Screenshot 2025-07-23 at 1.29.29 PM.png
  • Cancelled Bookings
    • Show Report next to Video Options

      Screenshot 2025-07-23 at 1.41.00 PM.png
  • A booking that was already reported should have a ‘Reported’ badge and can’t be reported again

Report Dialog

  • Title: Report Booking
  • Subtitle: Report and cancel suspicious bookings
  • Dialog Body:
    • Reason (Dropdown - required)
      • Spam
      • Don’t know this person
      • Other
    • Additional comments (Textarea - optional)
    • Checkbox: Cancel booking (optional - shown only for upcoming bookings)
    • Info text in gray: Attendee will not be notified that this booking was reported
  • Buttons:
    • Cancel (closes dialog)
    • 'Report' or 'Report and Cancel' (based on checkbox state)

Behavior

  • Reporting creates a new record in the DB (BookingReport)
  • If “Cancel booking” is selected, call existing handleCancelBooking flow

Suggested DB Models (non-final):

model BookingReport { 
  id           uuid
  booking      Booking
  reportedBy   User 
  reason       ReportReason   
  description  String  
  cancelled    Boolean 
  createdAt    DateTime @default(now()) 
}

enum ReportReason

Metadata

Metadata

Assignees

No one assigned

    Labels

    bookingsarea: bookings, availability, timezones, double bookingconsumeruiarea: UI, frontend, button, form, input✨ featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions