Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
061f7dd
update @formatjs deps
achou11 Dec 19, 2025
df798a5
update knip
achou11 Dec 19, 2025
87951f4
update tanstack router deps
achou11 Dec 19, 2025
9875c5d
update @tanstack/react-form
achou11 Dec 19, 2025
1274259
update knip
achou11 Dec 21, 2025
6e688fd
update tanstack router deps
achou11 Dec 21, 2025
6f0b8cd
run npm update
achou11 Dec 21, 2025
29a957d
update tanstack router deps
achou11 Dec 21, 2025
02d5464
update typescript-eslint
achou11 Dec 23, 2025
fe24539
update knip
achou11 Dec 23, 2025
f0f1f20
update systeminformation
achou11 Dec 23, 2025
9a7cf75
update @tanstack/react-form
achou11 Dec 23, 2025
40ca301
update tanstack router deps
achou11 Dec 23, 2025
df88182
run npm update
achou11 Dec 23, 2025
44d35ee
update tanstack router deps
achou11 Dec 23, 2025
d5b6e9d
route registration changes due to tanstack router changes
achou11 Dec 23, 2025
529cd18
update tanstack router deps
achou11 Dec 23, 2025
c8e62e1
update systeminformation
achou11 Dec 23, 2025
466acd2
update @formatjs deps
achou11 Dec 23, 2025
d29eaff
run npm update
achou11 Dec 23, 2025
a85be26
update knip
achou11 Dec 28, 2025
bb8eb47
update @eslint-react/eslint-plugin
achou11 Dec 28, 2025
edb3cf6
update @formatjs deps
achou11 Dec 28, 2025
7802a4d
update @tanstack/react-query
achou11 Dec 28, 2025
bf038f9
update tanstack router deps
achou11 Dec 28, 2025
f11b900
update systeminformation
achou11 Dec 28, 2025
16a1a33
run npm update
achou11 Dec 28, 2025
75a3847
update typescript-eslint
achou11 Dec 29, 2025
071e2bf
update electron-playwright-helpers
achou11 Dec 29, 2025
ef17257
update @tanstack/react-form
achou11 Dec 29, 2025
1e298ae
update @tanstack/react-query
achou11 Dec 29, 2025
c9c3bb1
update @tanstack/react-virtual
achou11 Dec 30, 2025
f3b7c08
update @tanstack/react-query
achou11 Dec 30, 2025
68c53bf
update @tanstack/router-plugin
achou11 Dec 30, 2025
2495c67
update systeminformation
achou11 Dec 30, 2025
b342568
update @eslint-react/eslint-plugin
achou11 Dec 31, 2025
b497b93
update systeminformation
achou11 Dec 31, 2025
e6466f7
update eslint deps
achou11 Jan 5, 2026
750c216
update knip
achou11 Jan 5, 2026
3542880
update formatjs deps
achou11 Jan 5, 2026
e4703c7
update systeminformation
achou11 Jan 5, 2026
cf3f73b
update @tanstack/react-virtual
achou11 Jan 5, 2026
3142fbd
update @tanstack/router-plugin
achou11 Jan 5, 2026
a5b0b4c
run npm update
achou11 Jan 5, 2026
dd58c5a
fix type errors due to route ID generation changes
achou11 Jan 5, 2026
bf50f16
fix regressions with navigation using document reload
achou11 Jan 5, 2026
7c1069f
update tanstack router deps
achou11 Jan 5, 2026
1961216
update typescript-eslint
achou11 Jan 5, 2026
723f1c6
fix regression in test data page
achou11 Jan 5, 2026
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,332 changes: 610 additions & 722 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@comapeo/default-categories": "1.0.1",
"@comapeo/fallback-smp": "1.0.0",
"@comapeo/ipc": "6.0.2",
"@formatjs/intl": "4.0.2",
"@formatjs/intl": "4.0.8",
"@homebridge/ciao": "1.3.4",
"@sentry/electron": "7.5.0",
"atomically": "2.1.0",
Expand All @@ -83,7 +83,7 @@
"electron-squirrel-startup": "1.0.1",
"fastify": "4.29.1",
"sodium-native": "4.3.3",
"systeminformation": "5.27.14",
"systeminformation": "5.29.1",
"tiny-typed-emitter": "2.1.0",
"valibot": "1.2.0",
"zustand": "5.0.9"
Expand All @@ -104,11 +104,11 @@
"@electron/fuses": "1.8.0",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.1",
"@eslint-react/eslint-plugin": "2.3.13",
"@eslint-react/eslint-plugin": "2.5.1",
"@eslint/compat": "2.0.0",
"@eslint/js": "9.39.2",
"@fontsource-variable/rubik": "5.2.8",
"@formatjs/cli": "6.8.2",
"@formatjs/cli": "6.9.0",
"@ianvs/prettier-plugin-sort-imports": "4.7.0",
"@mui/material": "7.3.6",
"@playwright/test": "1.57.0",
Expand All @@ -117,11 +117,11 @@
"@sentry/vite-plugin": "4.6.1",
"@tanstack/eslint-plugin-query": "5.91.2",
"@tanstack/eslint-plugin-router": "1.141.0",
"@tanstack/react-form": "1.27.4",
"@tanstack/react-query": "5.90.12",
"@tanstack/react-router": "1.141.4",
"@tanstack/react-virtual": "3.13.13",
"@tanstack/router-plugin": "1.141.5",
"@tanstack/react-form": "1.27.7",
"@tanstack/react-query": "5.90.16",
"@tanstack/react-router": "1.145.7",
"@tanstack/react-virtual": "3.13.16",
"@tanstack/router-plugin": "1.145.7",
"@turf/bbox": "7.3.1",
"@turf/bbox-polygon": "7.3.1",
"@turf/center": "7.3.1",
Expand All @@ -139,13 +139,13 @@
"date-fns": "4.1.0",
"dotenv": "17.2.3",
"electron": "39.2.7",
"electron-playwright-helpers": "2.0.1",
"electron-playwright-helpers": "2.1.0",
"eslint": "9.39.2",
"eslint-plugin-react-hooks": "7.0.1",
"eslint-plugin-react-refresh": "0.4.26",
"globals": "16.5.0",
"globals": "17.0.0",
"husky": "9.1.7",
"knip": "5.75.1",
"knip": "5.80.0",
"lint-staged": "16.2.7",
"maplibre-gl": "5.15.0",
"maplibregl-mapbox-request-transformer": "0.0.3",
Expand All @@ -157,12 +157,12 @@
"radashi": "12.7.1",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-intl": "8.0.4",
"react-intl": "8.0.10",
"react-map-gl": "8.1.0",
"react-transition-group": "4.4.5",
"semver": "7.7.3",
"typescript": "5.9.3",
"typescript-eslint": "8.50.0",
"typescript-eslint": "8.52.0",
"utm": "1.1.1",
"vite": "7.3.0",
"vite-plugin-icons-spritesheet": "3.0.1",
Expand Down
8 changes: 2 additions & 6 deletions src/renderer/src/components/generic-route-error-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { useRouter, type ErrorComponentProps } from '@tanstack/react-router'
import { defineMessages, useIntl } from 'react-intl'

import { BLUE_GREY, LIGHT_GREY, WHITE } from '../colors'
import { buildDocumentReloadURL } from '../lib/navigation.ts'

export function GenericRouteErrorComponent({ error }: ErrorComponentProps) {
const router = useRouter()
Expand Down Expand Up @@ -87,13 +88,8 @@ export function GenericRouteErrorComponent({ error }: ErrorComponentProps) {
<Button
fullWidth
onClick={() => {
// NOTE: Accounts for bug where `router.navigate()` doesn't account for hash router usage when trying to reload document
// (https://discord.com/channels/719702312431386674/1431138480096022680)
router.navigate({
href: router.history.createHref(
router.buildLocation({ to: '.' }).href,
),
replace: true,
href: buildDocumentReloadURL(router, '.'),
reloadDocument: true,
})
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import { useRouter, type NotFoundRouteProps } from '@tanstack/react-router'
import { defineMessages, useIntl } from 'react-intl'
import * as v from 'valibot'

import { CustomNotFoundDataSchema } from '../lib/navigation'
import {
CustomNotFoundDataSchema,
buildDocumentReloadURL,
} from '../lib/navigation'

const CustomNotFoundDataPropSchema = v.looseObject({
data: CustomNotFoundDataSchema,
Expand Down Expand Up @@ -82,12 +85,8 @@ export function GenericRouteNotFoundComponent({
fullWidth
variant="outlined"
onClick={() => {
// NOTE: Accounts for bug where `router.navigate()` doesn't account for hash router usage when trying to reload document
// (https://discord.com/channels/719702312431386674/1431138480096022680)
router.navigate({
href: router.history.createHref(
router.buildLocation({ to: '/' }).href,
),
href: buildDocumentReloadURL(router, '/'),
reloadDocument: true,
})
}}
Expand Down
Loading