feat(ui-flow): receipt-modal-open and clear-delivery-receipts IPC (v0.8.663)

Blur composer on receipt modal open and route clear receipts to platform.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 00:53:41 -04:00
co-authored by Cursor
parent 3ba3608ed6
commit 5e42292992
+16
View File
@@ -2409,6 +2409,22 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
send({ type: 'worker-modal-opened' })
return true
}
if (t === 'receipt-modal-open') {
pushState()
send({ type: 'receipt-modal-opened' })
return true
}
if (t === 'clear-delivery-receipts') {
await platform.clearAutomationDeliveryReceipts()
pushState()
if (platform.mode === 'guild' && platform.activeChannelId) {
send({
type: 'composer-focus-channel',
channelId: platform.activeChannelId
})
}
return true
}
if (t === 'uninstall-bot') {
await platform.uninstallBot(msg.botId)
pushState()