adhit-r / adhit-r/fairmind

Frontend: Add missing error boundaries to all pages

Offen
#119 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement frontend
Vorherrschende Sprache
Python
Sterne
9
Forks
12
Ø Merge
2 Std. 23 Min.
Gemergte PRs (30 T.)
2

Beschreibung

## Description

Not all pages are wrapped in ErrorBoundary components. When errors occur, users see blank screens instead of helpful error messages.

## Current State

- Dashboard has ErrorBoundary
- RealTimeMonitoring has ErrorBoundary
- Some chart components have ErrorBoundary
- But many pages don't have error boundaries

## Affected Pages

- `apps/frontend/src/app/ai-bom/page.tsx`
- `apps/frontend/src/app/security/scans/page.tsx`
- `apps/frontend/src/app/lifecycle/page.tsx`
- `apps/frontend/src/app/evidence/page.tsx`
- `apps/frontend/src/app/advanced-bias/page.tsx`
- And other pages

## Expected Solution

- Wrap all page components in ErrorBoundary
- Use the existing `withErrorBoundary` HOC where appropriate
- Ensure error boundaries provide helpful error messages
- Add error reporting integration (e.g., Sentry)

## Benefits

- Better user experience on errors
- Prevents blank screens
- Easier debugging
- Professional error handling

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.