mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-17 14:08:19 +00:00
1b573f542a
Route stack alerts to specific Discord, Slack, or webhook channels instead of the single global endpoint. Includes per-rule enable/disable, priority ordering, and automatic fallback to global agents when no rule matches. - Add notification_routes table, interface, and CRUD in DatabaseService - Add routing logic in NotificationService.dispatchAlert with optional stackName - Pass stack context from MonitorService (crash/health) and SchedulerService - Add 5 API endpoints gated with requireAdmin + requireAdmiral - Add NotificationRoutingSection UI with Combobox stack picker, channel tabs - Parallel webhook dispatch via Promise.allSettled - 10 unit tests covering routing, fallback, and edge cases - Documentation with screenshots at docs/features/notification-routing.mdx
15 lines
756 B
TypeScript
15 lines
756 B
TypeScript
export { AccountSection } from './AccountSection';
|
|
export { LicenseSection } from './LicenseSection';
|
|
export { UsersSection } from './UsersSection';
|
|
export { SystemSection } from './SystemSection';
|
|
export { NotificationsSection } from './NotificationsSection';
|
|
export { WebhooksSection } from './WebhooksSection';
|
|
export { DeveloperSection } from './DeveloperSection';
|
|
export { AppStoreSection } from './AppStoreSection';
|
|
export { SupportSection } from './SupportSection';
|
|
export { AboutSection } from './AboutSection';
|
|
export { LabelsSection } from './LabelsSection';
|
|
export { NotificationRoutingSection } from './NotificationRoutingSection';
|
|
export { DEFAULT_SETTINGS } from './types';
|
|
export type { PatchableSettings, SectionId, Agent } from './types';
|