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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user