feat(ui-flow): composer focus after archive fetch (Phase 603)

Emit composer-focus-channel after fetch-audit-export-archive
when in guild mode with an active channel.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-24 17:53:14 -04:00
co-authored by Cursor
parent 130fde0315
commit 3d7b7d5d70
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
**v0.8.566 (Phase 603):** `fetch-audit-export-archive`, `sync-audit-export-csv`, and `set-digest-export-schedule` emit `composer-focus-channel` in guild mode when `activeChannelId` is set. Bundle: `npm run test:phase603-compliance` (app repo).
**v0.8.565 (Phase 602):** `set-audit-export-schedule` and `set-audit-log-export-filter` emit `composer-focus-channel` in guild mode when `activeChannelId` is set. Bundle: `npm run test:phase602-audit` (app repo).
**v0.8.561 (Phase 598):** `update-user-prefs` and `update-guild-settings` emit `composer-focus-channel` in guild mode when `activeChannelId` is set. Bundle: `npm run test:phase598-settings` (app repo).
+6
View File
@@ -366,6 +366,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
fetchMesh
})
}
if (platform.mode === 'guild' && platform.activeChannelId) {
send({
type: 'composer-focus-channel',
channelId: platform.activeChannelId
})
}
return true
}
if (t === 'get-automation-schedule-dashboard') {