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:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user