[decompose] extract BlockList and EditProfile from ProfileModalController

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-19 20:10:37 +00:00
1 parent 40d72709c8
commit bd6ca5b54e
8 files changed
+1047 -742

No files matched your search

+17
View File
@@ -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).