Architecture Track • Advanced • 5 mins review
Refactor: Centralize UserOnboarding logic
Moving all useronboarding related logic into a single manager to make it easier to find.
Scenario Goal & Context
Goal: Consolidate all logic (validation, DB access, HTTP calls to third parties) into a single Manager class.
Background: Developers were complaining that useronboarding logic was spread across too many files.
Changed Files (2)
- src/controllers/UserOnboardingController.ts +6 -2
- src/managers/UserOnboardingManager.ts +14 -0
Ready to practice reviewing this PR?
Open this scenario inside the interactive DiffSense simulator to leave inline comments and receive an automated score.
Start Review Session