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:
Raven Scott
2026-06-02 16:17:40 -04:00
co-authored by Cursor
parent 66159e7245
commit 3dd16046ab
+6
View File
@@ -2175,6 +2175,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState() pushState()
return true 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') { if (t === 'upsert-channel-overwrite') {
await platform.upsertChannelPermissionOverwrite(msg.channelId, { await platform.upsertChannelPermissionOverwrite(msg.channelId, {
targetType: msg.targetType, targetType: msg.targetType,