diff --git a/dashboard/src/app/(nav)/help/page.tsx b/dashboard/src/app/(nav)/help/page.tsx index 268208fa..646afb9a 100644 --- a/dashboard/src/app/(nav)/help/page.tsx +++ b/dashboard/src/app/(nav)/help/page.tsx @@ -1,4 +1,5 @@ import Image from "next/image"; +import Link from "next/link"; import Note from "@/components/Note"; import DriverDRS from "@/components/driver/DriverDRS"; @@ -151,6 +152,14 @@ export default function HelpPage() { In this example, the driver has a soft tire which is 12 laps old and he pitted one time.
+Real-time history of tire compounds and outing progression.
+Driver
+Tire History / Outings
+{stint.TotalLaps}L
++ {stint.TotalLaps}L{stint.New !== "TRUE" ? "*" : ""} +
L {currentStint?.TotalLaps ?? 0} - {currentStint?.New ? "" : "*"} + {currentStint?.New === "TRUE" ? "" : "*"}
PIT {stops}
diff --git a/dashboard/src/types/state.type.ts b/dashboard/src/types/state.type.ts index 568e19fd..6e2104d7 100644 --- a/dashboard/src/types/state.type.ts +++ b/dashboard/src/types/state.type.ts @@ -57,7 +57,7 @@ export type TimingAppDataDriver = { export type Stint = { TotalLaps?: number; Compound?: "SOFT" | "MEDIUM" | "HARD" | "INTERMEDIATE" | "WET"; - New?: string; // TRUE | FALSE + New?: "TRUE" | "FALSE"; }; export type WeatherData = { diff --git a/dashboard/tsconfig.json b/dashboard/tsconfig.json index 354b9b90..4224aa4d 100644 --- a/dashboard/tsconfig.json +++ b/dashboard/tsconfig.json @@ -13,7 +13,7 @@ "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "verbatimModuleSyntax": true,