Spaces:
Sleeping
Sleeping
Commit History
-
Fix booking price mismatch: carry selected price through to payment
Round-trip same-airline discount and fare tier multiplier were lost between flight selection and the booking/payment pages. Now the computed price (with discounts) is passed from ResultsPage through BookingOptionsPage to the backend booking API. Also includes multi-city support, search form improvements, and rebuilt frontend dist. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>587a735
-
Add Google Flights-style step-based round-trip booking flow
Replace outbound/return toggle with a two-step selection flow: users first pick a departing flight (showing "from $X round trip" preview prices), then see return flights priced as round-trip totals with same-airline discounts applied per-selection rather than blanket. Backend: move same-airline discount (0.92x) from server-side blanket application to client-side per-selection; return discount rate in API. Frontend: add step breadcrumb, SelectedFlightBanner, pricing utilities, and round-trip-aware sorting. One-way searches unaffected. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c090f53 -
Add flight booking website (Google Flights clone)
Full-stack flight search app for computer-use agent testing: - Backend: FastAPI with deterministic pricing engine, route finder (direct + 1-stop + 2-stop via hub detection), timezone-aware flight generation, airport autocomplete, calendar pricing - Frontend: React + TypeScript + Tailwind CSS with search form, autocomplete, results page, filters, sorting, URL-driven state - Docker: Multi-stage build (Node frontend → Python backend) - Data: 3,770 airports, 55,627 routes, 604 airlines from airline_routes.json loaded in-memory (~21 MB) - All elements have data-testid attributes for agent testing - Same search params always produce same results (SHA-256 seeded) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>2e50ccd