148 Commits

Author SHA1 Message Date
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
William Valentin
a633a00a85 Update dependency management: add requirements files and include pandas, colorlog, and pyinstaller 2025-07-27 14:16:12 -07:00
William Valentin
bfd915e69a Comment out uv-export and pip-compile hooks in pre-commit configuration 2025-07-27 14:15:57 -07:00
William Valentin
8fa721a0a5 Disable pre-commit hooks for black, flake8, autopep8, and pyupgrade 2025-07-27 13:56:57 -07:00
William Valentin
e6f87e086b Add uv-pre-commit hooks for dependency management 2025-07-27 13:52:14 -07:00
William Valentin
2a7b0ca89e Replace poetry by uv 2025-07-27 13:47:47 -07:00
William Valentin
d206bc67ab Add .ruff_cache to .gitignore to exclude ruff cache files 2025-07-27 13:19:37 -07:00
William Valentin
62a05f91ba Add deployment instructions and make options to README 2025-07-26 13:04:55 -07:00
William Valentin
15be1733ea Set default date to today in input frame 2025-07-26 12:07:13 -07:00
William Valentin
3d5b3afbbb Reorganize pre-commit hooks for improved readability and consistency 2025-07-26 12:06:53 -07:00
William Valentin
dddf28ecc0 Update Bupropion dosage in UIManager to reflect 150/300 mg 2025-07-26 11:37:57 -07:00
William Valentin
d6c7be2031 Update .env.example with complete environment variable definitions and descriptions for clarity 2025-07-26 11:12:26 -07:00
William Valentin
7f1c655f7e Uncomment black hook in pre-commit configuration for code formatting 2025-07-26 11:10:31 -07:00
William Valentin
3875e0956f Refactor Makefile to improve environment setup; change poetry install command to use --no-root and fix formatting for consistency. 2025-07-25 10:30:38 -07:00
William Valentin
4d11f28cad Enhance GraphManager with toggle controls for chart elements and update plotting logic based on toggle states 2025-07-25 10:30:22 -07:00
William Valentin
6f5a9f90cf Update pyproject.toml to include flake8 and autopep8 in dev dependencies for improved code quality checks 2025-07-25 10:30:14 -07:00
William Valentin
62606a03b0 Refactor .pre-commit-config.yaml for improved readability; adjust indentation and comment formatting for consistency. 2025-07-25 10:29:52 -07:00