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