fix: show a page for unknown routes - #590
vansh-nagar wants to merge 2 commits into
Conversation
35d0483 to
35ac1a4
Compare
|
@vansh-nagar Can you add a screenshot and e2e test |
|
@vansh-nagar Please rebase and add e2e tests for this |
Commits on this pull request are not verified1 of 2 commit is not showing as Verified on GitHub, so this pull request cannot be merged into
|
|
Added the requested mocked Playwright coverage. The test opens an unknown URL, verifies the URL is preserved, checks the focused “Page not found” heading and requested-path message, then follows the dashboard recovery link. The focused browser test, E2E type-check, Prettier, and ESLint all pass. |
Unknown URLs now render a dedicated not-found page inside the authenticated application shell instead of silently rewriting the address to
/dashboard.The page keeps the requested URL visible, names the path that failed, moves focus to its heading for assistive technology, and links to the dashboard and global search using the app-owned UI primitives.
Checks run:
NotFoundComponentunit testsFixes #578