Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,002 changes: 637 additions & 365 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/src/endpoints/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fn find_round_mut<'a>(rounds: &'a mut Vec<Round>, name: &str) -> Option<&'a mut
}

fn parse_name(full_name: &str) -> Option<(String, String)> {
let regex = Regex::new(r"FORMULA 1 (?P<name>.+) - (?P<kind>.+)").ok()?;
let regex = Regex::new(r"FORMULA 1 (?P<name>.+?\d{4})\s*(?:-|\u2013)\s*(?P<kind>.+)").ok()?;
let captures = regex.captures(full_name)?;
Some((captures["name"].to_owned(), captures["kind"].to_owned()))
}
Expand Down
28 changes: 14 additions & 14 deletions dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "f1-dash",
"version": "4.0.3",
"version": "4.0.4",
"private": true,
"scripts": {
"build": "next build",
Expand All @@ -12,30 +12,30 @@
"dependencies": {
"@headlessui/react": "2.2.10",
"clsx": "2.1.1",
"geist": "1.7.0",
"maplibre-gl": "5.23.0",
"geist": "1.7.2",
"maplibre-gl": "5.24.0",
"moment": "2.30.1",
"motion": "12.38.0",
"next": "^16.2.4",
"motion": "12.40.0",
"next": "^16.2.7",
"pako": "2.1.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"sharp": "0.34.5",
"zod": "3.25.76",
"zustand": "5.0.12"
"zustand": "5.0.14"
},
"devDependencies": {
"@tailwindcss/postcss": "4.2.3",
"@types/node": "22.19.17",
"@tailwindcss/postcss": "4.3.0",
"@types/node": "22.19.20",
"@types/pako": "2.0.4",
"@types/react": "^19.2.14",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"eslint": "9.39.4",
"eslint-config-next": "16.2.4",
"eslint-config-next": "16.2.7",
"eslint-config-prettier": "10.1.8",
"prettier": "3.8.3",
"prettier-plugin-tailwindcss": "0.7.2",
"tailwindcss": "4.2.3",
"prettier-plugin-tailwindcss": "0.7.4",
"tailwindcss": "4.3.0",
"typescript": "5.9.3"
},
"packageManager": "yarn@4.14.1"
Expand Down
7 changes: 5 additions & 2 deletions dashboard/src/app/dashboard/weather/map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ export function WeatherMap() {
type: "raster",
source: {
type: "raster",
tiles: [`${rainviewer.host}/${frame.path}/256/{z}/{x}/{y}/8/1_0.webp`],
tileSize: 256,
tiles: [`${rainviewer.host}${frame.path}/256/{z}/{x}/{y}/8/1_0.webp`],
tileSize: 512,
maxzoom: 6,
minzoom: 0,
volatile: false,
},
paint: {
"raster-opacity": 0,
Expand Down
2 changes: 1 addition & 1 deletion dashboard/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
Expand Down
Loading
Loading