feat: Implement global error boundary and graceful fallback UI (#432)#456
feat: Implement global error boundary and graceful fallback UI (#432)#456Xploit-Ghost wants to merge 5 commits into
Conversation
CI Results — ❌ Some checks failed🖥️ Backend (⏭️ skipped)
📱 Mobile (⏭️ skipped)
🌐 Web (❌ failure)
🕐 Last updated: |
|
@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 ! |
|
Hi @Xploit-Ghost , we have moved from Svelt and have now migrated to React, so it's recommended to make changes with the new architecture. I'll be happy to review your updated PR. Closing this for now. |

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