mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-05 12:22:31 +00:00
Split alert schedule tab section owners
This commit is contained in:
@@ -271,6 +271,12 @@ provider-catalog loading and provider-default application, while
|
||||
`frontend-modern/src/components/Alerts/EmailProviderSelect.tsx` stays the
|
||||
render shell and consumes the canonical `UIEmailConfig` feature type instead of
|
||||
keeping a second local email-config interface.
|
||||
The alert scheduling surface now follows the same shell/section split:
|
||||
`frontend-modern/src/features/alerts/useAlertScheduleState.ts` owns schedule
|
||||
runtime and default/reset policy, while
|
||||
`frontend-modern/src/features/alerts/tabs/ScheduleTab.tsx` stays the shell and
|
||||
composes the dedicated quiet-hours, cooldown, grouping, recovery, escalation,
|
||||
and summary section owners instead of carrying those panels inline.
|
||||
|
||||
Alert filter metadata and grouped header consumers must also preserve the
|
||||
canonical `agent` and `node` header boundary when reusing shared filter
|
||||
|
||||
@@ -467,6 +467,11 @@ provider-catalog loading and provider-default application, while
|
||||
`frontend-modern/src/components/Alerts/EmailProviderSelect.tsx` stays the
|
||||
render shell and should not re-accumulate `NotificationsAPI.getEmailProviders`
|
||||
or a second local email-config contract inline.
|
||||
The alert scheduling surface now follows the same shell-versus-section split:
|
||||
`frontend-modern/src/features/alerts/tabs/ScheduleTab.tsx` should compose the
|
||||
dedicated quiet-hours, cooldown, grouping, recovery, escalation, and summary
|
||||
section owners while `frontend-modern/src/features/alerts/useAlertScheduleState.ts`
|
||||
remains the canonical runtime owner.
|
||||
The same rule now also covers cross-tab incident timelines: the shared runtime
|
||||
owner is `frontend-modern/src/features/alerts/useAlertIncidentTimelineState.ts`,
|
||||
while `frontend-modern/src/features/alerts/OverviewTab.tsx` and
|
||||
|
||||
Reference in New Issue
Block a user