You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[ ]**Documentation** - README/docs updated if behavior changed
16
17
-[ ]**All Tests Pass** - Run `pytest -v` and verify all tests pass
17
18
18
-
**AI Contributors:** Read this entire document including all linked files (TESTING.md, ACCESSIBILITY.md, MIGRATION_GUIDE.md) before implementing ANY feature.
19
+
**AI Contributors:** Read this entire document including all linked files (TESTING.md, ACCESSIBILITY.md, MIGRATION_GUIDE.md, FRONTEND_ERROR_HANDLING.md) before implementing ANY feature.
19
20
20
21
## Table of Contents
21
22
@@ -79,7 +80,7 @@ I had copilot write all of this primarily so I can ensure it always does all the
79
80
5.**Verify Setup**
80
81
81
82
- Application: http://localhost:80
82
-
- API: http://localhost:5000/api/health
83
+
- API: http://localhost/api/health
83
84
84
85
## Development Workflow
85
86
@@ -469,6 +470,29 @@ All UI changes must meet accessibility standards. See [ACCESSIBILITY.md](./ACCES
469
470
3. Test with a screen reader
470
471
4. Run automated tools (axe DevTools, Lighthouse)
471
472
473
+
## Frontend Error Handling
474
+
475
+
All frontend API interactions must follow error handling best practices to ensure a consistent user experience when the database or API is unavailable.
476
+
477
+
See [FRONTEND_ERROR_HANDLING.md](./FRONTEND_ERROR_HANDLING.md) for comprehensive guidelines on:
478
+
479
+
-**Database Connection Monitoring**: Continuous polling and status tracking
480
+
-**API Call Patterns**: 5-second timeouts with AbortController
0 commit comments