From d57e059d0fcb3745d0682d0c6c5c22321b5b13a0 Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Tue, 20 Oct 2026 21:18:01 +0700 Subject: [PATCH] docs(features): bring back not connected strip entries on Reopen Last Session --- features/tabs.mdx | 2 +- features/workspace-rail.mdx | 4 ++-- security/privacy.mdx | 2 +- troubleshooting.mdx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/features/tabs.mdx b/features/tabs.mdx index d102d19c..0d451de6 100644 --- a/features/tabs.mdx +++ b/features/tabs.mdx @@ -146,7 +146,7 @@ PostgreSQL, Redshift, and CockroachDB keep one connection per database in the co | Per-table filters, column widths | | | Tab order and which tab was frontmost | | -The tab set is written when you switch tabs, a second after you stop typing, and every 30 seconds otherwise, so a crash costs at most the last half minute. On relaunch only the frontmost tab runs its query; the others load the first time you switch to them, and one that fails shows the error inline. A connection that cannot be reached shows the driver's error with **Try Again**, **Manage Connections…**, and **Copy Details**, and stays in the next session's list. Whether the last session reopens at all is [Startup Behavior](/customization/general-settings#startup). +The tab set is written when you switch tabs, a second after you stop typing, and every 30 seconds otherwise, so a crash costs at most the last half minute. On relaunch only the frontmost tab runs its query; the others load the first time you switch to them, and one that fails shows the error inline. Every connection on the [connections strip](/features/workspace-rail) comes back in the same order. One you canceled while it connected, or disconnected, comes back as **Not connected** and does not dial until you press **Connect**. A connection that cannot be reached shows the driver's error with **Try Again**, **Manage Connections…**, and **Copy Details**, and dials again at the next launch. Whether the last session reopens at all is [Startup Behavior](/customization/general-settings#startup). ## Row limits diff --git a/features/workspace-rail.mdx b/features/workspace-rail.mdx index 3e2a4626..e54d3d18 100644 --- a/features/workspace-rail.mdx +++ b/features/workspace-rail.mdx @@ -68,11 +68,11 @@ Right-click an entry and choose **Close Database “\”** to close that **Close Connection “\”**, below it, closes the whole connection: every tab across every database it has open, its session, and all of its entries. The window closes too if that was its last connection, and **File > Close Connection** does the same for the connection on screen. A connection down to one entry has nothing else left, so closing that entry closes it. Nothing is lost for good: reopen the connection, from the connection list or **Database > Switch Connection…**, and its tabs come back as they were. -**Disconnect**, on the same menu while the connection is live, ends the session and keeps everything else. No window closes, no entry disappears, and the tabs are saved first; the connection shows a Reconnect pane in their place until **Database > Reconnect**, or the pane's own button, brings both back. **Database > Disconnect** does the same for the connection on screen, asking first when a transaction is open, a query is running, or changes are unsaved. Nothing reconnects on its own, and a connection you disconnected is not reopened at the next launch. +**Disconnect**, on the same menu while the connection is live, ends the session and keeps everything else. No window closes, no entry disappears, and the tabs are saved first; the connection shows a Reconnect pane in their place until **Database > Reconnect**, or the pane's own button, brings both back. **Database > Disconnect** does the same for the connection on screen, asking first when a transaction is open, a query is running, or changes are unsaved. Nothing reconnects on its own, a relaunch included: a connection you disconnected comes back on the strip as **Not connected**. ## Reordering -Drag entries to arrange them. The order is shared by every window, kept across launches, and an entry returns to its slot when you reopen it. Until you drag anything, entries follow the order their connections opened, one connection's databases grouped by name, and a connection you disconnect keeps its place. +Drag entries to arrange them. The order is shared by every window, kept across launches, and an entry returns to its slot when you reopen it. Until you drag anything, entries follow the order their connections opened, one connection's databases grouped by name, and a connection you disconnect keeps its place. Reopening the last session keeps that order. Deleting a connection takes its entries out of the saved order. The rest is kept to 500 entries, dropping the ones you no longer have open, oldest first, so a database renamed or dropped on the server does not hold a slot forever. diff --git a/security/privacy.mdx b/security/privacy.mdx index 8e8d4afc..09ab45f3 100644 --- a/security/privacy.mdx +++ b/security/privacy.mdx @@ -175,7 +175,7 @@ Every path here is under `~/Library/Application Support/TablePro/` unless it say | `mcp-handshake.json` | The bound port and the bridge token, mode `0600`. | | `TabState/`, `RecentlyClosedTabs/` | Open and recently closed tabs, including their query text. | | `FilterState/`, `ColumnLayout/` | Per-table filters and column widths. | -| `LastOpenConnections.json` | What to reopen for **Reopen Last Session**. | +| `LastSession.json`, `LastOpenConnections.json` | What to reopen for **Reopen Last Session**, and which of those connections dial on their own. | | `Plugins/` | Plugins you installed yourself. | | `Registry/URLCache/` | The cached plugin catalog. | | `team_library.json` | The cached team library. | diff --git a/troubleshooting.mdx b/troubleshooting.mdx index a312404b..13409ebe 100644 --- a/troubleshooting.mdx +++ b/troubleshooting.mdx @@ -30,7 +30,7 @@ A failure that happens on one engine only is on that engine's page, which ends w A failed connect paints the window with **Could not connect to `…`**, the driver's own message, and three buttons: **Try Again**, **Manage Connections…**, **Copy Details**. - **Refused** means something answered and said no: the server is not listening on that port, or it is bound to `127.0.0.1` only. **Timed out** means nothing answered, which points at a firewall, a security group or a VPN. Tell them apart with `nc -zv host port`. -- **Still on Connecting**: after 12 seconds on one step the pane says "This is taking longer than usual." **Cancel** gives up at once and drops that connection from **Reopen Last Session**; a connect that fails on its own keeps its place there. +- **Still on Connecting**: after 12 seconds on one step the pane says "This is taking longer than usual." **Cancel** gives up at once. **Reopen Last Session** brings that connection back as **Not connected** without dialing it; a connect that fails on its own dials again. - On macOS 15 and later, a database at a local network address (`192.168.x.x`, `.local`) needs the Local Network permission. Grant it to TablePro under **System Settings > Privacy & Security > Local Network**. Loopback and internet hosts are unaffected. - Authentication failures are engine-specific. See [PostgreSQL](/databases/postgresql), [MySQL](/databases/mysql) or [SQL Server](/databases/mssql).