fix(roadtrip): the rail passes the strict and lint gates, and its tests describe the new markup

The day head falls back to metric when no distance unit is set, VISIT_BOX is no longer exported, the day head is split into smaller parts and the booking icon is created once. The component tests now check the pill badges, the day tile and the ride cards instead of the old boxes, and both baselines are lowered to the new counts.
This commit is contained in:
Maurice
2026-10-11 14:01:18 +02:00
parent e8fd41b9b4
commit 32606d20a6
13 changed files with 458 additions and 267 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"src": {
"@typescript-eslint/no-non-null-assertion": 407,
"@typescript-eslint/no-misused-promises": 877,
"@typescript-eslint/no-misused-promises": 876,
"no-console": 88,
"complexity": 231,
"@typescript-eslint/no-explicit-any": 154,
+1 -1
View File
@@ -72,7 +72,7 @@
"src/components/Roadtrip/RoadtripCorridorPanel.tsx": 4,
"src/components/Roadtrip/RoadtripSidebarBadges.tsx": 4,
"src/components/Roadtrip/RoadtripSidebarDriveBands.tsx": 2,
"src/components/Roadtrip/RoadtripSidebarHeaders.tsx": 2,
"src/components/Roadtrip/RoadtripSidebarHeaders.tsx": 1,
"src/components/Roadtrip/RoadtripSidebarRefuelBand.tsx": 5,
"src/components/Roadtrip/RoadtripTrackModal.tsx": 4,
"src/components/Roadtrip/ServiceStopSection.tsx": 2,