feat(ui-flow): role-editor open/close/select events (Phase 769)

Map role-editor UI operations to role-editor-opened/closed/selected.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 14:20:02 -04:00
co-authored by Cursor
parent 5d2146efb8
commit 97470930af
+18
View File
@@ -3152,6 +3152,24 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
}
return true
}
if (
t === 'role-editor-open' ||
t === 'role-editor-close' ||
t === 'role-editor-select'
) {
pushState()
send({
type:
t === 'role-editor-open'
? 'role-editor-opened'
: t === 'role-editor-close'
? 'role-editor-closed'
: 'role-editor-selected',
guildId: msg.guildId || platform.guild?.guild?.id || null,
roleId: msg.roleId || null
})
return true
}
if (
t === 'settings-open' ||
t === 'settings-close' ||