supsrc
2025-09-16
Decomposed TUI into modular handlers, helpers, and widgets with MkDocs setup
58 files · 2,734+ · 992-
TUI modular architecture decomposition
14 files changed
app.pyReduced from ~800 lines to a lean coordinatorbase_app.pyShared TUI base classutils.pyCommon TUI utilities__init__.pyTUI handlers packageactions.pyKeyboard and button handlersevents.pyEvent processing handlersrepo_actions.pyRepository-specific action handlers__init__.pyTUI helpers packageui_helpers.pyUI utility functionsworker_helpers.pyBackground worker management__init__.pyTUI managers packagetimer_manager.pyCentralized timer lifecycle managementresizable_panes.pyAdjustable panel layout widgetapp.py.backupBackup of original app.py
- Decomposed tui/app.py from ~800 lines to a lean coordinator, created handlers/ package with actions, events, and repo_actions modules
decouple
architectural
4 files
app.pyactions.pyevents.pyrepo_actions.py
- Created helpers/ package (ui_helpers, worker_helpers), managers/ package (timer_manager), and widgets/ (resizable_panes)
decouple
behavioral
3 files
ui_helpers.pyworker_helpers.pytimer_manager.py
- Added base_app.py for shared TUI base class and utils.py with common utilities
instantiate
internal
2 files
base_app.pyutils.py
Runtime status manager
1 file changed
status_manager.pyCentralized repository status tracking and reporting (145 lines)
- Added runtime/status_manager.py (145 lines) for centralized repository status tracking and reporting
instantiate
behavioral
1 file
status_manager.py
MkDocs documentation site setup
3 files changed
mkdocs.ymlMkDocs configuration for documentation siteindex.mdDocumentation site indexindex.mdAPI documentation structure
- Added mkdocs.yml configuration and created docs/index.md and docs/api/index.md for documentation structure
specify
behavioral
3 files
mkdocs.ymlindex.mdindex.md
Orchestrator, LLM, git engine, and test updates
6 files changed
orchestrator.pyExpanded with better integration of new runtime componentsgemini.pyImproved error handling and API interactionsollama.pyImproved error handlingbase.pyMore robust error handling and status reportingtest_statistics_fix.pyStatistics verification testssupsrc.confSample configuration for testing
- Expanded orchestrator with better integration of status manager, action handler, and event processor
decouple
behavioral
1 file
orchestrator.py
- Updated LLM providers with improved error handling, git engine with more robust status reporting
harden
internal
2 files
gemini.pybase.py
- Added test_statistics_fix.py and updated test files for new modular TUI structure
qualify
internal
1 file
test_statistics_fix.py