feat(ui-flow): automation health dashboard and digest notify prefs IPC
Handle get-automation-health-dashboard and set-automation-digest-notify-prefs worker messages for server settings automation panel. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -201,6 +201,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
send({ type: 'automation-schedule-dashboard', dashboard })
|
||||
return true
|
||||
}
|
||||
if (t === 'get-automation-health-dashboard') {
|
||||
const dashboard = await platform.getAutomationHealthDashboard()
|
||||
send({ type: 'automation-health-dashboard', dashboard })
|
||||
return true
|
||||
}
|
||||
if (t === 'set-automation-digest-notify-prefs') {
|
||||
await platform.setAutomationDigestNotifyPrefs(msg.prefs || {})
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'run-overdue-automation-schedules') {
|
||||
const result = await platform.runOverdueAutomationSchedules()
|
||||
pushState()
|
||||
|
||||
Reference in New Issue
Block a user