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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user