feat(ui-flow): slash registry/invoke audit JSON modal IPC and clear handler (v0.8.699)
Wire modal-open events and clear-slash-invoke-audit-export-json for Phase 723 dedicated slash export mesh management. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -2608,6 +2608,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
send({ type: 'slash-json-modal-opened' })
|
send({ type: 'slash-json-modal-opened' })
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'slash-registry-json-modal-open') {
|
||||||
|
pushState()
|
||||||
|
send({ type: 'slash-registry-json-modal-opened' })
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if (t === 'slash-invoke-audit-json-modal-open') {
|
||||||
|
pushState()
|
||||||
|
send({ type: 'slash-invoke-audit-json-modal-opened' })
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'sync-slash-registry-json') {
|
if (t === 'sync-slash-registry-json') {
|
||||||
const out = await platform.pushSlashRegistryJsonToMesh()
|
const out = await platform.pushSlashRegistryJsonToMesh()
|
||||||
pushState()
|
pushState()
|
||||||
@@ -2642,6 +2652,17 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'clear-slash-invoke-audit-export-json') {
|
||||||
|
await platform.clearSlashInvokeAuditExportJsonExports()
|
||||||
|
pushState()
|
||||||
|
if (platform.mode === 'guild' && platform.activeChannelId) {
|
||||||
|
send({
|
||||||
|
type: 'composer-focus-channel',
|
||||||
|
channelId: platform.activeChannelId
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'oauth-json-modal-open') {
|
if (t === 'oauth-json-modal-open') {
|
||||||
pushState()
|
pushState()
|
||||||
send({ type: 'oauth-json-modal-opened' })
|
send({ type: 'oauth-json-modal-opened' })
|
||||||
|
|||||||
Reference in New Issue
Block a user