refactor: Split App struct into focused components (SRP violation) #209
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
rust
technical-debt
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/patch-seq#209
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
crates/repl/src/app.rscontains a 2,046-lineAppstruct with 54 methods handling at least 8 different responsibilities:This violates the Single Responsibility Principle and makes the code difficult to test, modify, and understand.
Current Structure
Proposed Solution
Split into focused components:
Files Affected
crates/repl/src/app.rs(primary)state.rs,visualizer.rs,executor.rs,session.rs,completion.rsAcceptance Criteria
Labels
refactor, technical-debt, high-priority
https://github.com/navicore/patch-seq/pull/222