feat(ui-flow): scoped discovery Explore refresh IPC

Wire refresh-discovery-explore-scoped and async federation diagnostics export.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-01 21:53:12 -04:00
co-authored by Cursor
parent 98e236f225
commit 8e82182b8f
2 changed files with 9 additions and 1 deletions
+2
View File
@@ -4,6 +4,8 @@ Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. M
**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.621 (Phase 649):** `export-federation-sync-diagnostics``federation-sync-diagnostics-exported`. Bundle: `npm run test:phase649-federation-discovery` (app repo). **v0.8.621 (Phase 649):** `export-federation-sync-diagnostics``federation-sync-diagnostics-exported`. Bundle: `npm run test:phase649-federation-discovery` (app repo).
**v0.8.620 (Phase 648):** `export-multi-guild-sync-diagnostics``multi-guild-sync-diagnostics-exported`. Bundle: `npm run test:phase648-multi-guild-mesh` (app repo). **v0.8.620 (Phase 648):** `export-multi-guild-sync-diagnostics``multi-guild-sync-diagnostics-exported`. Bundle: `npm run test:phase648-multi-guild-mesh` (app repo).
+7 -1
View File
@@ -233,7 +233,7 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
return true return true
} }
if (t === 'export-federation-sync-diagnostics') { if (t === 'export-federation-sync-diagnostics') {
const data = platform.exportFederationSyncDiagnostics() const data = await platform.exportFederationSyncDiagnostics()
send({ send({
type: 'federation-sync-diagnostics-exported', type: 'federation-sync-diagnostics-exported',
json: JSON.stringify(data, null, 2) json: JSON.stringify(data, null, 2)
@@ -241,6 +241,12 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
pushState() pushState()
return true return true
} }
if (t === 'refresh-discovery-explore-scoped') {
const result = await platform.refreshDiscoveryExploreScoped()
send({ type: 'discovery-explore-scoped-refreshed', result })
pushState()
return true
}
if (t === 'mark-onboarding-explore-shown') { if (t === 'mark-onboarding-explore-shown') {
await platform.markOnboardingExploreShown() await platform.markOnboardingExploreShown()
pushState() pushState()