The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
Merge pull request #716 from mauriceboe/dev
Julien G.8e04deb0f504
diff --cc client/src/pages/TripPlannerPage.tsxindex 685092a01,abecfdc50..27aa49667--- a/client/src/pages/TripPlannerPage.tsx+++ b/client/src/pages/TripPlannerPage.tsx@@@ -233,10 -233,19 +233,20 @@@ export default function TripPlannerPageconst [showReservationModal, setShowReservationModal] = useState<boolean>(false)const [editingReservation, setEditingReservation] = useState<Reservation | null>(null)const [fitKey, setFitKey] = useState<number>(0)+ const initialFitTripId = useRef<number | null>(null)const [mobileSidebarOpen, setMobileSidebarOpen] = useState<'left' | 'right' | null>(null)const [deletePlaceId, setDeletePlaceId] = useState<number | null>(null)+ const [deletePlaceIds, setDeletePlaceIds] = useState<number[] | null>(null)+ useEffect(() => {+ if (!trip) return+ if (initialFitTripId.current === trip.id) return+ const hasGeoPlaces = places.some(p => p.lat != null && p.lng != null)+ if (!hasGeoPlaces) return+ initialFitTripId.current = trip.id+ setFitKey(k => k + 1)+ }, [trip, places])+const connectionsStorageKey = tripId ? `trek:visible-connections:${tripId}` : nullconst [visibleConnections, setVisibleConnections] = useState<number[]>(() => {if (typeof window === 'undefined' || !connectionsStorageKey) return []