feat: improving error handling across the major pages#755
Draft
thostetler wants to merge 4 commits intoadsabs:masterfrom
Draft
feat: improving error handling across the major pages#755thostetler wants to merge 4 commits intoadsabs:masterfrom
thostetler wants to merge 4 commits intoadsabs:masterfrom
Conversation
Member
thostetler
commented
Jan 7, 2026
- Add retry utilities with exponential backoff for transient failures
- Configure React Query with global retry strategy (5xx, timeouts, network errors)
- Add PageErrorBoundary and PageErrorFallback components
- Wrap major pages (/, /search, /classic-form, /abs/*) with error boundaries
- Add useNetworkStatus hook for online/offline detection
- Add NetworkStatusIndicator for app-wide connectivity feedback
- Improve _error.tsx with recovery options and user-friendly messages
- Add tests for retry and network status utilities
- Add retry utilities with exponential backoff for transient failures - Configure React Query with global retry strategy (5xx, timeouts, network errors) - Add PageErrorBoundary and PageErrorFallback components - Wrap major pages (/, /search, /classic-form, /abs/*) with error boundaries - Add useNetworkStatus hook for online/offline detection - Add NetworkStatusIndicator for app-wide connectivity feedback - Improve _error.tsx with recovery options and user-friendly messages - Add comprehensive tests for retry and network status utilities
- Added hideHomeButton prop to PageErrorFallback for home page - Wrapped all /abs/[id] sub-pages with error boundaries - Wrapped all /search sub-pages with error boundaries - Wrapped feedback forms, auth pages, journalsdb, and public-libraries
- Wraps page component in ErrorBoundary inside Layout - Preserves app shell (header/nav) when errors occur - Acts as safety net for pages without explicit boundaries
541d291 to
e24a8c6
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #755 +/- ##
========================================
- Coverage 71.8% 71.7% -0.1%
========================================
Files 217 222 +5
Lines 24485 24934 +449
Branches 1402 1452 +50
========================================
+ Hits 17575 17869 +294
- Misses 6878 7033 +155
Partials 32 32
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.