-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Description
TODO
Booking UI Components:
-
/components/booking/booking-list.tsx- List all trip bookings -
/components/booking/booking-card.tsx- Generic booking card -
/components/booking/flight-booking-card.tsx- Flight-specific display -
/components/booking/hotel-booking-card.tsx- Hotel-specific display -
/components/booking/ticket-booking-card.tsx- Attraction ticket display -
/components/booking/add-booking-dialog.tsx- Multi-step booking form -
/components/booking/booking-documents.tsx- Document upload/display
Booking Types to Support:
- Flights - Segments, PNR, passengers, seat assignments
- Hotels - Check-in/out, room details, amenities
- Tickets - Attractions, time slots, QR codes
- Tours - Guided tours, operator info
- Transport - Trains, buses, car rentals
- Restaurants - Reservations
Features:
- Add booking manually with type-specific forms
- Upload confirmation documents (PDF, images)
- Link bookings to trip items
- Update booking status (pending → confirmed → completed)
- Payment tracking (unpaid, deposit, paid, refunded)
- Calendar integration (export to .ics)
Advanced (Future):
- Email parsing for auto-import
- Screen capture booking import
- Integration with booking providers (Google Flights, TripIt)
- Price alerts and tracking
API Integration:
- Uses existing
/api/trips/[id]/bookingsendpoints - Document upload to Vercel Blob or S3
References:
- FUNCTIONALITY_SPEC.md section 2 for booking model
- All booking type schemas in types/trip.ts
Metadata
Metadata
Assignees
Labels
No labels