Phase 408: export-channel-topic-preview UI-flow IPC
Wire export-channel-topic-preview dispatch to platform exportActiveChannelTopicPreview and emit channel-topic-preview for deterministic automation. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -2175,6 +2175,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'export-channel-topic-preview') {
|
||||
const preview = await platform.exportActiveChannelTopicPreview(msg.channelId)
|
||||
send({ type: 'channel-topic-preview', preview })
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'upsert-channel-overwrite') {
|
||||
await platform.upsertChannelPermissionOverwrite(msg.channelId, {
|
||||
targetType: msg.targetType,
|
||||
|
||||
Reference in New Issue
Block a user