Skip to content

Add error boundary around the bonding curve chart to prevent a chart crash from breaking the whole profile page #690

Description

@Chucks1093

Summary

A rendering error inside the bonding curve chart component currently bubbles up and crashes the entire creator profile page. An error boundary scoped to the chart should catch the error and show a fallback message while keeping the rest of the page functional.

Scope

  • Wrap the bonding curve chart in a React error boundary component
  • The fallback UI should show a short message: 'Chart unavailable — try refreshing'
  • The fallback should include a retry button that resets the error boundary and re-renders the chart
  • Log the caught error to the existing client-side error logger
  • The rest of the creator profile page should remain fully interactive during the fallback state

Acceptance Criteria

  • Chart error does not crash the profile page
  • Fallback message and retry button shown on error
  • Retry button resets the boundary and attempts to re-render the chart
  • Error logged to the client-side error logger
  • No infinite retry loop if the chart continues to fail

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions