- 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.
174 lines
5.9 KiB
Markdown
174 lines
5.9 KiB
Markdown
# TheChart
|
||
Modern medication tracking application with advanced UI/UX for monitoring treatment progress and symptom evolution.
|
||
|
||
## 🚀 Quick Start
|
||
```bash
|
||
# Install dependencies
|
||
make install
|
||
|
||
# Run the application
|
||
make run
|
||
|
||
# Run tests (consolidated test suite)
|
||
make test
|
||
```
|
||
|
||
## 📚 Documentation
|
||
|
||
### <20> **All-in-One Guide**
|
||
- **[📖 CONSOLIDATED DOCS](CONSOLIDATED_DOCS.md)** - **Complete documentation in one place (RECOMMENDED)**
|
||
|
||
### 🎯 **Quick Access by Role**
|
||
- **[👤 User Guide](USER_GUIDE.md)** - Complete features, keyboard shortcuts, and usage guide
|
||
- **[🛠️ Developer Guide](DEVELOPER_GUIDE.md)** - Development setup, testing, and architecture
|
||
- **[📋 Changelog](CHANGELOG.md)** - Version history and recent improvements
|
||
|
||
### <20> **Specialized Topics**
|
||
- **[🐛 UI Flickering Fix](UI_FLICKERING_FIX_SUMMARY.md)** - Latest performance improvements
|
||
- **[🔧 API Reference](API_REFERENCE.md)** - Technical documentation and system APIs
|
||
- **[✨ Recent Improvements](IMPROVEMENTS_SUMMARY.md)** - Latest enhancements and new features
|
||
|
||
### 📖 **Documentation Hub**
|
||
- **[📚 Documentation Index](docs/README.md)** - Complete documentation navigation
|
||
|
||
> 💡 **Getting Started**: For the most comprehensive information, start with [CONSOLIDATED_DOCS.md](CONSOLIDATED_DOCS.md). For quick access, users can check the [User Guide](USER_GUIDE.md) and developers can check the [Developer Guide](DEVELOPER_GUIDE.md).
|
||
|
||
## ✨ Recent Major Updates (v1.9.5+)
|
||
|
||
### 🎨 UI/UX Improvements
|
||
- **8 Professional Themes**: Arc, Equilux, Adapta, Yaru, Ubuntu, Plastik, Breeze, Elegance
|
||
- **Smart Tooltips**: Context-sensitive help throughout the application
|
||
- **Enhanced Keyboard Shortcuts**: Comprehensive shortcut system for all operations
|
||
- **Modern Styling**: Card-style frames, professional form controls, responsive design
|
||
|
||
### ⚡ Performance Improvements (Latest)
|
||
- **UI Flickering Fix**: Eliminated flickering during table scrolling
|
||
- **Debounced Updates**: 300ms debouncing for search/filter changes
|
||
- **Smooth Scrolling**: Preserved scroll position during data updates
|
||
- **Auto-save Optimization**: Non-intrusive background saving
|
||
- **Reduced CPU Usage**: Optimized scroll and update operations
|
||
|
||
### 🧪 Testing Improvements
|
||
- **Consolidated Test Suite**: Unified pytest-based testing structure
|
||
- **Quick Test Categories**: Unit, integration, and theme-specific tests
|
||
- **Enhanced Coverage**: Comprehensive test coverage with automated reporting
|
||
- **Developer-Friendly**: Fast feedback cycles and targeted testing
|
||
|
||
### 🚀 Performance & Quality
|
||
- **Optimized Data Management**: Enhanced CSV handling and caching
|
||
- **Improved Export System**: JSON, XML, and PDF export with graph integration
|
||
- **Code Quality**: Enhanced linting, formatting, and type checking
|
||
- **CI/CD Ready**: Streamlined testing and deployment pipeline
|
||
|
||
## 🎯 Key Features
|
||
|
||
### Core Functionality
|
||
- **📊 Medication Tracking**: Log daily medication intake with dose tracking
|
||
- **📈 Symptom Monitoring**: Track pathologies on customizable scales
|
||
- **📋 Data Management**: Comprehensive entry editing, validation, and organization
|
||
- **📤 Export System**: Multiple export formats (CSV, JSON, XML, PDF)
|
||
|
||
### Advanced Features
|
||
- **🎨 Theme System**: 8 professional themes with complete UI integration
|
||
- **⌨️ Keyboard Shortcuts**: Full keyboard navigation and shortcuts
|
||
- **📊 Visualization**: Interactive graphs and charts with matplotlib
|
||
- **💡 Smart Tooltips**: Context-aware help and guidance
|
||
- **⚙️ Settings Management**: Persistent configuration and preferences
|
||
|
||
## 🛠️ Installation
|
||
|
||
### Prerequisites
|
||
- Python 3.11+
|
||
- UV package manager (recommended) or pip
|
||
- Virtual environment support
|
||
|
||
### Setup
|
||
```bash
|
||
# Clone the repository
|
||
git clone <repository-url>
|
||
cd thechart
|
||
|
||
# Install with UV (recommended)
|
||
uv sync
|
||
|
||
# Or install with pip
|
||
python -m venv .venv
|
||
source .venv/bin/activate # On Windows: .venv\Scripts\activate
|
||
pip install -r requirements.txt
|
||
|
||
# Run the application
|
||
python src/main.py
|
||
```
|
||
|
||
## 🧪 Testing
|
||
|
||
### Quick Testing (Development)
|
||
```bash
|
||
# Fast unit tests
|
||
.venv/bin/python scripts/quick_test.py unit
|
||
|
||
# Theme functionality tests
|
||
.venv/bin/python scripts/quick_test.py theme
|
||
|
||
# Integration tests
|
||
.venv/bin/python scripts/quick_test.py integration
|
||
```
|
||
|
||
### Comprehensive Testing
|
||
```bash
|
||
# Full test suite with coverage
|
||
.venv/bin/python scripts/run_tests.py
|
||
|
||
# Or use make
|
||
make test
|
||
```
|
||
|
||
## 🚀 Usage
|
||
|
||
### Basic Workflow
|
||
1. **Launch**: Run `python src/main.py` or use the desktop file
|
||
2. **Configure**: Set up medicines and pathologies via the Tools menu
|
||
3. **Track**: Add daily entries with medication and symptom data
|
||
4. **Visualize**: View graphs and trends in the main interface
|
||
5. **Export**: Export data in your preferred format
|
||
|
||
### Keyboard Shortcuts
|
||
- **Ctrl+S**: Save/Add entry
|
||
- **Ctrl+Q**: Quit application
|
||
- **Ctrl+E**: Export data
|
||
- **Ctrl+F**: Toggle search/filter panel
|
||
- **F1**: Show help
|
||
- **F2**: Open settings
|
||
|
||
> 📖 See the [User Guide](USER_GUIDE.md) for complete usage instructions and advanced features.
|
||
|
||
## 🤝 Contributing
|
||
|
||
### Development Setup
|
||
See the [Developer Guide](DEVELOPER_GUIDE.md) for:
|
||
- Development environment setup
|
||
- Testing procedures and best practices
|
||
- Code quality standards
|
||
- Architecture overview
|
||
|
||
### Code Quality
|
||
This project maintains high code quality standards:
|
||
- **Testing**: Comprehensive test suite with >90% coverage
|
||
- **Linting**: Ruff for code formatting and style
|
||
- **Type Checking**: MyPy for type safety
|
||
- **Documentation**: Comprehensive documentation and examples
|
||
|
||
## 📄 License
|
||
|
||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
||
|
||
## 🔗 Links
|
||
|
||
- **Documentation**: Complete guides in the [Documentation Index](docs/README.md)
|
||
- **Testing**: Consolidated testing guide in [Developer Guide](DEVELOPER_GUIDE.md)
|
||
- **Changelog**: Version history in [CHANGELOG.md](CHANGELOG.md)
|
||
|
||
---
|
||
|
||
**TheChart** - Professional medication tracking with modern UI/UX
|