From b8f702058969e6e13e90492bb045030bd68cb102 Mon Sep 17 00:00:00 2001 From: "@jeffrey via Whistlegraph Desk" Date: Sun, 26 Jul 2026 12:04:07 -0700 Subject: [PATCH] Fix Whistlegraph count and missing thumbnails Whistlegraph-Actor-Sub: auth0|63effeeb2a7d55f8098d62f9 Whistlegraph-Actor-Handle: @jeffrey Whistlegraph-Change: ms25yfuo-c999f1c1 --- system/public/whistlegraph.org/index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/system/public/whistlegraph.org/index.html b/system/public/whistlegraph.org/index.html index a2e754a1e7..8f043faf82 100644 --- a/system/public/whistlegraph.org/index.html +++ b/system/public/whistlegraph.org/index.html @@ -501,9 +501,9 @@ function renderPosts(code){ } function rowHTML(w){ - const thumb=w.noGlyph + const thumb=w.noGlyph||!w.thumb ? `` - : `Final glyph of ${w.title}`; + : `Final glyph of ${w.title}`; return `${thumb}`+ `[${w.code}]`+ `${w.title}${w.by}${w.perf>1?` ยท ${w.perf} posts`:""}`+ @@ -681,7 +681,9 @@ Promise.all([ const generatedWorks=(data.works||data.graphs.filter(w=>w.kind==="graph")) .filter(work=>!deletedWorks.has(work.code)&&(!activeCodes.size||activeCodes.has(work.code))) .map(work=>({...work,...(curation.works?.[work.code]||{}),...(curation.materializedWorks?.[work.code]||{})})); - const createdWorks=Object.entries(curation.createdWorks||{}).map(([code,work])=>({code,...work,...(curation.materializedWorks?.[code]||{}),kind:"graph"})); + const createdWorks=Object.entries(curation.createdWorks||{}) + .map(([code,work])=>({code,...work,...(curation.materializedWorks?.[code]||{}),kind:"graph"})) + .filter(work=>!deletedWorks.has(work.code)&&(!activeCodes.size||activeCodes.has(work.code))); WORKS=[...generatedWorks,...createdWorks]; CURATED_N=data.curated; BY=Object.fromEntries(WORKS.map(w=>[w.code,w])); LEGACY_BY=Object.fromEntries((data.legacy||[]).map(w=>[w.code,w])); -- 2.51.2