fix(web): settings screen degrades gracefully on partial API failure

Reference data (profiles, watermarks, fillers, media sources, version,
health) now loads via allSettled with per-resource failure notes; only
the settings groups themselves gate the screen. Error state renders
before the loading guard (was unreachable). +2 tests (136 total).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-07 09:22:51 +02:00
co-authored by Claude Fable 5
parent 6938cbab40
commit ab9d21326b
4 changed files with 220 additions and 85 deletions
+14
View File
@@ -3406,6 +3406,20 @@
background: var(--border-hairline);
}
/* inline degraded-state note for reference data that failed to load */
.ctv-settings-ref-failure {
display: inline-flex;
align-items: center;
gap: var(--space-3, 6px);
font: var(--text-xs) / 1.3 var(--font-sans);
color: var(--text-secondary);
}
.ctv-settings-ref-failure svg {
color: var(--status-warn);
flex: 0 0 auto;
}
@media (prefers-reduced-motion: reduce) {
.ctv-fade-in,
.ctv-settings-pane,