Skip to content

Conversation

@kantord
Copy link
Member

@kantord kantord commented Dec 2, 2025

No description provided.

@kantord kantord self-assigned this Dec 2, 2025
@kantord kantord marked this pull request as ready for review December 2, 2025 14:16
Copilot AI review requested due to automatic review settings December 2, 2025 14:16
Copilot finished reviewing on behalf of kantord December 2, 2025 14:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a global error boundary page for Next.js App Router to handle catastrophic errors that occur outside the root layout. It also includes a testing best practice guideline update.

  • Adds global-error.tsx with a custom error UI featuring the ToolHive branding and a reset button
  • Updates testing documentation to recommend toBeVisible() over toBeInTheDocument() for better accessibility validation

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/app/global-error.tsx Implements global error boundary with custom UI and reset functionality
AGENTS.md Adds testing best practice guidance for visibility assertions

@kantord kantord merged commit ebf8433 into main Dec 2, 2025
21 checks 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.

3 participants