mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- Implemented `hydrateVideoHistoryBatch` in `NostrClient` to fetch missing root events and sparse histories in a single `pool.list` request. - Refactored `hydrateVideoHistory` to use shared helper methods `getLocalVideoHistory` and `_processAndCacheEvent`. - Added `resolveVideoPostedAtBatch` to `PlaybackCoordinator` which delegates to the batched client method. - Updated `VideoListView` to collect videos needing timestamp resolution and call the batch method, falling back to individual calls if necessary. - Added regression test `tests/performance/resolvePostedAt.test.mjs` to verify reduced network calls. Co-authored-by: PR0M3TH3AN <[email protected]>