feat(ui-flow): sync-guild-channel-topic recovery IPC (Phase 797)

Emits guild-sync-ready channelTopic slice and structural UI refresh.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-03 22:32:31 -04:00
co-authored by Cursor
parent 951c07f54f
commit 9f4d27bdb7
2 changed files with 13 additions and 0 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. Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
**Phase 797 (v0.8.764):** `sync-guild-channel-topic` → topic guild-sync-ready + structural push. Bundle: `npm run test:ci-phase797`.
**Phase 796 (v0.8.763):** `sync-guild-partition-heal` → force heal + structural push. Bundle: `npm run test:ci-phase796`. **Phase 796 (v0.8.763):** `sync-guild-partition-heal` → force heal + structural push. Bundle: `npm run test:ci-phase796`.
**Phase 795 (v0.8.762):** `sync-guild-mesh-triple` → guild-mesh-topology emit + structural push. Bundle: `npm run test:ci-phase795`. **Phase 795 (v0.8.762):** `sync-guild-mesh-triple` → guild-mesh-topology emit + structural push. Bundle: `npm run test:ci-phase795`.
+11
View File
@@ -863,6 +863,17 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState({ structural: true, light: false, source: 'sync-guild-channel-settings' }) pushState({ structural: true, light: false, source: 'sync-guild-channel-settings' })
return true return true
} }
if (t === 'sync-guild-channel-topic') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
const gid = platform.guild.guild.id
platform.emit('guild-sync-ready', { guildId: gid, channelTopic: 1 })
if (typeof platform.requestGuildSyncFanout === 'function') {
platform.requestGuildSyncFanout()
}
}
pushState({ structural: true, light: false, source: 'sync-guild-channel-topic' })
return true
}
if (t === 'sync-guild-mesh-triple') { if (t === 'sync-guild-mesh-triple') {
if (platform.mode === 'guild' && platform.guild?.guild?.id) { if (platform.mode === 'guild' && platform.guild?.guild?.id) {
platform.emit('guild-mesh-topology', { platform.emit('guild-mesh-topology', {