-
Couldn't load subscription status.
- Fork 239
Description
What's up?
Would it be possible to display the errors in the playground in the "Compiled SQL" tab instead of the footer?
Having the errors in the "Compiled SQL" tab would allow using the "Copy to clipboard" link/button which would make it a bit easier for bug reports.
It also keeps the user's focus in one place because you're already watching there for your output. If you're typing in the playground and hit an error at some point, it's not clear what version of the input the Compiled SQL represents. I think it would be better if that area had the error output (or was cleared on errors) so you don't mistake that SQL for corresponding to the current PRQL (which is broken) in case you didn't notice the error message.
I've also had cases where the error message was too long and took over the whole window and I couldn't recover access to the PRQL input area anymore and had to reload the whole page (losing my work). I think that particular issue may have been fixed already though.
