Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: show alert when detecting API errors (in pool and pool list pages) #764

Closed
wants to merge 4 commits into from

Conversation

agualis
Copy link
Contributor

@agualis agualis commented Jul 10, 2024

Detects API errors in pool list and pool detail pages:

  • Sends them to Sentry
  • Shows a UI alert

This is a first iteration. We should improve alert position and styles.

When catching ApolloError in pool list page:

poolListError

When catching ApolloError in pool detail page:

poolError

Copy link

vercel bot commented Jul 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontend-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2024 10:57am
test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2024 10:57am

Copy link
Contributor

@garethfuller garethfuller left a comment

Choose a reason for hiding this comment

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

Instead of replacing the pool. Can we make this a full app alert above the navbar please.

@agualis
Copy link
Contributor Author

agualis commented Jul 10, 2024

Instead of replacing the pool. Can we make this a full app alert above the navbar please.

Yeah, I won't have time to do that until next week so I pushed this ticket as an initial iteration.

@agualis agualis self-assigned this Jul 15, 2024
@garethfuller garethfuller marked this pull request as draft July 24, 2024 10:13
@agualis
Copy link
Contributor Author

agualis commented Aug 26, 2024

@alter-eggo This PR became stale but If you need a global alert for your tasks this week you can see them working in this debug page:
https://github.com/balancer/frontend-v3/blob/spike/batch-actions/app/(app)/debug/alerts/page.tsx#L1

@agualis
Copy link
Contributor Author

agualis commented Aug 29, 2024

Partially covered by #1031

@agualis agualis closed this Aug 29, 2024
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.

2 participants