feat(ui-flow): set-threads-panel-sort IPC (v0.8.98)
Wire threads panel sort mode through the UI flow bridge. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -668,6 +668,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'set-threads-panel-sort') {
|
||||
platform.setThreadsPanelSort(msg.panelSort || 'activity')
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'archive-thread') {
|
||||
await platform.archiveThread(msg.threadId, msg.archived !== false)
|
||||
pushState()
|
||||
|
||||
Reference in New Issue
Block a user