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

Show root cause of the error at the UI level #1263

Open
2 tasks done
prakhargupta1 opened this issue Nov 2, 2022 · 2 comments
Open
2 tasks done

Show root cause of the error at the UI level #1263

prakhargupta1 opened this issue Nov 2, 2022 · 2 comments
Labels
design: ui Design feature: Queries Making new API requests scope: toolpad-studio Abbreviated to "studio"

Comments

@prakhargupta1
Copy link
Member

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 💡

We need more error information. We should provide something like the Toolpad equivalent of a stacktrace, which not only says “ myQuery.data is undefined” but also gives information of myQuery itself, e.g. “ myQuery returned a 404”. With a link to open the query in question.

Examples 🌈

No response

Motivation 🔦

No response

@prakhargupta1 prakhargupta1 added status: waiting for maintainer These issues haven't been looked at yet by a maintainer design: ui Design feature: Queries Making new API requests and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 2, 2022
@prakhargupta1 prakhargupta1 mentioned this issue Nov 2, 2022
2 tasks
@prakhargupta1
Copy link
Member Author

Closing it as it was done for image and datagrid components.

@Janpot Janpot reopened this Jun 10, 2023
@Janpot
Copy link
Member

Janpot commented Jun 10, 2023

this issue is about showing more context for errors in the binding editor.
e.g. if the .data property of a query is undefined due to an error in the query, e.g. because the request 404s, we could show that in that same context.

@prakhargupta1 prakhargupta1 added the scope: toolpad-studio Abbreviated to "studio" label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design: ui Design feature: Queries Making new API requests scope: toolpad-studio Abbreviated to "studio"
Projects
None yet
Development

No branches or pull requests

2 participants