feature: Phase 18.6 Track A — public Settings menu + streaming-quality toggle

This commit is contained in:
daniel-c-harvey
2026-06-23 14:06:19 -04:00
parent e5366bc4ec
commit c63c7ca033
18 changed files with 382 additions and 6 deletions
+7
View File
@@ -14,6 +14,13 @@ public static class Startup
services.AddScoped<DarkModeSettings>();
services.AddScoped<DarkModeCookieService>();
// Public-site listener settings (Phase 18 wave 18.6). PublicSiteSettings is the generalized,
// prerender-seeded preference object (today: streaming quality); SettingsCookieService writes the
// 365-day cookie at runtime. Same scoped lifetime + cookie seam as the dark-mode pair above, so the
// preference survives SPA nav within a session and seeds the next visit's prerender.
services.AddScoped<PublicSiteSettings>();
services.AddScoped<SettingsCookieService>();
// Track Client. The HTTP-backed ITrackDataService is used by both WASM and SSR
// prerender — both call DeepDrftAPI over the "DeepDrft.API" client.
services.AddScoped<TrackClient>();