Refactor watch history to use monthly buckets (v3)

Refactors `js/nostr/watchHistory.js` to store and publish watch history items in monthly buckets (`YYYY-MM`) instead of using chunk splitting. Updates storage version to 3, migrates existing data, and simplifies fetch/merge logic to handle monthly records. Removes legacy chunk rebalancing code. Updates tests to verify monthly bucketing behavior.
This commit is contained in:
google-labs-jules[bot] committed 2026-01-05 14:11:57 +00:00
1 parent 1f940a06b4
commit cc25635ce6
4 files changed
+461 -363

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@
"cross-env": "^7.0.3",
"esbuild": "^0.25.10",
"jsdom": "^24.0.0",
"nostr-tools": "^2.17.0",
"nostr-tools": "^2.19.4",
"pixelmatch": "^5.3.0",
"pngjs": "^7.0.0",
"postcss": "^8.4.41",