From 9aa114eb3cf96b1739c143f9bdbe3f7261d391d2 Mon Sep 17 00:00:00 2001 From: Jacob Zweifel Date: Thu, 27 Aug 2026 15:33:03 -0400 Subject: [PATCH 1/2] Tell the reader when a section stops short MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Posts and writing rendered a fixed head of their collections and simply stopped: a reader with 342 posts saw five, with nothing on the page saying so and nowhere to go for the rest. The career log is untouched — a résumé that hides entries reads as concealment, not curation. A trimmed list now closes with one line in the theme's system voice: how much is here, and where the whole of it lives. The count is free — both adapters already page the entire collection before slicing — so they now report it alongside the trimmed list. The line only appears when there is somewhere to send the reader: a count with no destination is a tease. Posts always have one (the owner's Bluesky profile, by DID). Writing has one when every listed document belongs to a single publication that publishes an address; documents spread across publications, or legacy records that name none, get no line. Resolving that publication costs a read, so it is only attempted once a listing is known to be short. The default post count moves 5 → 8, which an honest cue makes affordable; per-section `limit` in the site record still overrides it. 7 new tests (224 in web). Co-Authored-By: Claude Opus 5 --- .../lib/components/theme/SiteSections.svelte | 36 +++++++- .../lib/server/atmosphere/atmosphere.test.ts | 81 ++++++++++++++++-- apps/web/src/lib/server/atmosphere/bluesky.ts | 13 ++- apps/web/src/lib/server/atmosphere/index.ts | 4 +- .../lib/server/atmosphere/standard-site.ts | 46 ++++++++-- apps/web/src/lib/server/render/render.test.ts | 83 ++++++++++++++++++- apps/web/src/lib/server/render/site.ts | 45 +++++++--- apps/web/src/lib/site-view.ts | 17 +++- apps/web/src/routes/admin/+page.server.ts | 10 +-- 9 files changed, 296 insertions(+), 39 deletions(-) diff --git a/apps/web/src/lib/components/theme/SiteSections.svelte b/apps/web/src/lib/components/theme/SiteSections.svelte index c01a9fe..b3fd7aa 100644 --- a/apps/web/src/lib/components/theme/SiteSections.svelte +++ b/apps/web/src/lib/components/theme/SiteSections.svelte @@ -1,5 +1,5 @@