-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Open
Labels
bookingsarea: bookings, availability, timezones, double bookingarea: bookings, availability, timezones, double bookingconsumeruiarea: UI, frontend, button, form, inputarea: UI, frontend, button, form, input✨ featureNew feature or requestNew feature or request
Description
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
- Cancelled Bookings
- 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
- Reason (Dropdown - required)
- 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
Labels
bookingsarea: bookings, availability, timezones, double bookingarea: bookings, availability, timezones, double bookingconsumeruiarea: UI, frontend, button, form, inputarea: UI, frontend, button, form, input✨ featureNew feature or requestNew feature or request