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
fix(planner): offer trip places in manual transport
hiro-nikaitoucc5957dc6a7d
diff --git a/client/src/components/Planner/LocationSelect.tsx b/client/src/components/Planner/LocationSelect.tsxindex ae7fbc1b4..c0985b26c 100644--- a/client/src/components/Planner/LocationSelect.tsx+++ b/client/src/components/Planner/LocationSelect.tsx@@ -16,9 +16,10 @@ interface Props {onChange: (loc: LocationPoint | null) => voidplaceholder?: stringstyle?: React.CSSProperties+ places?: { name: string; lat: number; lng: number }[]}-export default function LocationSelect({ value, onChange, placeholder, style }: Props) {+export default function LocationSelect({ value, onChange, placeholder, style, places }: Props) {const { t, locale } = useTranslation()// Ohne Reisekontext ist der Hinweis leer, und die Suche laeuft wie bisher.const { point: locationBias } = useLocationBias()@@ -46,7 +47,7 @@ export default function LocationSelect({ value, onChange, placeholder, style }:if (debounceRef.current) clearTimeout(debounceRef.current)const trimmed = query.trim()if (trimmed.length < 3 || (value && trimmed === value.name)) {- setResults([])+ setResults(trimmed.length < 3 && places ? places : [])return}debounceRef.current = setTimeout(async () => {diff --git a/client/src/components/Planner/TransportModal.tsx b/client/src/components/Planner/TransportModal.tsxindex 270e07aa9..d29934a10 100644--- a/client/src/components/Planner/TransportModal.tsx+++ b/client/src/components/Planner/TransportModal.tsx@@ -1009,11 +1009,11 @@ export function TransportModal({ isOpen, onClose, onSave, reservation, days, sel<div className="grid grid-cols-1 sm:grid-cols-2 gap-3"><div><label className={labelClass}>{t('reservations.meta.from')}</label>- <LocationSelect value={fromPick.location || null} onChange={l => setFromPick({ location: l || undefined })} />+ <LocationSelect value={fromPick.location || null} onChange={l => setFromPick({ location: l || undefined })} places={places} /></div><div><label className={labelClass}>{t('reservations.meta.to')}</label>- <LocationSelect value={toPick.location || null} onChange={l => setToPick({ location: l || undefined })} />+ <LocationSelect value={toPick.location || null} onChange={l => setToPick({ location: l || undefined })} places={places} /></div></div>