Skip to content

Conversation

@AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Dec 11, 2025

Purpose

Add a custom error page to handle unexpected errors gracefully. This page provides users with options to navigate back to the home page or refresh the current page, enhancing the overall user experience during error scenarios.

⚠️ It is quite hard to test this page, it cannot be trigger in development mode, we have to build the app and have a real error in production to see it.

Proposal

  • add error boundary page
  • send sentry informations about the problem

Demo

image

@AntoLC AntoLC self-assigned this Dec 11, 2025
@AntoLC AntoLC added enhancement improve an existing feature frontend labels Dec 11, 2025
@github-actions
Copy link

github-actions bot commented Dec 11, 2025

Size Change: +3.22 kB (+0.08%)

Total Size: 4.14 MB

Filename Size Change
apps/impress/out/_next/static/bd90d7a6/_buildManifest.js 0 B -903 B (removed) 🏆
apps/impress/out/_next/static/chunks/pages/_error.js 2.77 kB +2.58 kB (+1402.72%) 🆘
apps/impress/out/_next/static/04d925f9/_buildManifest.js 905 B +905 B (new file) 🆕

compressed-size-action

@AntoLC AntoLC force-pushed the feat/error-boundary-page branch 2 times, most recently from e22dcda to 709b2da Compare December 11, 2025 16:08
@AntoLC AntoLC linked an issue Dec 11, 2025 that may be closed by this pull request
@AntoLC AntoLC requested a review from rl-83 December 11, 2025 16:12
@rl-83
Copy link
Collaborator

rl-83 commented Dec 12, 2025

Here is my proposal with a custom illustration

@rl-83 rl-83 added the designed A UX/UI design has been proposed label Dec 12, 2025
@AntoLC AntoLC requested review from Ovgodd and removed request for rl-83 December 12, 2025 14:47
@AntoLC AntoLC force-pushed the feat/error-boundary-page branch from 709b2da to 7b92242 Compare December 12, 2025 14:48
Add a custom error page to handle unexpected errors
gracefully. This page provides users with options
to navigate back to the home page or refresh
the current page, enhancing the overall user
experience during error scenarios.
It is quite hard to test this page, it cannot
be trigger in development mode, we have to build
the app and have a real error in production to
see it.
@AntoLC AntoLC force-pushed the feat/error-boundary-page branch from 7b92242 to cc94bbf Compare December 12, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

designed A UX/UI design has been proposed enhancement improve an existing feature frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a boundary error page

3 participants