Commit Graph

17 Commits

Author SHA1 Message Date
William Valentin e35a8af5c1 Implement dose tracking functionality and enhance CSV migration
- Added a new migration script to introduce dose tracking columns in the CSV.
- Updated DataManager to handle new dose tracking columns and methods for adding doses.
- Enhanced MedTrackerApp to support dose entry and display for each medicine.
- Modified UIManager to create a scrollable input frame with dose tracking elements.
- Implemented tests for delete functionality, dose tracking, edit functionality, and scrollable input.
- Updated existing tests to ensure compatibility with the new CSV format and dose tracking features.
2025-07-28 20:52:29 -07:00
William Valentin 9aa1188c98 Implement date uniqueness validation in DataManager and update MedTrackerApp for duplicate checks 2025-07-28 17:28:00 -07:00
William Valentin 8a0b4fcdf2 Refactor imports and improve logging in multiple modules; streamline type hints and remove redundant code 2025-07-28 12:37:43 -07:00
William Valentin 3abe262804 Update logging configuration and file paths in constants and init modules 2025-07-24 11:55:10 -07:00
William Valentin 2142db7093 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
2025-07-23 16:10:22 -07:00
William Valentin 4ba4b1b7c5 Move make_icon func to MedTrackerApp class 2025-07-20 13:34:00 -07:00
William Valentin 351d3633fe Add logging and refactored code 2025-07-20 13:10:17 -07:00
William Valentin b9a9742f3b Add parent object to modal windows 2025-07-17 16:52:30 -07:00
William Valentin 1e0441fa07 Add logging with .env support 2025-07-17 15:36:52 -07:00
William Valentin bc7652aa57 Fix csv writer columns order 2025-07-17 12:33:51 -07:00
William Valentin 990a958c3c Prettier formatting 2025-07-17 12:22:57 -07:00
William Valentin 29ccc5fbd9 Refactored... 2025-07-17 12:20:20 -07:00
William Valentin c232cc631d Update counters, starting at 0 instead of 1 - add typing 2025-07-15 14:38:43 -07:00
William Valentin 96fa2551f6 Add verification of number of items in the table to prevent editing an empty object with no index 2025-07-15 14:36:17 -07:00
William Valentin c049f8572c Rename CSV file 2025-07-15 13:48:49 -07:00
William Valentin e8d23caa9f Refactor code 2025-07-15 13:38:35 -07:00
William Valentin 4d79e2bae1 first commit 2025-07-15 11:06:36 -07:00