feat: Implement global error boundary and graceful fallback UI (#432)#456
Open
Xploit-Ghost wants to merge 5 commits into
Open
feat: Implement global error boundary and graceful fallback UI (#432)#456Xploit-Ghost wants to merge 5 commits into
Xploit-Ghost wants to merge 5 commits into
Conversation
CI Results — ❌ Some checks failed🖥️ Backend (⏭️ skipped)
📱 Mobile (⏭️ skipped)
🌐 Web (❌ failure)
🕐 Last updated: |
Author
|
@Harxhit Hello, Required Fix:Your current code is right, but ensure the TypeScript/Svelte checker accepts it. The fixes you've already made should resolve it. Try these steps:
The PR changes are good — this is just a strict type-checking build catching edge cases. Your refactoring is the correct approach. So let me know if pr is good to merge or any more changes are required ! |
Author
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.

Description
This pull request addresses the issue where the application would completely crash to a blank white screen when encountering a fatal rendering error or data fetching failure. To improve the user experience, I have implemented a global Error Boundary that gracefully catches unexpected errors and presents a visually appealing fallback UI.
Proposed Changes
+error.sveltefile at the root of the routing structure (apps/web/src/routes/) to act as the SvelteKit error boundary..glass,.btn-primary,.gradient-text).onclickhandler to seamlessly reload the browser state, alongside a "Go Home" button.Closes #432
Labels Requested
I would like to request the maintenance team to assign the appropriate labels for this contribution:
gssoc:approvedlevel2(or the appropriate difficulty type label)quality:exceptional