feat(FN-1941): surface setup readiness warnings in task entry flows

- Add useSetupReadiness hook to evaluate setup state and expose actionable warning metadata
- Add reusable SetupWarningBanner component with compact and full warning presentation modes
- Render setup warnings in NewTaskModal and QuickEntryBox so task creation surfaces missing configuration early
- Add targeted tests for the hook and banner plus integration coverage updates for modal and quick-entry behavior
This commit is contained in:
Fusion
2026-04-17 04:46:28 -07:00
committed by gsxdsm
parent db883db162
commit e30bd2e24b
9 changed files with 551 additions and 0 deletions

View File

@@ -23826,6 +23826,48 @@ html .column.drag-over * {
line-height: 1.4;
}
/* === SetupWarningBanner === */
.setup-warning-banner {
display: flex;
flex-direction: column;
gap: var(--space-sm);
padding: var(--space-sm) var(--space-md);
margin-bottom: var(--space-md);
border-radius: var(--radius-md);
border-inline-start: var(--space-xs) solid var(--color-warning);
background: color-mix(in srgb, var(--color-warning) 8%, transparent);
}
.setup-warning-banner__item {
display: flex;
flex-direction: column;
gap: var(--space-xs);
}
.setup-warning-banner__title {
color: var(--text);
}
.setup-warning-banner__description {
margin: 0;
color: var(--text-muted);
}
.setup-warning-banner--compact {
gap: 0;
}
.setup-warning-banner__compact-text {
margin: 0;
color: var(--text);
}
@media (max-width: 768px) {
.setup-warning-banner--compact {
padding: var(--space-xs) var(--space-sm);
}
}
/* === OnboardingDisclosure === */
.onboarding-disclosure {
display: flex;