feat(ui-flow): set-threads-panel-archived IPC (Phase 75)
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -335,6 +335,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'set-threads-panel-archived') {
|
||||
await platform.setThreadsPanelIncludeArchived(!!msg.includeArchived)
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'archive-thread') {
|
||||
await platform.archiveThread(msg.threadId, msg.archived !== false)
|
||||
pushState()
|
||||
|
||||
Reference in New Issue
Block a user