Skip to content

[FEATURE]: Add a dedicated 404 "Page Not Found" page for unknown routes #264

Description

@RounakKumarAgarwal

Feature and its Use Cases

Currently, OrgExplorer has no Not Found page. The catch-all route in src/App.jsx silently redirects every unknown path to the home page:

<Route path="*" element={} />

So if a user opens a mistyped or outdated link (e.g. /overveiw, /repos, or an old bookmarked route), they land on the home page with no indication that the page they wanted doesn't exist. This is confusing, especially for shared links, and makes broken links hard to notice.

Proposed feature: replace the redirect with a dedicated NotFoundPage that:

  • Clearly shows a "404 – Page Not Found" message
  • Displays the path the user attempted to visit
  • Provides a "Go to Home" button (and optionally a "Go back" button)
  • Renders inside the existing Layout (Navbar + Footer) so navigation stays available
  • Follows the current theme and works in both light and dark mode
  • Is responsive on mobile

Benefits:

  • Users understand the link is broken instead of being silently redirected
  • Easier to spot broken or outdated links shared across AOSSIE channels
  • Standard UX pattern for single-page apps

Additional Context

@Zahnentferner approved working on this on Discord. I'd like to take it up, so could you please assign it to me? @rahul-vyas-dev

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions