feat(ui-flow): permissions modal IPC and mentionable role patch

Handle permissions-modal-open composer blur and pass mentionable on
update-guild-custom-role (Phase 681 / v0.8.656).

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-02 23:49:01 -04:00
co-authored by Cursor
parent 38c9034424
commit fc868935f9
2 changed files with 9 additions and 1 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.
**Phase 681 (v0.8.656):** `permissions-modal-open``permissions-modal-opened`; `update-guild-custom-role` passes `mentionable`. Bundle: `npm run test:ci-phase681`.
**Phase 680 (v0.8.655):** `announcement-follow-changed`, `retry-announcement-crosspost` IPC + composer blur sidecar. Bundle: `npm run test:ci-phase680`.
**Phase 679 (v0.8.654):** `thread-modal-open``thread-modal-opened`; `create-thread` passes `autoArchiveMinutes`. Bundle: `npm run test:ci-phase679`.
+7 -1
View File
@@ -2374,6 +2374,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
send({ type: 'invite-modal-opened' })
return true
}
if (t === 'permissions-modal-open') {
pushState()
send({ type: 'permissions-modal-opened' })
return true
}
if (t === 'revoke-invite') {
await platform.revokeInvite(msg.code)
pushState()
@@ -2462,7 +2467,8 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
name: msg.name,
color: msg.color,
permissions: msg.permissions,
hoist: msg.hoist
hoist: msg.hoist,
mentionable: msg.mentionable
})
if (platform.mode === 'guild' && platform.activeChannelId) {
send({