mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-04 20:02:26 +00:00
fix: repair profileModalController decomposition by adding delegate methods
- Added delegate methods for `refreshAdminPaneState`, `refreshModerationSettingsUi`, `updateModerationTrustStats`, `runAdminMutation`, `sendAdminListNotification`, `describeAdminError`, `describeNotificationError`, `notifyAdminError` to `ProfileModalController.js`. - Added aliases for properties like `moderatorSection` in `ProfileModalController.js` to satisfy tests. - Removed duplicated method implementations from `ProfileModalController.js`. - Verified with unit tests (`tests/profile-modal-controller.test.mjs`) and linting. - Reduced `ProfileModalController.js` size by ~2000 lines. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
288beb424f
commit
f35d27d471
7 files changed
+2225
-2075
No files matched your search
+75
-2075
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user