Skip to content

Conversation

@simeonlee
Copy link
Member

Status: WIP - NOT READY FOR REVIEW

This is part of the error boundaries work, split into separate PRs for review.

Stacked on: #5588

Summary

Updates PageLayout to handle count loading errors gracefully:

  • Adds CountError component showing "—" with tooltip on error
  • Uses Await pattern for async count loading
  • Shows Skeleton during loading state

Adds chart skeleton components for loading states:

  • LineChartSkeleton in ModelLatency
  • ChartSkeleton in ModelUsage

Test plan

  • Typecheck passes
  • Lint passes
  • Unit tests pass
  • Manual verification: PageLayout shows skeleton while loading, "—" on error

Updates PageLayout to handle count loading errors gracefully:
- Adds CountError component showing "—" with tooltip on error
- Uses Await pattern for async count loading
- Shows Skeleton during loading state

Adds chart skeleton components for loading states:
- LineChartSkeleton in ModelLatency
- ChartSkeleton in ModelUsage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants