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
import { defineScreen } from '../defineScreen'
/**
* Help for the Bookings tab of a trip: the places to stay, the tables, the
* tickets and everything else that was booked, the three ways of looking at
* them (cards, a list, a timeline) and the detail a click opens, how one is
* made by hand, read out of the confirmation that arrived or forwarded to the
* trip's own mail address, and how it is tied
* to the plan, to a document and to a cost. Flights, trains and the other ways
* of getting about belong to the Transports tab and never show here.
* A screen under `trip`; the step actions live in `e2e/help/trip-bookings.guide.ts`.
*/
const BOOKINGS = 'Reservations-and-Bookings'
const VIEWS = { slug: BOOKINGS, anchor: 'views' }
const VIEW_OPTIONS = { slug: BOOKINGS, anchor: 'view-options' }
const DETAIL = { slug: BOOKINGS, anchor: 'the-booking-detail' }
const EXPORT = { slug: BOOKINGS, anchor: 'exporting-as-csv' }
const CREATE = { slug: BOOKINGS, anchor: 'creating-a-reservation' }
const SECTIONS = { slug: BOOKINGS, anchor: 'pending-and-confirmed' }
const FILTERS = { slug: BOOKINGS, anchor: 'search-and-filters' }
const CHANGE = { slug: BOOKINGS, anchor: 'editing-and-deleting' }
const IMPORT = { slug: BOOKINGS, anchor: 'import-from-booking-confirmation' }
const MAIL = { slug: 'Booking-Mail-Import', anchor: 'your-address' }
export const { context: tripBookingsContext, guides: tripBookingsGuides } = defineScreen({
id: 'trip-bookings',
parent: 'trip',
route: '/trips/:id?tab=buchungen',
icon: 'ticket',
bullets: 6,
docs: [{ slug: BOOKINGS }, IMPORT, { slug: 'Booking-Mail-Import' }, { slug: 'Accommodations' }],
guides: [
['booking-views', 'layout', 'guide', 6, 3, VIEWS, ['group-sort-bookings', 'filter-bookings', 'edit-booking', 'transports-list']],
['group-sort-bookings', 'sliders', 'quick', 4, 2, VIEW_OPTIONS, ['booking-views', 'filter-bookings', 'export-bookings-csv'], true],
['create-booking', 'plus', 'guide', 6, 4, CREATE, ['booking-hotel', 'link-booking', 'edit-booking', 'add-transport'], true],
['booking-hotel', 'building', 'guide', 5, 3, { slug: 'Accommodations', anchor: 'accommodation-fields-in-the-booking-editor' }, ['create-booking', 'delete-booking', 'add-accommodation'], true],
['link-booking', 'link', 'quick', 4, 2, CREATE, ['create-booking', 'booking-on-map', 'bookings-in-plan', 'day-bookings', 'place-booking']],
['booking-on-map', 'map', 'quick', 2, 2, DETAIL, ['link-booking', 'booking-views', 'transport-on-map'], true],
['booking-travelers', 'users', 'quick', 4, 2, SECTIONS, ['filter-bookings', 'add-member'], true],
['booking-files', 'folder', 'guide', 4, 3, { slug: 'Documents-and-Files', anchor: 'linking-files-to-places-reservations-or-assignments' }, ['create-booking', 'import-booking-file', 'files-link']],
['booking-cost', 'coins', 'guide', 5, 3, { slug: 'Budget-Tracking', anchor: 'expenses-linked-to-a-booking-or-a-place' }, ['create-booking', 'edit-booking', 'expense-from-booking'], true],
['filter-bookings', 'filter', 'quick', 5, 2, FILTERS, ['booking-views', 'booking-travelers', 'export-bookings-csv']],
['export-bookings-csv', 'fileSpreadsheet', 'quick', 3, 3, EXPORT, ['filter-bookings', 'group-sort-bookings']],
['import-booking-file', 'fileInput', 'guide', 5, 4, IMPORT, ['booking-files', 'create-booking', 'import-transport-file', 'forward-booking-mail'], true],
['forward-booking-mail', 'mailCheck', 'guide', 6, 4, MAIL, ['import-booking-file', 'create-booking', 'edit-booking'], true],
['edit-booking', 'pencil', 'quick', 4, 4, CHANGE, ['booking-views', 'create-booking', 'delete-booking']],
['delete-booking', 'trash', 'quick', 3, 2, CHANGE, ['edit-booking', 'booking-hotel']],
],
})