add onboarding wizard for new users

This commit is contained in:
Josh Hawkins
2026-08-21 19:15:08 -05:00
parent df5f943e33
commit cfda6baa06
19 changed files with 1812 additions and 0 deletions
+6
View File
@@ -43,6 +43,7 @@ export interface ApiMockOverrides {
configRaw?: string;
configSchema?: Record<string, unknown>;
hardware?: unknown[];
hwaccel?: { preset: string };
}
export class ApiMocker {
@@ -185,6 +186,11 @@ export class ApiMocker {
route.fulfill({ json: overrides?.hardware ?? DETECTION_HARDWARE }),
);
// Hwaccel preset recommendation
await this.page.route("**/api/hardware/hwaccel**", (route) =>
route.fulfill({ json: overrides?.hwaccel ?? { preset: "" } }),
);
// Go2RTC streams
await this.page.route("**/api/go2rtc/streams**", (route) =>
route.fulfill({ json: {} }),