/items shows items only, not custody transfers

A `nft: "give"` message is a change of custody, not a thing. It has no photo of
its own, so it borrowed the photo of the item it transferred - which meant the
same object appeared on the grid twice, a few cards apart, distinguished only
by a dimmed image and an id overlay. That reads as a duplicate, not as a
hand-off.

Custody is better answered one level down. Each card already links to its
item's thread, where the mint and every hand-off since are in order, with the
steward resolved. So the overlay was showing a truncated feed id on the grid to
save a click that is worth making.

Filters on nft === "mint" rather than excluding gives: every custodisco message
carries one of the two - checked across all 407 - so matching mint is exact.
301 items from 3 feeds, down from 407 entries.

The feed count now counts feeds that actually contributed an item rather than
the size of the follow set. The pub follows itself and publishes no items, so
the old number was one too high and would have drifted further as feeds get
followed for other reasons.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192zBTNZKZn5svyJ5HTnYds
This commit is contained in:
2026-08-22 20:30:46 -04:00
co-authored by Claude Opus 5
parent cc0ad8c1a8
commit fc9539a618
3 changed files with 37 additions and 76 deletions
-2
View File
@@ -118,8 +118,6 @@ exports.init = function (sbot, config) {
var serveItems = createItemsHandler({
sbot: sbot,
defaultOpts: defaultOpts,
getMsg: getMsg,
getAbout: getAbout,
addAuthorAbout: addAuthorAbout,
renderItemGrid: renderItemGrid,
wrapPage: wrapPage,