[decompose] extract helpers from js/ui/components/VideoModal.js

Decomposed js/ui/components/VideoModal.js by extracting "Similar Video" and "Pointer Key" logic into a new helper module js/ui/components/VideoModalSimilarHelpers.js.

- Reduced VideoModal.js line count from 6334 to 6045.
- Added comprehensive unit tests for extracted helpers.
- Updated check-file-size.mjs baseline.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-14 11:46:47 +00:00
1 parent 288beb424f
commit 54be0efcac
9 files changed
+576 -312

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ const GROWTH_MARGIN = 50; // lines — allowlisted files may grow by this much f
// They must NOT grow beyond (recorded + GROWTH_MARGIN).
const GRANDFATHERED = {
"js/ui/profileModalController.js": 8130,
"js/ui/components/VideoModal.js": 6284,
"js/ui/components/VideoModal.js": 6045,
"js/app.js": 5602,
"js/channelProfile.js": 5529,
"js/nostr/client.js": 4356,