Refactor MedTrackerApp and UI components for improved structure and readability

- Simplified initialization logic in init.py
- Consolidated testing_mode assignment
- Removed unnecessary else statements
- Created UIManager class to handle UI-related tasks
- Modularized input frame creation, table frame creation, and graph frame creation
- Enhanced edit window creation with better organization and error handling
- Updated data management methods to improve clarity and maintainability
- Improved logging for better debugging and tracking of application flow
This commit is contained in:
William Valentin
2025-07-23 16:10:22 -07:00
parent 4ba4b1b7c5
commit 2142db7093
15 changed files with 1063 additions and 578 deletions

View File

@@ -7,6 +7,8 @@ services:
working_dir: '/app'
tty: true
volumes:
- ${SRC_PATH}:/app
- /tmp/.X11-unix:/tmp/.X11-unix
- ${XAUTHORITY:-~/.Xauthority}:/tmp/.docker.xauth:rw
environment:
- DISPLAY=${DISPLAY_IP}:0.0
- DISPLAY=${DISPLAY:-:0}
- XAUTHORITY=/tmp/.docker.xauth