rilldata / rill

Rill is a tool for effortlessly transforming data sets into powerful, opinionated dashboards using SQL. BI-as-code.
https://www.rilldata.com
Apache License 2.0
1.6k stars 111 forks source link

Dashboard: show 4xx error messages inline #4898

Open ericpgreen2 opened 3 months ago

ericpgreen2 commented 3 months ago

For each of the dashboard's data components (e.g. the time series chart, the leaderboard), we should show any 4xx error messages to the user.

More context in Slack

nishantmonu51 commented 2 months ago

+cc @jkhwu for design inputs.

djbarnwal commented 2 months ago

We need to add error message and try again button for

jkhwu commented 2 months ago

Here are proposed mocks for error states for big number, time series chart, leaderboard: https://www.figma.com/design/Qt6EyotCBS3V6O31jVhMQ7/RILL?node-id=9798-633787&t=hQVVUmowZFGsmBFA-11

For TDD table, I recommend changing the text and removing the icon used in this blank state: https://www.figma.com/design/Qt6EyotCBS3V6O31jVhMQ7/RILL?node-id=12476-528077&t=CxKGiuWbKfczkFIT-11

For Pivot, I recommend changing the text and removing the icon used in this blank state: https://www.figma.com/design/Qt6EyotCBS3V6O31jVhMQ7/RILL?node-id=9320-655017&t=CxKGiuWbKfczkFIT-11