diff --git a/backend/src/utils/result.ts b/backend/src/utils/result.ts index 2c79813f8b22..2e99fe2e4e87 100644 --- a/backend/src/utils/result.ts +++ b/backend/src/utils/result.ts @@ -122,5 +122,14 @@ export function replaceLegacyValues(result: DBResult): DBResult { }; } + if (typeof result.mode2 === "number") { + result.mode2 = (result.mode2 as number).toString(); + } + + //legacy value for english_1k + if ((result.language as string) === "english_expanded") { + result.language = "english_1k"; + } + return result; } diff --git a/frontend/__tests__/components/common/AnimatedModal.spec.tsx b/frontend/__tests__/components/common/AnimatedModal.spec.tsx index b57934428ace..209e5af446f5 100644 --- a/frontend/__tests__/components/common/AnimatedModal.spec.tsx +++ b/frontend/__tests__/components/common/AnimatedModal.spec.tsx @@ -28,9 +28,12 @@ describe("AnimatedModal", () => { modalDiv: HTMLDivElement; } { const { container } = render(() => ( - -
Test Content
-
+ <> +
+ +
Test Content
+
+ )); return { diff --git a/frontend/__tests__/components/common/AsyncContent.spec.tsx b/frontend/__tests__/components/common/AsyncContent.spec.tsx index da25c43ee814..c1d4b5575b5a 100644 --- a/frontend/__tests__/components/common/AsyncContent.spec.tsx +++ b/frontend/__tests__/components/common/AsyncContent.spec.tsx @@ -147,6 +147,7 @@ describe("AsyncContent", () => { })); return ( + //@ts-expect-error generic children, fine for tests { })); return ( + //@ts-expect-error generic children, fine for tests { describe("mergeWithDefaultFilters", () => { diff --git a/frontend/package.json b/frontend/package.json index 2b6215e1a11c..e421c9fc5194 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -30,6 +30,8 @@ "@sentry/browser": "9.14.0", "@sentry/vite-plugin": "3.3.1", "@solidjs/meta": "0.29.4", + "@tanstack/query-db-collection": "1.0.23", + "@tanstack/solid-db": "0.2.6", "@tanstack/solid-query": "5.90.23", "@tanstack/solid-query-devtools": "5.91.3", "@tanstack/solid-table": "8.21.3", @@ -40,7 +42,7 @@ "chart.js": "3.7.1", "chartjs-adapter-date-fns": "3.0.0", "chartjs-plugin-annotation": "2.2.1", - "chartjs-plugin-trendline": "1.0.2", + "chartjs-plugin-trendline": "3.2.0", "clsx": "2.1.1", "color-blend": "4.0.0", "damerau-levenshtein": "1.0.8", diff --git a/frontend/src/index.html b/frontend/src/index.html index b7ad14bba257..86b9d087751f 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -38,7 +38,8 @@
-