mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
This commit addresses issues with the watch history not updating dynamically and adds a manual refresh mechanism. Changes: - Added a "Refresh" button to the watch history view in `views/history.html` and `js/historyView.js`. - Updated `watchHistoryService.js` to accept a `forceRefresh` option in `loadLatest`, which bypasses the cache freshness check and triggers a relay fetch. - Updated `js/feedEngine/watchHistoryFeed.js` to propagate the `forceRefresh` flag from the runtime context to the service. - Added user feedback (toast messages and logs) for "Clear Local History" and "Republish Now" actions. - Updated `tests/watch-history.test.mjs` to align with the new `fetchHistory` signature.