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
26 changes: 13 additions & 13 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@mui/icons-material": "^9.1.0",
"@mui/material": "^9.1.0",
"force-graph": "^1.51.4",
"fuse.js": "^7.4.2",
"fuse.js": "^7.5.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-force-graph-2d": "^1.29.1",
Expand All @@ -45,23 +45,23 @@
"@types/react": "^19.2.17",
"@types/react-dom": "^19.1.7",
"@types/react-syntax-highlighter": "^15.5.13",
"@typescript-eslint/eslint-plugin": "^8.61.0",
"@typescript-eslint/parser": "^8.61.0",
"@vitejs/plugin-react-swc": "^4.3.1",
"@vitest/coverage-v8": "^4.1.8",
"eslint": "^10.4.1",
"@typescript-eslint/eslint-plugin": "^8.65.0",
"@typescript-eslint/parser": "^8.65.0",
"@vitejs/plugin-react-swc": "^4.3.2",
"@vitest/coverage-v8": "^4.1.10",
"eslint": "^10.7.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-perfectionist": "^5.9.0",
"eslint-plugin-perfectionist": "^5.10.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"eslint-plugin-react-refresh": "^0.5.3",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.6.0",
"globals": "^17.7.0",
"jsdom": "^29.1.1",
"prettier": "^3.8.4",
"prettier": "^3.9.6",
"typescript": "^6.0.3",
"vite": "^8.0.16",
"vite-plugin-checker": "^0.14.1",
"vite": "^8.1.5",
"vite-plugin-checker": "^0.14.5",
"vite-plugin-compression2": "^2.5.3",
"vitest": "^4.1.8"
"vitest": "^4.1.10"
}
}
3 changes: 1 addition & 2 deletions app/src/hooks/useForceGraphSimulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,7 @@ export function useForceGraphSimulation({
const colorBucket = topTypes.includes(v) ? v : null;
const thumbUrl = selectMapThumbUrl(s, isDark);
const cached = cache.get(s.id) as
| (MapNode & { x?: number; y?: number; vx?: number; vy?: number })
| undefined;
(MapNode & { x?: number; y?: number; vx?: number; vy?: number }) | undefined;
const reuse = cached && cached.thumbUrl === thumbUrl;
// Warm-start preference: keep the simulation's last x/y if we have it
// (filter / weight tweaks reuse positions and refine in place). Cold
Expand Down
3 changes: 1 addition & 2 deletions app/src/hooks/useLatestRelease.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ describe('useLatestRelease', () => {
it('aborts the in-flight fetch on unmount', () => {
const { unmount } = renderHook(() => useLatestRelease());
const signal = (globalThis.fetch as ReturnType<typeof vi.fn>).mock.calls[0]?.[1]?.signal as
| AbortSignal
| undefined;
AbortSignal | undefined;
expect(signal).toBeDefined();
unmount();
expect(signal!.aborted).toBe(true);
Expand Down
3 changes: 1 addition & 2 deletions app/src/sections/plots-gallery/FilterBar/FilterMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { getAvailableValues, type SearchResult } from 'src/utils';

/** A keyboard-navigable entry of the dropdown: a category or a concrete value. */
export type DropdownItem =
| { type: 'category'; category: FilterCategory }
| ({ type: 'value' } & SearchResult);
{ type: 'category'; category: FilterCategory } | ({ type: 'value' } & SearchResult);

export interface FilterMenuProps {
anchorEl: HTMLElement | null;
Expand Down
Loading
Loading