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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user