Phase 652: mesh replication diagnostics IPC and hub composer focus.
Export mesh replication diagnostics to clipboard and focus composer after announcement hub subscribe. 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.
|
||||||
|
|
||||||
|
**v0.8.624 (Phase 652):** `export-mesh-replication-diagnostics` → `mesh-replication-diagnostics-exported`; hub subscribe + composer focus. Bundle: `npm run test:phase652-live-mesh-churn` (app repo).
|
||||||
|
|
||||||
**v0.8.617 (Phase 645):** `request-member-page` → `member-page-requested`; `archive-thread` → `thread-archive-result` + composer focus. Bundle: `npm run test:phase645-large-guild-mesh` (app repo).
|
**v0.8.617 (Phase 645):** `request-member-page` → `member-page-requested`; `archive-thread` → `thread-archive-result` + composer focus. Bundle: `npm run test:phase645-large-guild-mesh` (app repo).
|
||||||
|
|
||||||
**v0.8.622 (Phase 650):** `refresh-discovery-explore-scoped` → `discovery-explore-scoped-refreshed`; async federation export. Bundle: `npm run test:phase650-live-federation-mesh`.
|
**v0.8.622 (Phase 650):** `refresh-discovery-explore-scoped` → `discovery-explore-scoped-refreshed`; async federation export. Bundle: `npm run test:phase650-live-federation-mesh`.
|
||||||
|
|||||||
@@ -191,6 +191,15 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
pushState()
|
pushState()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'export-mesh-replication-diagnostics') {
|
||||||
|
const data = platform.exportMeshReplicationDiagnostics(msg.guildId)
|
||||||
|
send({
|
||||||
|
type: 'mesh-replication-diagnostics-exported',
|
||||||
|
json: JSON.stringify(data, null, 2)
|
||||||
|
})
|
||||||
|
pushState()
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'sync-settings-mesh') {
|
if (t === 'sync-settings-mesh') {
|
||||||
await platform.syncSettingsMesh({ guildId: msg.guildId })
|
await platform.syncSettingsMesh({ guildId: msg.guildId })
|
||||||
pushState()
|
pushState()
|
||||||
@@ -620,6 +629,10 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
sourceChannelId: msg.sourceChannelId,
|
sourceChannelId: msg.sourceChannelId,
|
||||||
targetChannelId: msg.targetChannelId
|
targetChannelId: msg.targetChannelId
|
||||||
})
|
})
|
||||||
|
const focusCh = msg.targetChannelId || platform.activeChannelId
|
||||||
|
if (focusCh && platform.mode === 'guild') {
|
||||||
|
send({ type: 'composer-focus-channel', channelId: focusCh })
|
||||||
|
}
|
||||||
pushState()
|
pushState()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user