Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/prediction-markets/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ export default async function PredictionMarketsHubPage() {
tip="Median of per venue p50 latency on the warm price endpoint, trailing 24h."
/>
<SummaryCard
label="Tracked venues and feeds"
value={`${cohort.venues.length} + ${cohort.dataFeeds.length}`}
label="Tracked venues"
value={`${cohort.venues.length}${cohort.dataFeeds.length > 0 ? ` + ${cohort.dataFeeds.length}` : ""}`}
/>
</section>

Expand Down
3 changes: 1 addition & 2 deletions src/app/products/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,7 @@ export default async function ProviderPage({
p.slug === "polymarket" ||
p.slug === "kalshi" ||
p.slug === "limitless" ||
p.slug === "myriad" ||
p.slug === "predexon"
p.slug === "myriad"
) && (
<>
<span className="text-ink-faint"> · </span>
Expand Down
18 changes: 10 additions & 8 deletions src/components/pm-hub-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,19 @@ export function PmHubTabs({ cohort }: { cohort: PmCohortSummary }) {
>
Venues
</TabButton>
<TabButton
active={tab === "feeds"}
onClick={() => setTab("feeds")}
count={feedsCount}
>
Data feeds
</TabButton>
{feedsCount > 0 && (
<TabButton
active={tab === "feeds"}
onClick={() => setTab("feeds")}
count={feedsCount}
>
Data feeds
</TabButton>
)}
</div>

{tab === "venues" && <PmVenuesLeaderboard rows={cohort.venues} />}
{tab === "feeds" && <PmDataFeedsLeaderboard rows={cohort.dataFeeds} />}
{tab === "feeds" && feedsCount > 0 && <PmDataFeedsLeaderboard rows={cohort.dataFeeds} />}
</>
);
}
Expand Down
3 changes: 2 additions & 1 deletion src/lib/pm-stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ const PM_VENUES: VenueSeed[] = [
];

const PM_DATA_FEEDS: DataFeedSeed[] = [
{ slug: "predexon", name: "Predexon", coverage: ["polymarket", "kalshi", "limitless"], isReference: false },
// Predexon was tracked via pm-data-freshness (retired 2026-07). Re-add
// when a replacement freshness harness ships.
];

function promUrl(): string | null {
Expand Down
7 changes: 0 additions & 7 deletions src/lib/pm-venue-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,8 @@ export const PM_VENUE_META: Record<string, { url: string; chainLabel: string }>
myriad: { url: "https://myriad.markets", chainLabel: "Abstract L2" },
};

// Logo paths come from the central manifest (`src/lib/logo-manifest.ts`)
// so a slug whose file extension changes (e.g. predexon.svg → predexon.png)
// only needs the manifest edit, not a parallel update here. The previous
// shape hardcoded ".png" for slugs whose actual asset was ".svg" and the
// header in PmDataFeedSection rendered a broken-image glyph for codex,
// mobula, and predexon.
export const PM_FEED_META: Record<string, { url?: string }> = {
"polymarket-clob": { url: "https://polymarket.com" },
predexon: { url: "https://predexon.com" },
};

export type PmVenueContext = {
Expand Down
Loading