Skip to content

Feat/dead routes recovery#184

Merged
mikewheeleer merged 3 commits into
Agentpay-Org:mainfrom
Unclebaffa:feat/dead-routes-recovery
Jun 27, 2026
Merged

Feat/dead routes recovery#184
mikewheeleer merged 3 commits into
Agentpay-Org:mainfrom
Unclebaffa:feat/dead-routes-recovery

Conversation

@Unclebaffa

Copy link
Copy Markdown
Contributor

Summary of Changes

I successfully enriched the 404 page with recovery links. Here's what was accomplished:

1. Enhanced not-found.tsx

  • Added semantic <nav aria-label="Helpful links"> landmark
  • Four recovery links: Home (/), Services (/services), Stats (/stats), Docs (/docs)
  • All links keyboard-accessible with focus-visible outlines
  • Full dark mode support
  • Maintains all existing functionality

2. Comprehensive Test Suite

  • 14 tests covering all functionality
  • 100% code coverage (exceeds 95% requirement)
  • Tests semantic structure, accessibility, dark mode, and edge cases

3. Documentation Updated

  • README.md includes new section on 404 recovery links
  • Clear explanation of the navigation landmark and accessibility features

4. Validation Complete

  • All 47 test suites passed (380 tests)
  • No lint errors
  • No TypeScript errors
  • 100% code coverage on not-found.tsx

5. Git Commits Created

Three focused, separate commits:

  1. 938068a - Add recovery links navigation to 404 page
  2. 2c8e516 - Add comprehensive tests for 404 page with recovery links
  3. ad12e90 - Document 404 recovery links in README

Files Modified:

  • src/app/not-found.tsx (enhanced)
  • src/app/not-found.test.tsx (created)
  • README.md (documented)

All acceptance criteria have been met! The 404 page now provides users with a clear path back into the application through semantic, keyboard-accessible recovery links.

Closes #166

- Test navigation landmark and semantic list structure
- Test all four recovery links (Home, Services, Stats, Docs)
- Test keyboard accessibility with focus-visible outlines
- Test dark mode styling
- Achieve 100% code coverage
Add section explaining the semantic navigation landmark with
quick-return links to primary surfaces (Home, Services, Stats, Docs)
for improved user recovery and keyboard accessibility
@mikewheeleer

Copy link
Copy Markdown
Contributor

solid — merging this 🙌

@mikewheeleer mikewheeleer merged commit ad12e90 into Agentpay-Org:main Jun 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a global not-found illustration and quick-links to recover from dead routes

2 participants