Commit Graph

192 Commits

Author SHA1 Message Date
William Valentin
9cec07e9f6 feat: Add project directory structure guidelines for maintainability and scalability 2025-08-09 09:11:52 -07:00
William Valentin
e42ff9e378 feat: Update coding guidelines to enhance modularity and avoid deprecated patterns 2025-08-09 09:03:23 -07:00
William Valentin
568e1e338e refactor: Improve compatibility shim for historical imports and enhance module loading 2025-08-08 21:49:07 -07:00
William Valentin
ed34d5bfac feat: Enhance performance guidelines with multi-threading and code refactoring allowances 2025-08-08 21:42:09 -07:00
William Valentin
ae4503145a Refactor validation and UI components into thechart package
- Introduced validation utilities in src/thechart/validation with InputValidator class for various data types.
- Migrated theme management to thechart.ui.theme_manager, providing a legacy shim for backward compatibility.
- Updated tooltip system to thechart.ui.tooltip_system, maintaining legacy imports.
- Created compatibility shim for undo utilities, redirecting to thechart.core.undo_manager.
- Ensured all new modules are properly documented and maintain existing functionality.
2025-08-08 21:36:13 -07:00
William Valentin
7033052132 feat: Add a new task to run the Pytest suite in VSCode tasks configuration 2025-08-08 21:30:59 -07:00
William Valentin
b27a39e4eb fix: Clarify integration instructions in project summary for new features 2025-08-08 21:11:30 -07:00
William Valentin
eb12a486c8 fix: Remove redundant applyTo line and clarify terminal usage in coding guidelines 2025-08-08 20:22:50 -07:00
William Valentin
33d509389e feat: Add package proxy for main module and aggregate re-exports for managers 2025-08-08 18:38:00 -07:00
William Valentin
bd598d63f9 feat: Add package structure for TheChart, implement entry points for console scripts and module execution 2025-08-08 18:33:51 -07:00
William Valentin
583f5d793a fix: Update exception handling in GraphManager and improve logger initialization tests to avoid UnboundLocalError 2025-08-08 18:13:23 -07:00
William Valentin
87b59cd64a refactor: Update exception handling parameters in context managers for consistency 2025-08-08 17:44:50 -07:00
William Valentin
9e107f6125 feat: Implement data archiving functionality in DataManager, enhance input validation, and add UI option for archiving old data 2025-08-08 17:33:02 -07:00
William Valentin
117e489072 feat: Implement lazy-loading for SearchFilterWidget to improve performance and resource management 2025-08-08 17:26:45 -07:00
William Valentin
c54095df0b feat: Improve environment variable handling and logging initialization, add fallback for canvas creation in GraphManager, and enhance SearchFilterWidget with debouncing and trace suppression 2025-08-08 17:10:38 -07:00
William Valentin
15bdc75101 feat: Enhance logging initialization and error handling, add new tasks for testing dependencies, and improve data filtering logic 2025-08-08 15:53:37 -07:00
William Valentin
5fb552268c chore: Comment out .vscode directory and related files in .gitignore 2025-08-08 15:48:27 -07:00
William Valentin
b4a68c7c08 feat: Add tests for filter presets save/load/delete behavior in SearchFilterWidget 2025-08-08 13:00:12 -07:00
William Valentin
5354b963ac feat: Add filter presets, persistent column widths, and enhanced export options 2025-08-08 12:51:59 -07:00
William Valentin
30896e4975 feat: Enhance preset name prompt with live status indication for overwriting or creating presets 2025-08-08 12:40:08 -07:00
William Valentin
eab011b507 feat: Add confirmation prompt for overwriting existing presets 2025-08-08 12:32:59 -07:00
William Valentin
d85027152e feat: Enhance preset saving functionality with themed modal dialog for name input 2025-08-08 12:30:26 -07:00
William Valentin
f5c9b79a33 feat: Enhance export functionality with DataFrame support and UI improvements 2025-08-08 12:26:21 -07:00
William Valentin
b039447a1f feat: Implement search filter persistence and UI synchronization 2025-08-08 11:54:43 -07:00
William Valentin
61c8c72cf7 feat: Enhance UI feedback and improve data filtering logic 2025-08-08 11:32:43 -07:00
William Valentin
0252691e89 chore: Update version to 1.14.9 in Makefile, pyproject.toml, and uv.lock
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
2025-08-07 16:30:43 -07:00
William Valentin
9372d6ef29 feat: Implement application preferences with JSON persistence
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
- Added preferences management in `preferences.py` with functions to load, save, get, set, and reset preferences.
- Introduced a configuration directory structure based on the operating system.
- Integrated preferences into the settings window, allowing users to reset settings and manage window geometry.
- Enhanced `search_filter.py` to support flexible date column names and improved filtering logic.
- Updated `settings_window.py` to include options for managing backup and configuration folder paths.
- Introduced an `UndoManager` class to handle undo actions for add/update/delete operations.
- Improved UIManager to support sorting in tree views and added a toast notification feature.
v1.14.9
2025-08-07 16:26:17 -07:00
William Valentin
73498af138 chore: Update version to 1.13.9 in Makefile, pyproject.toml, and uv.lock 2025-08-07 12:29:46 -07:00
William Valentin
1e1e6c78ac feat: Add test scripts for dose parsing and UI tracking functionality
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.13.9
2025-08-07 12:25:05 -07:00
William Valentin
6cf321a56b fix: Improve dose timestamp formatting and handle placeholder text in UIManager so multiple entries can be retained/saved 2025-08-07 12:24:52 -07:00
William Valentin
8195b93152 fix: Add 12mg to get half of 25mg quick dose for Quetiapine in medicines.json 2025-08-06 16:06:34 -07:00
William Valentin
95b2cc6288 refactor: Remove documentation consolidation verification script 2025-08-06 15:16:44 -07:00
William Valentin
b9628ae3ed chore: Update version to 1.13.8 in Makefile, pyproject.toml, and uv.lock
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.13.8
2025-08-06 15:11:12 -07:00
William Valentin
e29c2f4344 feat: Enhance version update script to synchronize version in Makefile alongside pyproject.toml 2025-08-06 15:10:56 -07:00
William Valentin
8fc87788f9 feat: Consolidate documentation into a single comprehensive guide
- Created `CONSOLIDATED_DOCS.md` to serve as the primary documentation source, integrating user and developer guides, API references, and troubleshooting sections.
- Updated `README.md` to reference the new consolidated documentation.
- Preserved existing documentation files for backward compatibility, including `USER_GUIDE.md`, `DEVELOPER_GUIDE.md`, and others.
- Enhanced navigation structure in `docs/README.md` to facilitate easier access to documentation.
- Implemented UI flickering fixes, including auto-save optimizations, debounced filter updates, and efficient tree updates to improve user experience.
- Added verification script `verify_docs_consolidation.py` to ensure successful documentation consolidation and integrity.
2025-08-06 15:02:49 -07:00
William Valentin
55682a1d53 refactor: Update .env.example to improve variable definitions and paths 2025-08-06 14:38:46 -07:00
William Valentin
d9f08344af fix: Remove unnecessary data argument from pyinstaller command in deploy target 2025-08-06 13:45:01 -07:00
William Valentin
8dc2fdf69f feat: Implement automatic version synchronization between .env and pyproject.toml, update docker scripts to get version from .env 2025-08-06 13:37:32 -07:00
William Valentin
8336bbb9db refactor: Remove obsolete PDF test files 2025-08-06 12:48:11 -07:00
William Valentin
b46367c812 test: Add new test files for PDF export functionality 2025-08-06 12:46:36 -07:00
William Valentin
4ec3056fcd chore: Update version number to 1.13.7 in Makefile and pyproject.toml
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
v1.13.7
2025-08-06 12:39:21 -07:00
William Valentin
bb70aff24f feat: Enhance ExportManager with landscape PDF support and improved graph handling 2025-08-06 12:36:56 -07:00
William Valentin
af747c4008 feat: Add keyboard shortcut for toggling search/filter panel and update documentation 2025-08-06 11:45:05 -07:00
William Valentin
02cc60fdc3 fix: Update backup directory path in BackupManager to use BACKUP_PATH constant 2025-08-06 11:32:56 -07:00
William Valentin
40376a9cfc Add comprehensive tests for error handling, input validation, search filtering, and UI components
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
- Implemented unit tests for the ErrorHandler class, covering error handling, frequency tracking, and performance warnings.
- Created integration tests for input validation, error handling, auto-save functionality, and search/filter systems.
- Developed unit tests for the DataFilter, QuickFilters, and SearchHistory classes to ensure filtering logic works as expected.
- Added tests for the SearchFilterWidget UI component, verifying initialization, filter functionality, and responsiveness.
- Included edge case tests for error handling without UI manager and handling of None values.
v1.13.6
2025-08-06 10:58:55 -07:00
William Valentin
422617eb6c feat: Update documentation structure and content
- Added a link to the Recent Improvements section in the README.md for better visibility of new features.
- Removed the SEARCH_FILTER_FIX.md file as its content has been integrated into other documentation.
- Deleted the consolidate_docs.py script as its functionality is no longer needed after the documentation consolidation.
- Removed the outdated CHANGELOG.md file and replaced it with a new structure that consolidates all changelog information.
- Created a new DOCUMENTATION_INDEX.md file to provide a comprehensive guide to the documentation structure.
- Updated the docs/README.md to reflect the new documentation organization and included links to preserved legacy documentation.
2025-08-06 10:58:25 -07:00
William Valentin
0bfbdfe979 feat: Add AI coding guidelines and project overview to documentation 2025-08-06 09:56:06 -07:00
William Valentin
7bb06fabdd feat: Implement search and filter functionality in MedTrackerApp
- Added DataFilter class for managing filtering and searching of medical data.
- Introduced SearchFilterWidget for UI controls related to search and filters.
- Integrated search and filter features into MedTrackerApp, allowing users to filter data by date range, medicine status, and pathology scores.
- Implemented quick filters for common use cases (last week, last month, high symptoms).
- Enhanced data loading and display logic to accommodate filtered data.
- Added error handling for data loading issues.
- Updated UIManager to reflect filter status in the application.
- Improved entry validation in add_new_entry method to ensure data integrity.
2025-08-06 09:55:47 -07:00
William Valentin
780d44775d chore: cleanup 2025-08-06 09:49:57 -07:00
William Valentin
5a375e0d21 feat: consolidate test structure and enhance header visibility across themes 2025-08-05 15:48:15 -07:00