feat: improve error handling with user-friendly messages (Task 5.3)

- Updated all error messages to be more descriptive and actionable
- Verified error states render correctly in UI (loading, error, empty)
- Confirmed filter handlers check data_loaded before applying filters
- Error handling covers: missing DB, empty DB, SQLite errors, filter errors
This commit is contained in:
Andrew Charlwood
2026-02-04 19:20:57 +00:00
parent 8c04e65ced
commit 6c3b3abf03
2 changed files with 14 additions and 14 deletions
+4 -4
View File
@@ -175,10 +175,10 @@ cd pathways_app && timeout 60 python -m reflex run 2>&1 | head -30
- [ ] Verify smooth 60fps interactions
### 5.3 Error Handling
- [ ] Handle no data loaded state gracefully
- [ ] Handle filter resulting in zero records
- [ ] Handle any data loading errors
- [ ] User-friendly error messages
- [x] Handle no data loaded state gracefully
- [x] Handle filter resulting in zero records
- [x] Handle any data loading errors
- [x] User-friendly error messages
### 5.4 Final Verification
- [x] Load real data from SQLite (440K records, 552 drugs, 29 directorates, 32 indications)