114 Commits

Author SHA1 Message Date
William Valentin
d14d19e7d9 feat: add medicine dose graph plotting and toggle functionality with comprehensive tests
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.4.0
2025-07-30 13:18:25 -07:00
William Valentin
0a8d27957f feat: enhance symptom scale creation with improved layout and dynamic value display 2025-07-30 12:41:25 -07:00
William Valentin
7e04aebd5d feat: update version to 1.3.4 in pyproject.toml and uv.lock 2025-07-30 12:35:07 -07:00
William Valentin
b7c01bc373 Refactor method names for clarity and consistency across the application
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
- Renamed `initialize_csv` to `_initialize_csv_file` in `DataManager` for better clarity.
- Updated method calls in `GraphManager` from `_create_toggle_controls` to `_create_chart_toggles` and `_on_toggle_changed` to `_handle_toggle_changed`.
- Changed method names in `MedTrackerApp` from `on_closing` to `handle_window_closing`, `add_entry` to `add_new_entry`, and `load_data` to `refresh_data_display`.
- Adjusted corresponding test method names in `TestMedTrackerApp` to reflect the new method names.
- Updated `UIManager` method names from `setup_icon` to `setup_application_icon` and adjusted related tests accordingly.
v1.3.4
2025-07-30 12:32:17 -07:00
William Valentin
e0faf20a56 feat: Remove obsolete CSV migration target from Makefile 2025-07-30 11:31:34 -07:00
William Valentin
7380d9a8a9 feat: Add logging directory and initialize app log file in Dockerfile 2025-07-30 11:21:44 -07:00
William Valentin
85e30671d4 feat: Enhance dose history parsing and add unit tests for improved functionality
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.3.3
2025-07-30 10:02:17 -07:00
William Valentin
b259837af4 feat: Add test script for mouse wheel scrolling functionality in entry and edit windows
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.3.2
2025-07-29 17:44:14 -07:00
William Valentin
aad02f0d36 feat: Improve canvas scrolling functionality with enhanced mouse wheel event handling 2025-07-29 17:42:38 -07:00
William Valentin
30750710b8 feat: Enhance edit window UI with improved layout and scrolling functionality 2025-07-29 17:28:52 -07:00
William Valentin
fd1f9a43c6 feat: Add release notes generation and Docker image information to build workflow 2025-07-29 17:09:57 -07:00
William Valentin
21dd1fc9c8 refactor: Update import statements to include 'src' prefix for module paths
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.2.2
2025-07-29 16:52:46 -07:00
William Valentin
5243352867 refactor: Remove coverage.xml file to streamline project structure 2025-07-29 16:41:40 -07:00
William Valentin
387981aa47 refactor: Remove __init__.py file and associated metadata 2025-07-29 16:41:29 -07:00
William Valentin
13b2c9c416 fix: Correct dotenv loading to use dynamic directory based on execution context 2025-07-29 16:38:21 -07:00
William Valentin
4c04bfb92e feat: Add debug logging to PyInstaller deployment process 2025-07-29 16:36:04 -07:00
William Valentin
2fe45e65eb chore: Bump version to 1.2.1 in project files 2025-07-29 14:52:41 -07:00
William Valentin
036b4d1215 feat: Update MedTrackerApp to correctly handle quetiapine and its dosage data 2025-07-29 14:51:29 -07:00
William Valentin
ce986db27b feat: Update DataManager to support new quetiapine medication format and adjust VSCode task command
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.2.1
2025-07-29 14:00:33 -07:00
William Valentin
188fb542be chore: Remove outdated backup of thechart_data.csv
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.2.0
2025-07-29 13:44:45 -07:00
William Valentin
206cee5cb1 fix: Update import paths for DataManager and UIManager in test files 2025-07-29 13:27:00 -07:00
William Valentin
2b037a83e8 Feat: Add quetiapine support to medication tracking
- Implement migration script to add quetiapine and quetiapine_doses columns to existing CSV data.
- Update DataManager to include quetiapine and quetiapine_doses in data handling.
- Modify MedTrackerApp to manage quetiapine entries and doses.
- Enhance UIManager to include quetiapine in the user interface for medication selection and display.
- Update tests to cover new quetiapine functionality, including sample data and DataManager tests.
2025-07-29 13:22:35 -07:00
William Valentin
1a6fb9fcd4 feat: Enhance Makefile with improved environment setup and cleanup commands 2025-07-29 00:07:48 -07:00
William Valentin
2a1edeb76e feat: Add comprehensive tests for punch button functionality and multiple dose handling 2025-07-28 23:12:50 -07:00
William Valentin
bce6c8c27d feat: Add comprehensive tests for punch button functionality and multiple dose handling 2025-07-28 23:10:04 -07:00
William Valentin
26fc74b580 fix: Update path for dose editing functionality test script 2025-07-28 22:06:37 -07:00
William Valentin
187096870c feat: Add comprehensive test scripts for multiple dose functionality and save behavior 2025-07-28 22:05:50 -07:00
William Valentin
3df610fc95 feat: Add tests for verifying multiple dose functionality and CSV saving 2025-07-28 22:04:33 -07:00
William Valentin
a4a71380ef feat: Add test script for verifying multiple dose punching and saving behavior 2025-07-28 21:51:34 -07:00
William Valentin
01a341130e fix: Add parent window reference to dose entry error and success messages 2025-07-28 21:39:53 -07:00
William Valentin
cbf01ad3dd refactor: Remove redundant dose entry clearing and updating in save process 2025-07-28 21:35:28 -07:00
William Valentin
760aa40a8c feat: Enhance dose tracking functionality in edit window and add punch button support 2025-07-28 21:31:38 -07:00
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
d5423e98c0 feat: Enhance .gitignore for improved file exclusion and organization 2025-07-28 18:28:24 -07:00
William Valentin
100a4af72d feat: Update run_tests.py script path for better organization 2025-07-28 18:28:11 -07:00
William Valentin
4c7da343eb feat: Add test scripts and runner for TheChart application
- Created demo_failing_test.py to demonstrate pre-commit blocking with a failing test.
- Added run_tests.py for executing all tests with coverage reporting.
- Introduced test.py as a quick test runner for the application, providing coverage reports and user-friendly output.
2025-07-28 18:21:40 -07:00
William Valentin
c20c4478a6 feat: Add coverage, iniconfig, pluggy, pygments, pytest, pytest-cov, and pytest-mock as dependencies
- Added coverage version 7.10.1 with multiple wheel distributions.
- Added iniconfig version 2.1.0 with its wheel distribution.
- Added pluggy version 1.6.0 with its wheel distribution.
- Added pygments version 2.19.2 with its wheel distribution.
- Added pytest version 8.4.1 with its wheel distribution and dependencies.
- Added pytest-cov version 6.2.1 with its wheel distribution and dependencies.
- Added pytest-mock version 3.14.1 with its wheel distribution and dependencies.
- Updated dev-dependencies to include coverage, pytest, pytest-cov, and pytest-mock.
- Updated requires-dist to specify minimum versions for coverage, pytest, pytest-cov, and pytest-mock.
2025-07-28 17:53:19 -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
f0dd47d433 Fix shell variable assignment and update shell activation command in Makefile 2025-07-28 16:22:17 -07:00
William Valentin
f1976a8006 Update Ansible interpreter path to use workspace variable for portability 2025-07-28 14:45:51 -07:00
William Valentin
82353d292a Update README.md to enhance installation instructions and migration guide to uv
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.1.0
2025-07-28 14:24:01 -07:00
William Valentin
85423d6a62 Fix VSCode settings by adding newline at end of file and ensuring Python interpreter path is correctly set 2025-07-28 14:23:49 -07:00
William Valentin
354fdda9b5 Add Ruff configuration for linting and formatting; set target version and exclusions
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.0.0
2025-07-28 13:38:47 -07:00
William Valentin
97fa6896ac Update project description in pyproject.toml for clarity; streamline dev dependencies formatting 2025-07-28 13:24:53 -07:00
William Valentin
d3615d93df Refactor VSCode settings for improved Python and Ansible support; enhance Ruff configuration 2025-07-28 13:23:48 -07:00
William Valentin
e3622912dd Add VSCode configuration files for Python development 2025-07-28 12:44:35 -07:00
6cecb92596 Merge pull request 'poetry-to-uv-migration' (#1) from poetry-to-uv-migration into main
Reviewed-on: #1
2025-07-28 19:40:12 +00: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
8e03f105b0 Add SHELL variable and update shell command in Makefile 2025-07-28 12:37:04 -07:00
William Valentin
5a191a8fa0 Add ruff for linting and update configuration in pyproject.toml 2025-07-28 09:50:03 -07:00