You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warn Before Closing Query Tab with Unsaved SQL #1686
Currently, when a user writes SQL queries in a query tab and then closes the tab (using the close button or Cmd + W), the tab closes immediately without any warning or confirmation message. As a result, all unsaved queries and work in progress are lost.
Steps to Reproduce
Open a query tab.
Write or modify one or more SQL queries.
Execute some queries or leave queries unsaved.
Close the tab using the close button or Cmd + W.
Current Behavior
The query tab closes immediately without any confirmation dialog, causing all written queries in the tab to be lost.
Expected Behavior
If the query tab contains unsaved or modified content, TablePro should display a confirmation dialog such as:
This tab contains unsaved queries. Are you sure you want to close it?
Activity