From 60e9ede9cfd2acaf18f258fae69f0e5df2f2de67 Mon Sep 17 00:00:00 2001 From: Gigi Date: Wed, 22 Oct 2025 00:59:06 +0200 Subject: [PATCH] debug: add more detail to hydration logging --- src/services/bookmarkHelpers.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/services/bookmarkHelpers.ts b/src/services/bookmarkHelpers.ts index ae0d9ccb..2379f72c 100644 --- a/src/services/bookmarkHelpers.ts +++ b/src/services/bookmarkHelpers.ts @@ -205,8 +205,9 @@ export function hydrateItems( // Debug: log how many items have content const withContent = hydrated.filter(i => i.content && i.content.length > 0) - if (withContent.length > 0 || hydrated.length > 0) { - console.log(`📝 Hydrated ${withContent.length}/${hydrated.length} items have content`) + const notFound = items.filter(i => !idToEvent.has(i.id)) + if (hydrated.length > 0) { + console.log(`📝 Hydrated ${withContent.length}/${hydrated.length} have content, ${notFound.length}/${items.length} not found in map`) } return hydrated