-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Chore/contextual errors for table editor #39004
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
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
throw new Error( | ||
`Error fetching table rows: ${error instanceof Error ? error.message : 'Unknown error'}` | ||
) | ||
throw new Error(error instanceof Error ? error.message : 'Unknown error') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The prefix here should be handled on the component that's consuming the error
Studio E2E Results
Artifacts: https://github.com/supabase/supabase/actions/runs/18009239922 Last updated: Thursday 25, September, 2025 14:04:05 (UTC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
- Tested on preview
Context
On the topic of enabling users to self debug issues, opting to provide contextual errors in the table editor especially when applying filters.
A common issue users run into is when providing a filter value that doesn't match the column data type, understandably with the current error UI it looks like it's something wrong with the dashboard. Opting to show actionable feedback to users when running into errors - we can incrementally expand this (We've already got one for foreign tables).
Before
Changes involved
retry
to false when fetching table rows