Split dashboard.rs god-class into domain-specific controllers #9
Labels
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coopcloud_code/projectmycelium_marketplace#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
src/controllers/dashboard.rsis a 7,810-line god-class containing 44+ handlers spanning 6 different domains. This violates separation of concerns and makes it extremely difficult to maintain, test, or reason about individual domains.Current Structure
All of these handlers live in a single file:
Target Structure
Split into 6 focused controller files:
Implementation Notes
src/routes/mod.rsto import from new module pathsmod.rsuseimportsAcceptance Criteria
dashboard.rsis replaced bydashboard/module directoryDependencies
Split 7810-line dashboard.rs into 8 domain controllers (commit
c9d212a)