diff --git a/client/src/components/Planner/DayPlanPlaceSubline.tsx b/client/src/components/Planner/DayPlanPlaceSubline.tsx index 8d40d4cb1..3db2833d8 100644 --- a/client/src/components/Planner/DayPlanPlaceSubline.tsx +++ b/client/src/components/Planner/DayPlanPlaceSubline.tsx @@ -7,9 +7,9 @@ import type { Category, Place } from '../../types'; import { formatTime } from '../../utils/formatters'; import { fs } from '../shared/DialogShell'; import { TourDayRowPills } from '../Tours/TourDayRowFacts'; -import { WalkProgressPill } from '../Tours/walk/WalkStations'; import { movingTimeLabel } from '../Tours/tourFacts'; import { formatPlannedTourDuration, type TourPlannedTimes } from '../Tours/tourPresentation'; +import { WalkProgressPill } from '../Tours/walk/WalkStations'; import { TimePill } from './planParts'; type DayRowTourTimes = TourPlannedTimes & { tour?: TourListItem }; @@ -93,7 +93,14 @@ function SublineDescription({ text, isTourPlace }: { text: string; isTourPlace: // Second line of a place row in the day plan: time, tour facts or planned // tour durations, then the clamped description. -export function DayPlanPlaceSubline({ place, cat, tourTimes, isTourPlace, timeFormat, assignmentId }: DayPlanPlaceSublineProps) { +export function DayPlanPlaceSubline({ + place, + cat, + tourTimes, + isTourPlace, + timeFormat, + assignmentId, +}: DayPlanPlaceSublineProps) { const { locale } = useTranslation(); const dayRowTour = tourTimes?.tour; const description = place.description || place.address || cat?.name; diff --git a/client/src/components/Tours/planner/TourEditorFields.tsx b/client/src/components/Tours/planner/TourEditorFields.tsx index b34c7e122..54b3f65a9 100644 --- a/client/src/components/Tours/planner/TourEditorFields.tsx +++ b/client/src/components/Tours/planner/TourEditorFields.tsx @@ -79,6 +79,7 @@ export function TourNameField({ planner, locked }: TourFieldProps) { hike: t('tours.planner.namePlaceholder'), bike: t('tours.planner.namePlaceholder.bike'), kayak: t('tours.planner.namePlaceholder.kayak'), + walk: t('tours.planner.namePlaceholder.walk'), }[planner.tourType] } className={INPUT} diff --git a/client/src/components/Tours/planner/TourWaypointList.tsx b/client/src/components/Tours/planner/TourWaypointList.tsx index 10112b543..3310d2e6d 100644 --- a/client/src/components/Tours/planner/TourWaypointList.tsx +++ b/client/src/components/Tours/planner/TourWaypointList.tsx @@ -17,8 +17,8 @@ import { Navigation, RefreshCw, Repeat, - SquarePen, Spline, + SquarePen, Trash2, Unlink, Waves, @@ -47,10 +47,10 @@ import { usePaddleRegionLoad } from '../paddle/usePaddleRegionLoad'; import { usePaddleWaypointActions } from '../paddle/usePaddleWaypointActions'; import { usePortageRouting, usePortageWay } from '../paddle/usePortageRouting'; import { RailCard } from '../tourParts'; -import { StationDialog } from './StationDialog'; -import { StationPills } from './stationParts'; import { paddlePlanPoints, paddleRolesById } from './paddlePlanOf'; import type { PaddleLegFailure } from './paddleRouting'; +import { StationDialog } from './StationDialog'; +import { StationPills } from './stationParts'; import { lineLengthM } from './tourFixedLegs'; import { TripPlacePicker } from './TripPlacePicker'; import type { TourPlannerController } from './useTourPlanner'; diff --git a/client/src/components/Tours/planner/tourPlannerWaypoints.ts b/client/src/components/Tours/planner/tourPlannerWaypoints.ts index 96fa61a86..68021dc15 100644 --- a/client/src/components/Tours/planner/tourPlannerWaypoints.ts +++ b/client/src/components/Tours/planner/tourPlannerWaypoints.ts @@ -1,4 +1,11 @@ -import type { PaddleLock, PlannableTourType, StationImportance, TourFixedLeg, TourWaypoint, TourWaypointRole } from '@trek/shared'; +import type { + PaddleLock, + PlannableTourType, + StationImportance, + TourFixedLeg, + TourWaypoint, + TourWaypointRole, +} from '@trek/shared'; import type { AutoBase } from './paddleRouting'; import { keepJoinedFixedLegs } from './tourFixedLegs'; import { alignFreeLegs } from './tourRouteActions'; diff --git a/client/src/components/Tours/poi/TourPoiSearchCard.tsx b/client/src/components/Tours/poi/TourPoiSearchCard.tsx index 92807f0a8..68f7795d6 100644 --- a/client/src/components/Tours/poi/TourPoiSearchCard.tsx +++ b/client/src/components/Tours/poi/TourPoiSearchCard.tsx @@ -70,13 +70,13 @@ function CategoryPicker({ search }: { search: TourPoiSearch }) { className="flex w-full min-w-0 items-center gap-2 rounded-[10px] border border-edge bg-surface-input px-2.5 py-1.5 text-start hover:border-content-faint" > {t('tours.poi.categories')}: -