refactor(planner): the day header's stay order lives in its own module and its tests in their own file

The day badge fix grew DayPlanSidebar.tsx and its test past their size
baselines. The check-out, through, check-in order of the header's stays is
now dayHeadStays() with a test of its own, and the day header tests sit in
DayPlanSidebar.dayHead.test.tsx; both files drop below their old entries.
This commit is contained in:
Maurice
2026-10-10 22:18:36 +02:00
parent 10ffc24395
commit cc94bc6953
6 changed files with 267 additions and 51 deletions
+2 -2
View File
@@ -11,8 +11,8 @@
"src/components/Map/RouteCalculator.ts": 1195,
"src/components/PDF/TripPDF.tsx": 1097,
"src/components/Planner/DayDetailPanel.test.tsx": 2333,
"src/components/Planner/DayPlanSidebar.test.tsx": 5403,
"src/components/Planner/DayPlanSidebar.tsx": 3060,
"src/components/Planner/DayPlanSidebar.test.tsx": 5381,
"src/components/Planner/DayPlanSidebar.tsx": 3052,
"src/components/Planner/PlaceFormModal.test.tsx": 2864,
"src/components/Planner/PlaceFormModal.tsx": 1250,
"src/components/Planner/PlaceInspector.tsx": 1308,