iasql
iasql copied to clipboard
Editor for a tab waiting for a long-running query remains editable
We should probably prompt them to open a new tab
Hmm, not sure, it is true they can change the query but they will not be able to execute in that tab again until the current execution is done
The one advantage of the psql
-inspired UI concept was that once you submit the query, that query pops backwards into the history and clears the (smaller) editor area for continued editing.
The "equivalent" here would be opening a new tab each time you submit a query, which would be weird.
I kinda agree with @depombo that when the Run Query
button is disabled the editor should also be disabled, so when the results come back you're 100% certain what the query was that produced the table you're looking at, because the user can open a new tab to start working on another query in the meantime if they want.
But that also might be annoying if you know you need to make just a small change to a large query for your next query, so I'm not sure about this.
We will wait to see if this comes up more often and assess how we want to handle it