Problem 1 - Pill invisible due to missing Tailwind shades:
tailwind.config.js only defined primary-50/100/500/600/700/900.
The pill used border-primary-300 and hover:border-primary-500 which are
defined, but border-primary-200 was missing (used on container). Adding
primary-200 (#bfdbfe), primary-300 (#93c5fd), primary-400 (#60a5fa).
Problem 2 - Pill hidden on mobile (Results panel):
After itinerary loads, mobilePanel switches to 'results', so ChatPanel
(and anything inside it) is display:none. Pill was rendered inside
ChatPanel's scroll area so mobile users on the Results panel never saw it.
Fix: Lifted the pill OUT of ChatPanel entirely and into App.tsx:
- Desktop: sticky bar at the bottom of the chat column (below ChatPanel,
above nothing — always visible in the left panel)
- Mobile: persistent strip above the bottom nav bar, rendered OUTSIDE
the chat/results panel switching logic so it is visible on EVERY panel
ChatPanel no longer owns the pill; onNew…
fix: block 'Who are you?' type questions; make plan-new-trip pill always visible
HolidayPilot
cac0ae1
Off-topic guard (App.tsx):
- Add NON_DESTINATION_WORDS set (question words, modal verbs, pronouns, common
English words like Who/What/How/Tell/Can/Are/I/You etc.)
- Capital-letter heuristic now only triggers on words NOT in NON_DESTINATION_WORDS
so 'Who are you?', 'Tell me a joke', 'Can you help me?', 'What is 2+2' are all
correctly blocked; proper nouns like 'Tokyo', 'Paris', 'Bordeaux' still pass
- 40/40 test cases pass
Plan-a-new-trip pill (ChatPanel.tsx):
- Move pill out of the scrollable messages area into a sticky bar between the
message list and the text input — it is now always visible when hasItinerary=true
regardless of scroll position or mobile/desktop layout
- Removed loading gate so it persists even while the user waits for a response
fix: 'test' blocked, plan-new-trip pill visible, Taiwan stays in Taiwan
HolidayPilot
aef6f8f
Off-topic guard (App.tsx):
- Add 200+ KNOWN_DESTINATIONS set so lowercase names like 'taiwan', 'bali',
'london' pass through without needing a capital letter
- Replace blanket <=4 words bypass with: check destinations list + capital-letter
heuristic; only passes if at least one word is a known destination or proper noun
- Fix CONVERSATIONAL_RE: removed '[a-z]+\s+\d+' (was matching 'testing 123');
added 'next/this month/week/year/summer/...' and 'in <month>' patterns
- Fix cook regex: 'cooking|baked?' -> 'cook(ing|ed)?' to also catch 'cook pasta'
- 29/29 test cases pass
Plan-a-new-trip button (ChatPanel.tsx):
- Move prominent pill INSIDE the message scroll area so it is visible immediately
after the itinerary loads, without requiring the user to find the form footer
- Add flex-shrink-0 to form to prevent layout compression on small screens
Taiwan boundary fix (cities.py):
- Use Overpass area() filter keyed on OSM relation/way ID instead of raw bbox
-- the bbox for Taiwan inc…
feat: off-topic guard, new trip button
HolidayPilot
bd28a3d
App.tsx:
- Add isOffTopic() with TRAVEL_RE allowlist + OFF_TOPIC_RE blocklist; travel keywords always pass through, clearly unrelated topics (cooking, crypto, programming, sports, etc.) are answered locally with a polite redirect, no API call made
- Add handleNewTrip() that resets all state (messages, tripId, itinerary, budget, steps) back to initial
- Header shows 'New Trip' button next to 'Export PDF' when itinerary is active
ChatPanel.tsx:
- Accept onNewTrip and hasItinerary props
- Render '✦ Plan a new trip' pill button above the input bar when an itinerary is active
Add calendar date picker for travel date selection
Heng
3ce8bd4
HolidayPilot: multi-agent holiday planner with real live APIs
Heng
dd75a48
- 10 specialized agents: planner, flights, hotels, activities, food, weather, route, budget, calendar, monitoring
- Real APIs: Nominatim (geocoding), Open-Meteo (weather), Overpass/OSM (POIs, restaurants, hotels), OSRM (routing)
- Flight estimation with 75+ real airports and Google Flights booking links
- React + Vite + TypeScript + Tailwind CSS frontend
- FastAPI + Pydantic v2 backend
- Docker deployment (HuggingFace Spaces compatible)
- 18/18 tests passing with live API data