feat(FN-1127): add awaiting-approval ntfy notifications
- Extend ntfy event types and default ntfyEvents to include awaiting-approval - Send high-priority "Plan needs approval" notifications for awaiting-approval task updates with deep-link support - Add Notifications settings checkbox handling for awaiting-approval event selection in Settings modal - Expand notifier and settings modal tests for awaiting-approval defaults, toggles, filtering, and deduplication - Update AGENTS.md ntfy documentation and sample config to include the new event
This commit is contained in:
@@ -104,7 +104,7 @@ export interface WorkflowStep {
|
||||
|
||||
/** Input for creating a new workflow step. */
|
||||
/** Event types that can trigger ntfy notifications */
|
||||
export type NtfyNotificationEvent = "in-review" | "merged" | "failed";
|
||||
export type NtfyNotificationEvent = "in-review" | "merged" | "failed" | "awaiting-approval";
|
||||
|
||||
export interface WorkflowStepInput {
|
||||
/** Built-in template source ID when creating a concrete step from a template. */
|
||||
@@ -990,7 +990,7 @@ export const DEFAULT_GLOBAL_SETTINGS: Required<Pick<GlobalSettings, "themeMode"
|
||||
defaultThinkingLevel: undefined,
|
||||
ntfyEnabled: false,
|
||||
ntfyTopic: undefined,
|
||||
ntfyEvents: ["in-review", "merged", "failed"],
|
||||
ntfyEvents: ["in-review", "merged", "failed", "awaiting-approval"],
|
||||
ntfyDashboardHost: undefined,
|
||||
openrouterModelSync: true,
|
||||
modelOnboardingComplete: undefined,
|
||||
|
||||
Reference in New Issue
Block a user