feat(ui-flow): move-channel-to-parent IPC handler (v0.8.168)

Wire category drag-drop moves from the desktop UI to the platform.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 21:55:31 -04:00
co-authored by Cursor
parent 512f62cda8
commit 2a16746f71
+8
View File
@@ -773,6 +773,14 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState()
return true
}
if (t === 'move-channel-to-parent') {
await platform.moveChannelToParent({
channelId: msg.channelId,
parentId: msg.parentId ?? null
})
pushState()
return true
}
if (t === 'reorder-categories') {
await platform.reorderCategories({ categoryIds: msg.categoryIds || [] })
pushState()