mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
[decompose] extract BlockList and EditProfile from ProfileModalController
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
40d72709c8
commit
bd6ca5b54e
8 files changed
+1047
-742
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# Test Log
|
||||
|
||||
## Commands Run
|
||||
|
||||
1. `npm run lint`
|
||||
- Result: Passed (ignoring assets check).
|
||||
2. `node scripts/run-targeted-tests.mjs tests/profile-modal-controller.test.mjs`
|
||||
- Result: Passed (18/18 tests).
|
||||
- Initial failure due to missing alias for `this.blockList` on main controller. Fixed by adding aliases in `ProfileBlockListController.js`.
|
||||
3. `node scripts/check-file-size.mjs --report`
|
||||
- Result: `js/ui/profileModalController.js` is now 5541 lines.
|
||||
|
||||
## Manual Verification Notes
|
||||
|
||||
- Code inspection confirmed extracted logic matches original behavior.
|
||||
- Delegate methods ensure API compatibility.
|
||||
- Constructor instantiation order preserved (new controllers added before `hashtagController` initialization).
|
||||
Reference in new issue
Block a user