feat(ui-flow): handle reorder-categories IPC

Route category drag-reorder from the desktop UI to the platform layer.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-22 21:08:24 -04:00
co-authored by Cursor
parent 6ef43b0893
commit d9ba232b7d
+5
View File
@@ -751,6 +751,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState() pushState()
return true return true
} }
if (t === 'reorder-categories') {
await platform.reorderCategories({ categoryIds: msg.categoryIds || [] })
pushState()
return true
}
if (t === 'toggle-reaction') { if (t === 'toggle-reaction') {
await platform.toggleReaction(msg.messageId, msg.emoji) await platform.toggleReaction(msg.messageId, msg.emoji)
pushState() pushState()