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(places): fix notes type and display in inspector
jubnlf60e6115775a
diff --git a/client/src/components/Planner/PlaceInspector.tsx b/client/src/components/Planner/PlaceInspector.tsxindex 8f1e8e43c..58ffbf996 100644--- a/client/src/components/Planner/PlaceInspector.tsx+++ b/client/src/components/Planner/PlaceInspector.tsx@@ -341,9 +341,16 @@ export default function PlaceInspector({)}{/* Description / Summary */}- {(place.description || place.notes || googleDetails?.summary) && (+ {(place.description || googleDetails?.summary) && (<div className="collab-note-md" style={{ background: 'var(--bg-hover)', borderRadius: 10, overflow: 'hidden', fontSize: 12, color: 'var(--text-muted)', lineHeight: '1.5', padding: '8px 12px' }}>- <Markdown remarkPlugins={[remarkGfm]}>{place.description || place.notes || googleDetails?.summary || ''}</Markdown>+ <Markdown remarkPlugins={[remarkGfm]}>{place.description || googleDetails?.summary || ''}</Markdown>+ </div>+ )}++ {/* Notes */}+ {place.notes && (+ <div className="collab-note-md" style={{ background: 'var(--bg-hover)', borderRadius: 10, overflow: 'hidden', fontSize: 12, color: 'var(--text-muted)', lineHeight: '1.5', padding: '8px 12px' }}>+ <Markdown remarkPlugins={[remarkGfm]}>{place.notes}</Markdown></div>)}diff --git a/client/src/types.ts b/client/src/types.tsindex bcaa82e67..2cf23741b 100644--- a/client/src/types.ts+++ b/client/src/types.ts@@ -43,18 +43,24 @@ export interface Place {trip_id: numbername: stringdescription: string | null+ notes: string | nulllat: number | nulllng: number | nulladdress: string | nullcategory_id: number | nullicon: string | nullprice: string | null+ currency: string | nullimage_url: string | nullgoogle_place_id: string | nullosm_id: string | nullroute_geometry: string | nullplace_time: string | nullend_time: string | null+ duration_minutes: number | null+ transport_mode: string | null+ website: string | null+ phone: string | nullcreated_at: string}