mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-12 23:31:02 +00:00
c204a25a9c
The app shows the touch shell at every size now, an iPad's and an unfolded foldable's included, instead of switching to the desktop pages from 768px. One route tree survives rotation, Split View, Stage Manager and folding, and the app's own features (Wallet, sharing into a trip, the edge swipe back) are there on the big screen too. Two size classes drive the layout (hooks/sizeClass.ts, Tailwind variants wide: and split:): - wide (600pt and taller than a phone on its side): a glass navigation rail on the leading edge replaces the dock and holds every destination with its name; sheets become centred form sheets; the trip's More menu is a popover beside the rail; lists keep a readable measure; dashboard, journey and vacay get columns; full-bleed maps run under the floating rail. - split (900pt): the trip's plan, places or road trip chain sit in a pane beside the map, which follows the plan's day; the list/map switch hides and shows the pane like a sidebar; on a foldable that reports its fold the pane ends at the fold. Settings show their sections beside the page and the dashboard keeps its widgets in a column of their own. A hardware keyboard gets the shortcuts an iPad app has (⌘1 to ⌘9 for the sections, ⌘N, ⌘, , ⌥←/⌥→ through the days, ⌃⌘S for the pane, ⌘[ back), answered by the page or, with a binary that has the keyCommands feature, handed to it as native key commands. The day strip fades at an edge that runs on, journey cards grow on a wide window and a card without a photo takes the day's colour, and the Leaflet map measures itself again when its box changes size.
28 lines
1.2 KiB
JSON
28 lines
1.2 KiB
JSON
{
|
|
"e2e/help/fixtures.ts": 2291,
|
|
"src/api/client.ts": 1873,
|
|
"src/components/Admin/AdminPluginsPanel.test.tsx": 2704,
|
|
"src/components/Admin/AdminPluginsPanel.tsx": 1266,
|
|
"src/components/Budget/CostsPanel.test.tsx": 2730,
|
|
"src/components/Budget/CostsPanel.tsx": 1798,
|
|
"src/components/Map/MapView.tsx": 1202,
|
|
"src/components/Map/MapViewGL.test.tsx": 2919,
|
|
"src/components/Map/MapViewGL.tsx": 2127,
|
|
"src/components/Planner/DayDetailPanel.test.tsx": 2333,
|
|
"src/components/Planner/DayPlanSidebar.test.tsx": 5349,
|
|
"src/components/Planner/DayPlanSidebar.tsx": 2929,
|
|
"src/components/Planner/PlaceFormModal.test.tsx": 2836,
|
|
"src/components/Planner/PlaceInspector.tsx": 1287,
|
|
"src/components/Studio/TravelElements.tsx": 1559,
|
|
"src/components/Studio/countryShapes.ts": 2595,
|
|
"src/index.css": 1636,
|
|
"src/mobile/screens/admin/MAdminPluginsPanel.tsx": 1506,
|
|
"src/pages/JourneyDetailPage.test.tsx": 4028,
|
|
"src/pages/LoginPage.tsx": 1347,
|
|
"src/pages/TripPlannerPage.tsx": 1128,
|
|
"src/pages/atlas/useAtlas.ts": 1210,
|
|
"src/pages/tripPlanner/useTripPlanner.roadtrip.test.tsx": 3518,
|
|
"src/pages/tripPlanner/useTripPlanner.test.tsx": 3270,
|
|
"src/styles/studio.css": 1918
|
|
}
|