feat(ui-flow): composer focus after digest export schedule (v0.8.537)

Request composer-focus-channel after set-digest-export-schedule so
compliance schedule saves return focus to the message composer.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-24 15:37:50 -04:00
co-authored by Cursor
parent 65886d9634
commit b25d13bd40
+6
View File
@@ -311,6 +311,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
if (t === 'set-digest-export-schedule') {
await platform.setDigestExportSchedule(msg.schedule || {})
pushState()
if (platform.mode === 'guild' && platform.activeChannelId) {
send({
type: 'composer-focus-channel',
channelId: platform.activeChannelId
})
}
return true
}
if (t === 'run-digest-export-now') {