feat: Add keyboard shortcut for toggling search/filter panel and update documentation

This commit is contained in:
William Valentin
2025-08-06 11:45:05 -07:00
parent 02cc60fdc3
commit af747c4008
4 changed files with 36 additions and 0 deletions
+1
View File
@@ -125,6 +125,7 @@ make test
- **Ctrl+S**: Save/Add entry - **Ctrl+S**: Save/Add entry
- **Ctrl+Q**: Quit application - **Ctrl+Q**: Quit application
- **Ctrl+E**: Export data - **Ctrl+E**: Export data
- **Ctrl+F**: Toggle search/filter panel
- **F1**: Show help - **F1**: Show help
- **F2**: Open settings - **F2**: Open settings
+2
View File
@@ -47,6 +47,7 @@ Professional keyboard shortcut system for efficient navigation and operation.
##### Data Management: ##### Data Management:
- **Ctrl+N**: Clear entries - **Ctrl+N**: Clear entries
- **Ctrl+R / F5**: Refresh data - **Ctrl+R / F5**: Refresh data
- **Ctrl+F**: Toggle search/filter panel
- **Delete**: Delete selected entry - **Delete**: Delete selected entry
- **Escape**: Clear selection - **Escape**: Clear selection
@@ -253,6 +254,7 @@ Comprehensive keyboard shortcuts for efficient navigation and data entry.
##### Data Management: ##### Data Management:
- **Ctrl+N**: Clear entries - Clear all input fields for new entry - **Ctrl+N**: Clear entries - Clear all input fields for new entry
- **Ctrl+R / F5**: Refresh data - Reload data from CSV and update displays - **Ctrl+R / F5**: Refresh data - Reload data from CSV and update displays
- **Ctrl+F**: Toggle search/filter - Show or hide the search and filter panel
##### Window Management: ##### Window Management:
- **Ctrl+M**: Manage medicines - Open medicine management window - **Ctrl+M**: Manage medicines - Open medicine management window
+32
View File
@@ -37,6 +37,7 @@ Professional keyboard shortcut system for efficient navigation and operation.
#### Data Management: #### Data Management:
- **Ctrl+N**: Clear entries - **Ctrl+N**: Clear entries
- **Ctrl+R / F5**: Refresh data - **Ctrl+R / F5**: Refresh data
- **Ctrl+F**: Toggle search/filter panel
- **Delete**: Delete selected entry - **Delete**: Delete selected entry
- **Escape**: Clear selection - **Escape**: Clear selection
@@ -177,6 +178,37 @@ Comprehensive symptom tracking with configurable pathologies.
- **Scale-based Rating**: 0-10 rating system for symptom severity - **Scale-based Rating**: 0-10 rating system for symptom severity
- **Historical Tracking**: Full symptom history with trend analysis - **Historical Tracking**: Full symptom history with trend analysis
### 🔍 Advanced Search and Filter System
Powerful data filtering and search capabilities for analyzing your health data.
#### Search Features:
- **Text Search**: Search through notes and text fields with intelligent matching
- **Date Range Filtering**: Filter entries by specific date ranges
- **Medicine Filtering**: Show only entries where specific medicines were taken or not taken
- **Pathology Score Filtering**: Filter by symptom severity score ranges
- **Combined Filters**: Use multiple filters simultaneously for precise data analysis
#### User Interface:
- **Toggle Panel**: Access via Ctrl+F or Tools menu - panel shows/hides as needed
- **Quick Filters**: Pre-configured filters for common use cases
- **Search History**: Remember previous search terms for easy reuse
- **Filter Summary**: Clear display of active filters and their effects
- **Real-time Updates**: Results update immediately as filters are applied
#### Filter Types:
- **Date Range**: Filter entries between start and end dates (inclusive)
- **Medicine Status**: Show entries where medicines were taken (✓) or not taken (✗)
- **Symptom Scores**: Filter by minimum and maximum pathology scores
- **Text Search**: Case-insensitive search through notes and text content
- **Combined Logic**: Multiple filters work together with AND logic
#### Usage Examples:
- Find all entries where anxiety score was > 7
- Show only days when Bupropion was taken
- Search for entries containing "headache" in notes
- Filter to last 30 days with depression scores between 3-6
- Combine filters: High anxiety + specific medicine + date range
### 📝 Data Management ### 📝 Data Management
Robust data handling with comprehensive backup and migration support. Robust data handling with comprehensive backup and migration support.
+1
View File
@@ -10,6 +10,7 @@ TheChart application supports comprehensive keyboard shortcuts for improved prod
## Data Management ## Data Management
- **Ctrl+N**: Clear entries - Clears all input fields to start a new entry - **Ctrl+N**: Clear entries - Clears all input fields to start a new entry
- **Ctrl+R** or **F5**: Refresh data - Reloads data from the CSV file and updates the display - **Ctrl+R** or **F5**: Refresh data - Reloads data from the CSV file and updates the display
- **Ctrl+F**: Toggle search/filter - Shows or hides the search and filter panel for data filtering
## Window Management ## Window Management
- **Ctrl+M**: Manage medicines - Opens the medicine management window - **Ctrl+M**: Manage medicines - Opens the medicine management window