Understand Non-blocking Loading behavior
mainLazysql uses a Non-blocking Loading pattern for database operations. When a query is in-flight, the UI remains interactive rather than showing a blocking modal or overlay.
Key behaviors:
- Loading Indicator: A thin text indicator appearing on the table's pagination bar (e.g., "Loading...") shows progress without stealing focus or blocking input.
- Stale Data: Old table results remain visible during a reload to prevent a blank screen. Data is only cleared once the new results arrive successfully. (Exception: SQL editor queries clear immediately upon execution).
- Load Cancellation: If a new load is triggered while an operation is already in-flight, the previous operation is cancelled via context cancellation before the new one begins.