mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-24 16:03:02 +00:00
3902e77991
The trip planner could show one day's route at a time and nothing across days, so a road trip had to be pieced together in Google Maps (#1797, #435). The addon adds a mode to the plan view rather than a tab of its own: the map stays the workspace and gains the route over the whole trip, while the left rail becomes one chain of stops with the driving distance and time between them and arrival times that follow from them. A time pinned on a stop is kept and restarts the chain, so a ferry or a museum ticket stays where the user put it. Car bookings can finally carry the stops the schema has always allowed: the endpoints table has held role/sequence for every transport type since #384, but only flights and trains had an editor for them. The MCP tools already accepted them, so this closes the gap the other way round. Legs are fetched one at a time and spaced out — the public routing hosts answer a whole trip's worth of requests with 429 — and the distance cap now looks at the single leg instead of the sum, which is what dropped long drives entirely.
111 lines
2.5 KiB
TypeScript
111 lines
2.5 KiB
TypeScript
import admin from './admin';
|
|
import airport from './airport';
|
|
import atlas from './atlas';
|
|
import backup from './backup';
|
|
import budget from './budget';
|
|
import categories from './categories';
|
|
import collab from './collab';
|
|
import collection from './collection';
|
|
import common from './common';
|
|
import dashboard from './dashboard';
|
|
import day from './day';
|
|
import dayplan from './dayplan';
|
|
import files from './files';
|
|
import help from './help';
|
|
import inspector from './inspector';
|
|
import journey from './journey';
|
|
import login from './login';
|
|
import map from './map';
|
|
import members from './members';
|
|
import memories from './memories';
|
|
import mobileAdmin from './mobileAdmin';
|
|
import mobileAtlas from './mobileAtlas';
|
|
import mobileCollections from './mobileCollections';
|
|
import mobileJourney from './mobileJourney';
|
|
import mobileNav from './mobileNav';
|
|
import mobileSettings from './mobileSettings';
|
|
import mobileTrip from './mobileTrip';
|
|
import mobileVacay from './mobileVacay';
|
|
import nav from './nav';
|
|
import notif from './notif';
|
|
import notifications from './notifications';
|
|
import oauth from './oauth';
|
|
import packing from './packing';
|
|
import pdf from './pdf';
|
|
import perm from './perm';
|
|
import photos from './photos';
|
|
import places from './places';
|
|
import planner from './planner';
|
|
import register from './register';
|
|
import roadtrip from './roadtrip';
|
|
import reservations from './reservations';
|
|
import settings from './settings';
|
|
import share from './share';
|
|
import shared from './shared';
|
|
import stats from './stats';
|
|
import storage from './storage';
|
|
import system_notice from './system_notice';
|
|
import todo from './todo';
|
|
import transport from './transport';
|
|
import trip from './trip';
|
|
import trips from './trips';
|
|
import undo from './undo';
|
|
import vacay from './vacay';
|
|
|
|
const locale = {
|
|
...common,
|
|
...trips,
|
|
...nav,
|
|
...dashboard,
|
|
...roadtrip,
|
|
...settings,
|
|
...admin,
|
|
...dayplan,
|
|
...share,
|
|
...shared,
|
|
...login,
|
|
...register,
|
|
...vacay,
|
|
...collection,
|
|
...atlas,
|
|
...trip,
|
|
...places,
|
|
...inspector,
|
|
...reservations,
|
|
...airport,
|
|
...map,
|
|
...budget,
|
|
...files,
|
|
...packing,
|
|
...members,
|
|
...categories,
|
|
...backup,
|
|
...photos,
|
|
...pdf,
|
|
...planner,
|
|
...stats,
|
|
...day,
|
|
...collab,
|
|
...memories,
|
|
...perm,
|
|
...undo,
|
|
...notifications,
|
|
...todo,
|
|
...notif,
|
|
...journey,
|
|
...oauth,
|
|
...system_notice,
|
|
...transport,
|
|
...help,
|
|
...mobileTrip,
|
|
...mobileJourney,
|
|
...mobileVacay,
|
|
...mobileAtlas,
|
|
...mobileNav,
|
|
...mobileAdmin,
|
|
...mobileSettings,
|
|
...mobileCollections,
|
|
...storage,
|
|
};
|
|
export default locale;
|