docs(help): the trip screens' guides for the new layout, with new pictures

The guides of the map, bookings, costs, files, collab, lists, road trip and
transports now describe the desktop as it is after the redesign: the bars
with their icon buttons and filter popovers, the dialogs with the title in
the head band and status and type as pills, the three booking views and
the booking detail, the compact note cards, the Costs table. Two guides
are new: the booking views (cards, list, timeline, the Trip and Day zoom
and the detail) and the Costs table view. Every changed text is translated
into every locale, and the Plan tab texts call the bookings tab by the
label it shows, Book.

Every picture of the thirteen trip screens is taken again against the new
layout, on one picture day. Scripts follow the new markup; the Dawarich
fixture uploads its recording again when the stored one belongs to another
run, and the spare poll gets its vote from a member so its winner shows
green.

server-launch.mjs skips the server build with E2E_SERVER_PREBUILT, so
several recordings on their own port pairs can share one dist.
This commit is contained in:
Maurice
2026-09-28 12:19:30 +02:00
parent c88f9a4a23
commit 146fe4a063
575 changed files with 11635 additions and 9131 deletions
+11 -7
View File
@@ -2,16 +2,19 @@ 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, what a card says about one, how
* one is made by hand or read out of the confirmation that arrived, 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.
* 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 or read out of the confirmation that arrived, 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 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' }
@@ -23,15 +26,16 @@ export const { context: tripBookingsContext, guides: tripBookingsGuides } = defi
bullets: 6,
docs: [{ slug: BOOKINGS }, IMPORT, { slug: 'Accommodations' }],
guides: [
['booking-views', 'layout', 'guide', 6, 3, VIEWS, ['filter-bookings', 'edit-booking', 'transports-list']],
['create-booking', 'plus', 'guide', 6, 3, CREATE, ['booking-hotel', 'link-booking', 'edit-booking', 'add-transport'], true],
['booking-hotel', 'building', 'guide', 5, 3, { slug: 'Accommodations', anchor: 'creating-an-accommodation' }, ['create-booking', 'delete-booking', 'add-accommodation'], 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', 'bookings-in-plan', 'day-bookings', 'place-booking']],
['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, SECTIONS, ['booking-travelers', 'edit-booking']],
['filter-bookings', 'filter', 'quick', 5, 2, FILTERS, ['booking-views', 'booking-travelers', 'edit-booking']],
['import-booking-file', 'fileInput', 'guide', 5, 3, IMPORT, ['booking-files', 'create-booking', 'import-transport-file'], true],
['edit-booking', 'pencil', 'quick', 4, 3, CHANGE, ['create-booking', 'delete-booking']],
['edit-booking', 'pencil', 'quick', 4, 3, CHANGE, ['booking-views', 'create-booking', 'delete-booking']],
['delete-booking', 'trash', 'quick', 3, 2, CHANGE, ['edit-booking', 'booking-hotel']],
],
})
+3 -2
View File
@@ -17,16 +17,17 @@ export const { context: tripCostsContext, guides: tripCostsGuides } = defineScre
parent: 'trip',
route: '/trips/:id?tab=finanzplan',
icon: 'wallet',
bullets: 6,
bullets: 7,
docs: [{ slug: COSTS }, { slug: CURRENCIES }],
guides: [
['add-expense', 'plus', 'guide', 6, 3, ITEMS, ['split-expense', 'expense-payers', 'expense-currency'], true],
['expense-payers', 'userRound', 'guide', 4, 3, { slug: COSTS, anchor: 'who-paid' }, ['add-expense', 'settle-up']],
['split-expense', 'users', 'guide', 5, 3, { slug: COSTS, anchor: 'splitting-costs' }, ['add-expense', 'expense-payers'], true],
['expense-currency', 'coins', 'guide', 5, 3, { slug: CURRENCIES, anchor: 'expense-currency' }, ['add-expense', 'edit-trip', 'language-region'], true],
['filter-costs', 'filter', 'quick', 5, 2, ITEMS, ['add-expense', 'final-budget'], true],
['filter-costs', 'filter', 'quick', 5, 3, ITEMS, ['add-expense', 'final-budget', 'costs-table'], true],
['settle-up', 'checkCircle', 'tour', 6, 3, SETTLEMENT, ['final-budget', 'expense-payers'], true],
['final-budget', 'chart', 'guide', 4, 2, SETTLEMENT, ['settle-up', 'add-expense']],
['expense-from-booking', 'link', 'quick', 4, 2, { slug: COSTS, anchor: 'expenses-linked-to-a-booking-or-a-place' }, ['add-expense', 'bookings-in-plan', 'create-booking'], true],
['costs-table', 'calculator', 'guide', 6, 3, { slug: COSTS, anchor: 'table-view' }, ['add-expense', 'filter-costs', 'final-budget'], true],
],
})
+1 -1
View File
@@ -21,7 +21,7 @@ export const { context: tripRoadtripContext, guides: tripRoadtripGuides } = defi
docs: [{ slug: RT }, { slug: RT, anchor: 'what-needs-a-connection' }],
guides: [
['roadtrip-mode', 'route', 'guide', 5, 3, { slug: RT, anchor: 'switching-to-road-trip' }, ['read-day-plan', 'roadtrip-limits'], true],
['roadtrip-stops', 'mapPin', 'guide', 6, 3, { slug: RT, anchor: 'stops-on-the-way' }, ['roadtrip-corridor', 'set-stop-times'], true],
['roadtrip-stops', 'mapPin', 'guide', 6, 4, { slug: RT, anchor: 'stops-on-the-way' }, ['roadtrip-corridor', 'set-stop-times'], true],
['roadtrip-corridor', 'search', 'guide', 5, 3, { slug: RT, anchor: 'search-along-the-route' }, ['roadtrip-stops', 'roadtrip-refuel'], true],
['roadtrip-via', 'map', 'guide', 5, 3, { slug: RT, anchor: 'via-points' }, ['roadtrip-alternatives', 'roadtrip-track']],
['roadtrip-alternatives', 'repeat', 'quick', 4, 2, { slug: RT, anchor: 'other-ways-and-avoidance' }, ['roadtrip-via', 'roadtrip-limits']],
+2 -2
View File
@@ -22,13 +22,13 @@ export const { context: tripTransportsContext, guides: tripTransportsGuides } =
bullets: 6,
docs: [{ slug: TRANSPORT }, OVERLAY],
guides: [
['transports-list', 'eye', 'guide', 5, 2, { slug: TRANSPORT, anchor: 'where-to-create' }, ['edit-transport', 'bookings-in-plan', 'filter-bookings', 'import-transport-file', 'airtrail-import']],
['transports-list', 'eye', 'guide', 5, 2, { slug: TRANSPORT, anchor: 'the-transports-tab' }, ['edit-transport', 'booking-views', 'filter-bookings', 'bookings-in-plan', 'import-transport-file', 'airtrail-import']],
['add-transport', 'plus', 'guide', 6, 3, { slug: TRANSPORT, anchor: 'common-fields' }, ['plan-transit', 'edit-transport', 'transports-list'], true],
['import-transport-file', 'fileInput', 'guide', 5, 2, IMPORT, ['add-transport', 'import-booking-file', 'transports-list'], true],
['plan-transit', 'train', 'guide', 6, 3, { slug: TRANSPORT, anchor: 'public-transit-search' }, ['change-transit-route', 'leg-travel-mode', 'add-transport'], true],
['change-transit-route', 'repeat', 'quick', 4, 2, { slug: TRANSPORT, anchor: 'public-transit-search' }, ['plan-transit', 'edit-transport']],
['leg-travel-mode', 'route', 'quick', 4, 3, { slug: MAP, anchor: 'travel-times-between-stops' }, ['plan-transit', 'day-route', 'read-day-plan']],
['edit-transport', 'pencil', 'quick', 4, 2, { slug: TRANSPORT, anchor: 'in-the-day-plan' }, ['add-transport', 'transports-list', 'bookings-in-plan']],
['edit-transport', 'pencil', 'quick', 4, 2, { slug: TRANSPORT, anchor: 'opening-a-transport' }, ['add-transport', 'transports-list', 'bookings-in-plan']],
['transport-on-map', 'map', 'guide', 5, 3, OVERLAY, ['transports-list', 'day-route'], true],
// Last: the guide connects an AirTrail in its start and takes the connection
// away in its cleanup, so the hero and the guides before it keep a toolbar