feat(ui-flow): IPC set-threads-panel-parent-filter (v0.8.97)
Wire guild-scope threads panel parent channel filter through the UI flow bridge so desktop can limit Active Threads to one parent channel. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -663,6 +663,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
pushState()
|
pushState()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'set-threads-panel-parent-filter') {
|
||||||
|
platform.setThreadsPanelParentFilter(msg.parentChannelId || null)
|
||||||
|
pushState()
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'archive-thread') {
|
if (t === 'archive-thread') {
|
||||||
await platform.archiveThread(msg.threadId, msg.archived !== false)
|
await platform.archiveThread(msg.threadId, msg.archived !== false)
|
||||||
pushState()
|
pushState()
|
||||||
|
|||||||
Reference in New Issue
Block a user