RamiAwar / dataline

Chat with your data - AI data analysis and visualization on CSV, Postgres, MySQL, Snowflake, SQLite...
https://dataline.app
GNU General Public License v3.0
502 stars 49 forks source link

S11.3 - Add success/error messages to query runs / saves #130

Closed RamiAwar closed 3 months ago

RamiAwar commented 3 months ago

Create success / error messages for when we run SQL queries or save edited ones.

I tried doing it myself but got weird issues like getting multiple messages on run, and also getting these messages when I save a query! Not sure why, very curious to know. Image

anthony2261 commented 3 months ago

For the success message, are we sure we want to use the snackbar instead of a tooltip message that pops over the button that was clicked? The error message would be a snackbar since it's potentially a longer message

RamiAwar commented 3 months ago

Yeah let's just use a snackbar, it's more visible. We'll just set it to something that disappears quickly. I don't wanna build a tooltip and make sure it 's visible and and and. Snackbar is quick and dirty but also great UX.

anthony2261 commented 3 months ago

Done in #129, will automatically close on merge