feat(bots): Phase 684 bot-modal-open and uninstall-bot IPC (v0.8.659)
Add bot-modal-open → bot-modal-opened and uninstall-bot composer blur routes. Update README for Phase 684 bundle test:ci-phase684. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
|
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
|
||||||
|
|
||||||
|
**Phase 684 (v0.8.659):** `bot-modal-open` → `bot-modal-opened`; `uninstall-bot` composer focus. Bundle: `npm run test:ci-phase684`.
|
||||||
|
|
||||||
|
**Phase 683 (v0.8.658):** `slash-modal-open` → `slash-modal-opened`; slash command create/invoke IPC. Bundle: `npm run test:ci-phase683`.
|
||||||
|
|
||||||
**Phase 682 (v0.8.657):** `member-roles-modal-open` → `member-roles-modal-opened`; `set-member-custom-roles` composer focus. Bundle: `npm run test:ci-phase682`.
|
**Phase 682 (v0.8.657):** `member-roles-modal-open` → `member-roles-modal-opened`; `set-member-custom-roles` composer focus. Bundle: `npm run test:ci-phase682`.
|
||||||
|
|
||||||
**Phase 681 (v0.8.656):** `permissions-modal-open` → `permissions-modal-opened`; `update-guild-custom-role` passes `mentionable`. Bundle: `npm run test:ci-phase681`.
|
**Phase 681 (v0.8.656):** `permissions-modal-open` → `permissions-modal-opened`; `update-guild-custom-role` passes `mentionable`. Bundle: `npm run test:ci-phase681`.
|
||||||
|
|||||||
@@ -2389,6 +2389,22 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
send({ type: 'slash-modal-opened' })
|
send({ type: 'slash-modal-opened' })
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'bot-modal-open') {
|
||||||
|
pushState()
|
||||||
|
send({ type: 'bot-modal-opened' })
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if (t === 'uninstall-bot') {
|
||||||
|
await platform.uninstallBot(msg.botId)
|
||||||
|
pushState()
|
||||||
|
if (platform.mode === 'guild' && platform.activeChannelId) {
|
||||||
|
send({
|
||||||
|
type: 'composer-focus-channel',
|
||||||
|
channelId: platform.activeChannelId
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'revoke-invite') {
|
if (t === 'revoke-invite') {
|
||||||
await platform.revokeInvite(msg.code)
|
await platform.revokeInvite(msg.code)
|
||||||
pushState()
|
pushState()
|
||||||
|
|||||||
Reference in New Issue
Block a user