Skip to content

Add a global error page for unhandled route errors and 404s with a link back to the marketplace #33

Description

@Chucks1093

Summary

Navigating to an unknown route or encountering an unhandled error currently shows a blank page. A global error page with a clear message and a 'Go to Marketplace' button would prevent users from feeling lost and reduce bounce rate.

Scope

  • Add a 404 page rendered for any unmatched route with message 'Page not found'
  • Add a global error boundary at the router level catching unhandled render errors
  • Both pages show a 'Go to Marketplace' button that navigates to the marketplace
  • Log unhandled render errors to the existing client-side error logger before showing the error page
  • 404 page should not log to the error logger (expected user behaviour)

Acceptance Criteria

  • Unmatched route renders 404 page with correct message
  • Unhandled render error renders error page
  • 'Go to Marketplace' button navigates correctly on both pages
  • Render errors logged to client-side logger
  • 404 visits not logged to error logger

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions