mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-04 11:52:25 +00:00
Extracted DM Relay UI logic and DM Attachment logic into separate binder modules to reduce the size of ProfileModalController.js. Updated file size baseline. Co-authored-by: PR0M3TH3AN <[email protected]>
852 B
852 B
Test Log
Environment
- Date: 2026-02-18
- Agent: decompose-agent
- File: js/ui/profileModalController.js
Commands
-
Lint
npm run lintResult: Passed (with expected asset warnings in dev).
-
Unit Tests
node scripts/run-unit-tests.mjs tests/profile-modal-controller.test.mjsResult: Passed (18 tests).
-
File Size Check
node scripts/check-file-size.mjs --report node scripts/check-file-size.mjs --updateResult:
- Reduced
js/ui/profileModalController.jsfrom 6258 to 5884 lines. - Updated baseline in
scripts/check-file-size.mjs.
- Reduced
Manual QA
- Verified imports in
js/ui/profileModalController.js. - Verified logic in new binder files.
- Verified no circular dependencies (binders only import utils, controller passes
this).