mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-13 07:40:59 +00:00
0dd07befa7
The Plan tab was the last trip tab still in the old design. It now reads like Bookings, Costs, Lists, Files and Collab, without losing a function: - Day plan: each day is a card with a head band (day tile with weather, stay and rental pills, a "+" menu for place, stay, transport, transit and note), rows with "..." menus, white badges and a white route bar. - Places column: add, search and filters in three rows, a show dropdown, category and rating filters, and a selection bar at the foot. - Place inspector, day details and the stay editor on the shared dialog frame; the place form in the editor look with the name in the head band. - Clicking a booking or transport anywhere on the plan opens the booking detail popup first; Edit leads to the editor. The popup is one host shared with the Bookings and Transports tabs. - Files and Collab dialogs, notes, polls, links and chat moved to the same frame; shared DialogShell and dialogParts hold the building blocks. - The map hover card shows the place photo and follows the theme. Every new and reworded string is translated into all locales, and a few older English leftovers (help center, cost split, import hints) with them. Phone screens keep their own look.
16 lines
548 B
TypeScript
16 lines
548 B
TypeScript
import type { RouteVia } from '../../types'
|
|
|
|
export interface MapHoverInfo {
|
|
name?: string | null
|
|
address?: string | null
|
|
category_name?: string | null
|
|
category_icon?: string | null
|
|
category_color?: string | null
|
|
/** Everyone's average, where the surface keeps ratings. On the collections map it
|
|
* is the one thing a round photo cannot tell you: which of these you liked. */
|
|
rating_avg?: number | null
|
|
/** The picture its marker wears, so the hover card can show the same one. */
|
|
photo?: string | null
|
|
routeVia?: RouteVia
|
|
}
|