From c1ae73fda39f752f4a8dd6b986b91f0c29d0c068 Mon Sep 17 00:00:00 2001 From: Thomas Petersen Date: Tue, 4 Aug 2026 16:58:05 +0200 Subject: [PATCH] feat(desktop): preview cross-network passport signals with sample data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cross-server presence and full duplication counts need relay support (adoption events, portable attestations), but their look shouldn't wait for the protocol. Dev and e2e builds render a "Network record" block in the catalog passport — other servers running the persona, network-wide duplication, outside operators — clearly labelled Sample data and deterministic per persona id. Production builds never show it. Signed-off-by: Thomas Petersen --- .../agents/ui/PersonaCatalogPassport.tsx | 7 ++ .../ui/PersonaCatalogPassportPreview.tsx | 97 +++++++++++++++++++ desktop/src/features/passport/BADGES.md | 5 +- .../e2e/persona-catalog-passport.spec.ts | 8 ++ 4 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 desktop/src/features/agents/ui/PersonaCatalogPassportPreview.tsx diff --git a/desktop/src/features/agents/ui/PersonaCatalogPassport.tsx b/desktop/src/features/agents/ui/PersonaCatalogPassport.tsx index afd3ee515f..74e2a2c2f4 100644 --- a/desktop/src/features/agents/ui/PersonaCatalogPassport.tsx +++ b/desktop/src/features/agents/ui/PersonaCatalogPassport.tsx @@ -9,6 +9,10 @@ import { import { countCatalogRepublishers } from "@/features/agents/lib/personaAdoption"; import { usePersonaCatalogQuery } from "@/features/agents/lib/usePersonaCatalogRelay"; import { useCommunities } from "@/features/communities/useCommunities"; +import { + isPassportNetworkPreviewEnabled, + PersonaCatalogPassportPreview, +} from "@/features/agents/ui/PersonaCatalogPassportPreview"; import { useAgentPassportBadges } from "@/features/passport/hooks/useAgentPassportBadges"; import { PassportBadgeList } from "@/features/passport/ui/PassportBadges"; import { @@ -230,6 +234,9 @@ export function PersonaCatalogPassport({ this community’s catalog.

) : null} + {isPassportNetworkPreviewEnabled() ? ( + + ) : null} {publisherPubkey ? (