mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 04:42:57 +00:00
refactor(watch-history): extract actor helpers from watchHistoryService (4/10)
File-size decomposition (no behavior change). Move getLoggedInActorKey, getSessionActorKey, and ensureWatchHistoryExtensionPermissions (which depend only on imported singletons, not module state) into js/watchHistoryActorHelpers.js, and drop the now-unused getActiveSigner/requestDefaultExtensionPermissions/getApplication imports from the service. watchHistoryService.js: 1491 -> 1388 lines (below its original 1395 baseline; re-recorded to 1386 to lock the reduction). Build + full unit suite green. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
b068854c94
commit
37a675392f
3 files changed
+126
-110
No files matched your search
@@ -52,7 +52,7 @@ const GRANDFATHERED = {
|
||||
"js/services/hashtagPreferencesService.js": 1434,
|
||||
"js/nostr/publishHelpers.js": 1415,
|
||||
"js/index.js": 1412,
|
||||
"js/watchHistoryService.js": 1395,
|
||||
"js/watchHistoryService.js": 1386,
|
||||
"js/app/playbackCoordinator.js": 1376,
|
||||
"js/feedEngine/stages.js": 1370,
|
||||
"js/ui/views/VideoListView.js": 1359,
|
||||
|
||||
Reference in new issue
Block a user