Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev-2.x' into station-entrances
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Dec 18, 2024
2 parents 2eb0e7b + 2d012a3 commit 4fd0f68
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 43 deletions.
4 changes: 2 additions & 2 deletions application/src/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/img/otp-logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OTP Debug</title>
<script type="module" crossorigin src="https://cdn.jsdelivr.net/gh/opentripplanner/debug-client-assets@main/2024/12/2024-12-17T11:50/assets/index-CMyj5Qyr.js"></script>
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/gh/opentripplanner/debug-client-assets@main/2024/12/2024-12-17T11:50/assets/index-BDL0-veX.css">
<script type="module" crossorigin src="https://cdn.jsdelivr.net/gh/opentripplanner/debug-client-assets@main/2024/12/2024-12-18T09:00/assets/index-DwXgkIow.js"></script>
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/gh/opentripplanner/debug-client-assets@main/2024/12/2024-12-18T09:00/assets/index-BDL0-veX.css">
</head>
<body>
<div id="root"></div>
Expand Down
74 changes: 44 additions & 30 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"@googlemaps/polyline-codec": "1.0.28",
"@js-temporal/polyfill": "0.4.4",
"bootstrap": "5.3.3",
"graphql": "16.9.0",
"graphql": "16.10.0",
"graphql-request": "7.1.2",
"maplibre-gl": "4.7.1",
"react": "19.0.0",
"react-bootstrap": "2.10.6",
"react-bootstrap": "2.10.7",
"react-dom": "19.0.0",
"react-map-gl": "7.1.7"
},
Expand All @@ -35,7 +35,7 @@
"@parcel/watcher": "2.5.0",
"@testing-library/react": "16.1.0",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"@types/react-dom": "19.0.2",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@vitejs/plugin-react": "4.3.4",
Expand All @@ -45,12 +45,12 @@
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-react-refresh": "0.4.16",
"jsdom": "25.0.1",
"prettier": "3.4.1",
"prettier": "3.4.2",
"typescript": "5.7.2",
"vite": "6.0.2",
"vite": "6.0.3",
"vitest": "2.1.8"
}
}
7 changes: 2 additions & 5 deletions client/src/components/ItineraryList/ItineraryLegDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ export function ItineraryLegDetails({ leg, isLast }: { leg: Leg; isLast: boolean
<span title={'Generalized cost: ¢' + leg.generalizedCost}>¢{leg.generalizedCost}</span>
</div>
<InterchangeInfo leg={leg} />
<LegTime
aimedTime={leg.aimedStartTime}
expectedTime={leg.expectedStartTime}
hasRealtime={leg.realtime}
/> - <LegTime aimedTime={leg.aimedEndTime} expectedTime={leg.expectedEndTime} hasRealtime={leg.realtime} />
<LegTime aimedTime={leg.aimedStartTime} expectedTime={leg.expectedStartTime} hasRealtime={leg.realtime} /> -{' '}
<LegTime aimedTime={leg.aimedEndTime} expectedTime={leg.expectedEndTime} hasRealtime={leg.realtime} />
<div className="mode">
<b>{leg.mode}</b>{' '}
{leg.line && (
Expand Down

0 comments on commit 4fd0f68

Please sign in to comment.