mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
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:
1 parent
1f940a06b4
commit
cc25635ce6
4 files changed
+461
-363
No files matched your search
+1
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user