Description
Description
The current implementation of our codebase has some coarse-grained functionality that could benefit from increased granularity for better maintainability, modularity, and overall developer experience. This issue proposes refining key areas of the codebase before it goes too large and out of control.
Example of Improvement
File Operations (MainWindow::openFile
, MainWindow::saveFile
, MainWindow::saveFileAs
)
- File handling is mixed with UI logic.
- Proposed Change:
- Move file reading/writing into a separate FileManager class.
- Decouple error handling from UI messages.
Proposed Approach
- Refactor large functions into modular components.
- Introduce helper classes (e.g.,
FileManager
). - Improve separation of concerns between UI, logic, and state management.
Additional Context
This will improve readability, extensibility, and debugging while making it easier to introduce new features.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done