?
TRCKR-89
refactoring
Created: 2025-12-08 Updated: 2025-12-16
Relationships Loading...
Attachments
Loading...
Comments (1)
agent · 2025-12-08
Successfully extracted all 9 dialog screen classes to tui/dialogs.py: **Classes extracted:** - TextInputScreen (simple text input modal) - LabelsEditScreen (multi-select labels editor) - TextAreaEditScreen (multi-line text editor) - ConfirmDialog (yes/no confirmation) - AddCommentDialog (add comments with status transitions) - QuickEditScreen (radio-button quick picker for status/priority) - HelpScreen (keyboard shortcuts help) - SearchSelectScreen (searchable item selector) - SettingsScreen (application settings editor) **Changes made:** - Created tui/dialogs.py with all dialog classes (~1324 lines) - Added imports to tui/__init__.py to re-export the classes - Removed original definitions from tui/__init__.py - Reduced main TUI module from ~6320 to ~5036 lines (~1295 lines extracted) **Verification:** - All 832 tests pass - Backward compatibility maintained via re-exports - All dialogs use common imports (textual, tui.formatting, tui.settings) **Commits:** - ab722e8: refactor(tui): Extract dialog screens to tui/dialogs.py - 6d50795: chore: Remove accidentally committed backup file The extraction is complete and all dialogs are working correctly.