feat: finish the host-metrics plugin, move host status into core (B16)

This commit is contained in:
LukeGus committed 2026-09-24 11:21:23 -05:00
1 parent 14eb558b85
commit 0a3f05d99d
308 files changed
+53073 -8985

No files matched your search

@@ -1,11 +1,12 @@
import { afterEach, describe, expect, it, vi } from "vitest";
import { cleanup, render, screen } from "@testing-library/react";
import "@testing-library/jest-dom/vitest";
import type { ServerMetrics } from "@/main-axios";
import type { GpuMetrics } from "@/types/stats-widgets";
import type { ServerMetrics } from "../../../src/shared/metrics.js";
import type { GpuMetrics } from "../../../src/shared/stats-widgets.js";
vi.mock("react-i18next", () => ({
useTranslation: () => ({ t: (key: string) => key }),
initReactI18next: { type: "3rdParty", init: () => {} },
}));
import { GpuCard } from "../../../src/frontend/cards/GpuCard";
@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import type { GpuDevice } from "@/types/stats-widgets";
import type { GpuDevice } from "../../../src/shared/stats-widgets.js";
import { appendGpuHistories } from "../../../src/frontend/cards/gpu-history";
function gpu(