feat(audit-csv): audit-csv-modal-open and clear-mod-digest-notify IPC

Phase 690 composer blur and mod digest notify clear with pushState.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 01:06:25 -04:00
co-authored by Cursor
parent cd88473076
commit 518f44eff7
+16
View File
@@ -2430,6 +2430,22 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
} }
return true return true
} }
if (t === 'audit-csv-modal-open') {
pushState()
send({ type: 'audit-csv-modal-opened' })
return true
}
if (t === 'clear-mod-digest-notify') {
await platform.clearModDigestNotifyPrefs()
pushState()
if (platform.mode === 'guild' && platform.activeChannelId) {
send({
type: 'composer-focus-channel',
channelId: platform.activeChannelId
})
}
return true
}
if (t === 'clear-delivery-receipts') { if (t === 'clear-delivery-receipts') {
await platform.clearAutomationDeliveryReceipts() await platform.clearAutomationDeliveryReceipts()
pushState() pushState()