Skip to content

Conversation

@matthewdeaves
Copy link
Owner

No description provided.

- Created menu_utils.py with reusable functions for common patterns
- Added handle_numeric_input for numeric input validation
- Added safe_menu_action decorator for error handling
- Added with_confirmation for confirmation prompts
- Added handle_menu_input for menu choices
- Added format_table_row for table formatting
- Refactored interactive.py to use new utilities
- Removed duplicate try/except blocks
- Standardized input handling across all menus
- Modified handle_menu_input to support free-form text input when choices list is empty
- Fixed error when creating new user with empty choices list
- Fixed method name mismatch between LogManager.cleanup_old_logs and logs command
- Removed unused force parameter
@matthewdeaves matthewdeaves merged commit 323540f into main Dec 24, 2024
1 check passed
@matthewdeaves matthewdeaves deleted the feature/dry-menu-functions branch December 24, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants