From 13ddc2d56c7c59580c1f07e40ddaaf1f91f00b5b Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Wed, 25 Nov 2026 12:11:47 +0700 Subject: [PATCH 1/2] docs: setup guide, import hand-off and shortcut presets --- faq.mdx | 2 +- features/keyboard-shortcuts.mdx | 12 +++++++++++- ios/index.mdx | 22 ++++++++++++++-------- linux/connect.mdx | 17 ++++++++++++++++- linux/keyboard-shortcuts.mdx | 11 ++++++++++- quickstart.mdx | 17 ++++++++++++++++- scripts/check-docs-against-source.py | 10 ++++++++++ switching.mdx | 22 ++++++++++++---------- 8 files changed, 90 insertions(+), 23 deletions(-) diff --git a/faq.mdx b/faq.mdx index 7a2a8ce3..abdf7e5c 100644 --- a/faq.mdx +++ b/faq.mdx @@ -114,7 +114,7 @@ The one exception is a fix you need straight away, meaning data loss, a crash on -**File > Import from Other App…** reads the connections TablePlus already has, groups included, and TablePlus does not need to be running. Each password is its own Keychain item, so macOS asks per item; choose **Always Allow** and it stops asking. Saved queries come across too, into a folder named TablePlus that every connection shows. Query history and column widths do not. The same dialog handles Sequel Ace, DBeaver, DataGrip, Beekeeper Studio, and Navicat. See [Switching to TablePro](/switching). +**File > Import > Import from Other App…** reads the connections TablePlus already has, groups included, and TablePlus does not need to be running. Passwords come along once you select **Include passwords**. Each is its own Keychain item, so macOS asks per item; choose **Always Allow** and it stops asking. Saved queries come across too, into a folder named TablePlus that every connection shows. Query history and column widths do not. For TablePlus's keys, choose it under **Use Shortcuts From** in **Settings > Keyboard**. The same dialog handles Sequel Ace, DBeaver, DataGrip, Beekeeper Studio, and Navicat. See [Switching to TablePro](/switching). diff --git a/features/keyboard-shortcuts.mdx b/features/keyboard-shortcuts.mdx index 98a130dc..22ea2373 100644 --- a/features/keyboard-shortcuts.mdx +++ b/features/keyboard-shortcuts.mdx @@ -3,7 +3,7 @@ title: Keyboard Shortcuts description: Every keyboard shortcut in TablePro, plus how to rebind them in Settings > Keyboard --- -Focus decides what a key does: `Cmd+[` outdents in the SQL editor and pages back in the data grid, and neither one shadows the other. Everything here is the shipped default, and most of it is rebindable in **Settings > Keyboard**. +Focus decides what a key does: `Cmd+[` outdents in the SQL editor and pages back in the data grid, and neither one shadows the other. Everything here is the shipped default, and most of it is rebindable in **Settings > Keyboard**, one key at a time or all at once with [another app's keys](#shortcuts-from-another-app). ## Same key, different pane @@ -374,6 +374,16 @@ Menu actions need `Cmd` or `Ctrl`, with `Option` and `Shift` available alongside Some shortcuts cannot be reassigned: editor built-ins such as `Cmd+/`, tab selection (`Cmd+1` through `Cmd+9`), zoom (`Cmd+=`, `Cmd+-`), and macOS system shortcuts, which are read live from System Settings. Try one and the row says why under it, with a beep, and keeps recording. +## Shortcuts from another app + +**Use Shortcuts From**, beside **Restore Defaults** under the list, sets the keys of the app you used before: TablePlus, Sequel Ace, DBeaver, DataGrip, Beekeeper Studio, Navicat or DBX. The [setup guide](/quickstart#the-setup-guide) offers the same list under **Shortcuts** in its last step, with the app you imported from first. + +- The preset is copied into your shortcuts once, over TablePro's defaults. Every row stays editable, and the summary under the list names the preset while your keys still match it. +- A preset key wins. The TablePro command that held it is left with no key; record a new one on its row to get it back. +- Shortcuts you changed by hand are replaced. A dialog counts them and asks first. +- **Restore Defaults**, or **TablePro** in the same menu, puts every default back. +- No preset moves `Cmd+C`, `Cmd+V`, `Cmd+X`, `Cmd+Z` or `Cmd+A`. Every preset key holds a modifier or is a function key, and a key the recorder refuses, such as an editor built-in or a macOS system shortcut, is skipped. + ## Outside the app Drive the app with no keyboard at all through the [Raycast extension](/integrations/raycast), the [`tablepro://` URL scheme](/developers/url-scheme), or an [MCP client](/integrations/mcp-clients). diff --git a/ios/index.mdx b/ios/index.mdx index b5d72e7f..df7973dc 100644 --- a/ios/index.mdx +++ b/ios/index.mdx @@ -12,20 +12,26 @@ You need iOS 18 or later. Builds ship on their own schedule, so a feature in a M ## First launch -A welcome sheet lists what the app does. **Continue** leads to at most two questions, each asked once: +With no saved connections, the first launch opens on **Welcome to TablePro**, the setup guide. Pick one way in, or tap **Skip**: + +| Row | Does | +| --- | --- | +| **Turn On iCloud Sync** | Brings down the connections from TablePro on your Mac. Shown while sync is off | +| **Import Connections** | Imports a `.tablepro` file from AirDrop, Files or Mail | +| **Add Connection** | Opens a new connection's form | +| **Open Sample Database** | Opens the [sample database](#the-sample-database) | + +Connections saved in another database app come over through the Mac: [import them there](/switching), then turn on iCloud Sync on both. The page shows once per device, and **More > Setup Guide** on the connection list opens it again. + +After it come at most two questions, each asked once: | Question | Shown when | If you swipe the sheet away | | --- | --- | --- | -| **Sync with iCloud** | The device is signed in to iCloud | Sync stays off | +| **Sync with iCloud** | The device is signed in to iCloud, and **Turn On iCloud Sync** was not picked | Sync stays off | | **Share Usage Data?** | Until you answer it | Nothing is sent | Both answers can change later, under **Settings > iCloud** and **Settings > Privacy**. After an update, a **What's New** sheet lists what changed, once per version. - - Welcome to TablePro sheet with four feature rows and a Continue button - Welcome to TablePro sheet with four feature rows and a Continue button - - ## Supported databases Every driver is compiled in, so there is no plugin system and nothing to install. The type picker offers these thirteen: @@ -58,7 +64,7 @@ Cassandra, BigQuery, Spanner, Snowflake and the rest have no iOS driver. Their c ## The connection list -Favorites come first, then **Recent** with the five connections opened last, then your groups, nested the way the Mac nests them. The **More** menu holds **Sort By** (**Manual**, **Name**, **Database Type**, **Last Connected**), **New Group**, **Manage Tags**, **Open Sample Database**, and import and export. Type a tag's name in the search field to filter by it; with two tags or more chosen, **Match All Tags** appears in the **More** menu. +Favorites come first, then **Recent** with the five connections opened last, then your groups, nested the way the Mac nests them. The **More** menu holds **Sort By** (**Manual**, **Name**, **Database Type**, **Last Connected**), **New Group**, **Manage Tags**, **Open Sample Database**, **Setup Guide**, and import and export. Type a tag's name in the search field to filter by it; with two tags or more chosen, **Match All Tags** appears in the **More** menu. | To | Do this | | --- | --- | diff --git a/linux/connect.mdx b/linux/connect.mdx index 156c3c03..86f8cb13 100644 --- a/linux/connect.mdx +++ b/linux/connect.mdx @@ -1,6 +1,6 @@ --- title: Connect -description: The engines, the connect dialog, TLS, SSH tunnels and SQLite or DuckDB files in TablePro for Linux +description: The engines, the connect dialog, the setup guide, TLS, SSH tunnels and SQLite or DuckDB files in TablePro for Linux tag: "Beta" --- @@ -57,6 +57,21 @@ Redshift, CockroachDB, TiDB, OceanBase and Databend are untested on Linux. Suppo For a MongoDB replica set or cluster behind a `mongodb+srv://` address, turn on **DNS Seed List**. **Authentication Database (optional)** names the database that holds the user. +## Setup guide + +While no connection is saved, each launch opens **Set Up TablePro** in the window until you finish, skip or leave it once. **Setup Guide** in the main menu, or **Set Up…** under an empty connection list, opens it again. + +| Page | What you do there | +|---|---| +| **Set Up TablePro** | Say where your connections are now. **In Another App** goes on to the import, **In a TablePro File** closes the guide and opens **Import Connections…**, and **Nowhere Yet** goes to **First Connection** | +| **Import Connections** | Select the apps to bring over. They are read and reviewed one at a time, and their own files never change | +| **First Connection** | Pick a new connection or **Sample Database**, a small music store. It opens when you finish | +| **Editor** | Set **Shortcuts**, **Vim Keybindings** and the style scheme. Each change applies at once | + +The guide starts on **Import Connections** instead when it finds another database app's files at launch. **Skip** on any page ends the guide the way the last page's button does, and that button names what opens: your **First Connection** pick, the one connection you imported, or several imported connections, selected in the list. Connections imported from a file are only selected, never opened. + +**Import from Another App…** in the main menu runs the same import for one app, and ends the same way. The Flatpak build reads the Flathub builds of DBeaver, DataGrip and Beekeeper Studio too, through read-only access to their folders under `~/.var/app`. + ## Options | Row | Sets | diff --git a/linux/keyboard-shortcuts.mdx b/linux/keyboard-shortcuts.mdx index 35a2aa31..24fdf6f8 100644 --- a/linux/keyboard-shortcuts.mdx +++ b/linux/keyboard-shortcuts.mdx @@ -4,7 +4,7 @@ description: Every key the Linux app binds, by where the focus is tag: "Beta" --- -`Ctrl+?` opens the same list inside the app, as does **Keyboard Shortcuts** in the main menu. The keys are fixed; none can be rebound yet. +`Ctrl+?` lists the keys in force inside the app, as does **Keyboard Shortcuts** in the main menu. The tables here are TablePro's own keys. A [preset](#shortcuts-from-another-app) swaps in another app's, and no key can be rebound on its own yet. Focus decides what some keys do. `Ctrl+F` searches the connection list, filters a table tab, finds in query results or finds in the editor, by where the focus is. `Escape` closes a dialog, stops a running query, or drops a selection or extra cursors. @@ -133,3 +133,12 @@ While a cell is being edited: | Read the tables again | `F5` or `Ctrl+R` | | Open the selected table | `Enter` | | Move the selected table | `Alt+Left`, `Alt+Right`, `Alt+Up`, `Alt+Down` | + +## Shortcuts from another app + +Pick an app under **Preferences > Editor > Shortcuts** (`Ctrl+,`) to use its keys: TablePlus, DBeaver, DataGrip, Beekeeper Studio, Navicat or DBX. The [setup guide](/linux/connect#setup-guide)'s **Editor** page has the same row. **TablePro**, at the top of the list, is the set on this page. + +- A preset key wins. The TablePro command that held it has no key while the preset is on. +- A TablePro key with no modifier keeps working beside the preset's chord: `Escape` still stops a run, and `Delete` still marks rows. +- Copy, paste, cut, undo, select all, quit and zoom keep their keys under every preset, and so do the keys GNOME keeps, such as `Alt+Tab`. +- A preset key that is `Alt` with a letter or digit is left out, and its command keeps the key on this page. diff --git a/quickstart.mdx b/quickstart.mdx index fe7cabc0..f60db282 100644 --- a/quickstart.mdx +++ b/quickstart.mdx @@ -9,7 +9,7 @@ With no connections saved, the welcome window offers **Open Sample Database**, a - `brew install --cask tablepro`, or the DMG from GitHub Releases. See [Installation](/installation). The first launch shows a welcome sheet; click **Continue** to reach the welcome window, and choose **Help > Getting Started** to see it again. + `brew install --cask tablepro`, or the DMG from GitHub Releases. See [Installation](/installation). The first launch on a Mac with no saved connections opens the [setup guide](#the-setup-guide); click **Skip** to go straight to the welcome window. @@ -93,6 +93,21 @@ With no connections saved, the welcome window offers **Open Sample Database**, a +## The setup guide + +It opens at launch while no connection is saved, until you finish, skip or close it once on this Mac. **Help > Setup Guide** opens it again whatever the list holds. Every step has **Skip**. + +| Step | What you do there | +|---|---| +| **Get Started** | Under **Start Fresh**, pick a new connection or **Sample Database**. Under **Bring Your Connections**, pick **Import from Other App…** to go on to the import step, or another import, which closes the guide and opens it | +| **Import from Other Apps** | Select the apps to import from. Each one is read and reviewed in turn, before anything is saved. [Switching to TablePro](/switching) covers what comes across | +| **First Connection** | Choose what opens when you finish: a new connection, the sample database, or what you imported | +| **Appearance and Keys** | Set the appearance, the editor's **Key bindings**, and **Shortcuts**, which takes the [keys of the app you used before](/features/keyboard-shortcuts#shortcuts-from-another-app). Changes apply at once | + +When the guide finds another database app's files at launch, it opens on **Import from Other Apps**. A new connection or the sample goes straight to **Appearance and Keys**. + +**Done** on the last step, or **Skip** on any step, ends the guide and opens what you picked: a new connection or the sample database. With neither picked, one imported connection opens, and several are selected in the welcome window. Connections imported from a file are only selected, never opened. Closing the window ends the guide and opens nothing. + ## What's next [Managing connections](/connections), [SSH tunneling](/connections/ssh-tunneling), [keyboard shortcuts](/features/keyboard-shortcuts), and [AI features](/features/ai-assistant). Anything that goes wrong is worth an [issue](https://github.com/TableProApp/TablePro/issues). diff --git a/scripts/check-docs-against-source.py b/scripts/check-docs-against-source.py index fd539597..5d520de7 100755 --- a/scripts/check-docs-against-source.py +++ b/scripts/check-docs-against-source.py @@ -29,6 +29,11 @@ "Help": "HelpMenuBuilder.swift", } +# Leaves a builder takes from another file: File > Import lists ImportCommand's titles. +MENU_EXTRA_FILES = { + "File": ["ImportCommand.swift"], +} + # A leaf the docs name that the menu builders cannot define, because something else # builds it: AppKit's own items, a submenu filled at runtime from the server, or a # contextual menu that happens to read like a menu path. @@ -98,6 +103,11 @@ def check_menu_paths(root: Path, docs: Path) -> list[str]: forms: set[str] = set() for leaf in localized_strings(menu_dir / file): forms |= leaf_forms(leaf) + # A missing extra file only drops its leaves, which then fail as unknown. + for extra in MENU_EXTRA_FILES.get(menu, []): + if (menu_dir / extra).is_file(): + for leaf in localized_strings(menu_dir / extra): + forms |= leaf_forms(leaf) per_menu[menu] = forms every_leaf: set[str] = set() diff --git a/switching.mdx b/switching.mdx index 297cdb32..05974c02 100644 --- a/switching.mdx +++ b/switching.mdx @@ -5,7 +5,7 @@ description: Move your connections and saved queries from TablePlus, Sequel Ace, import DriverCounts from "/snippets/driver-counts.mdx"; -Most of a migration is one dialog. **File > Import from Other App…** reads the connections and saved queries your current client already has, groups and folders included, and the source app does not need to be running. +Most of a migration is one dialog. **File > Import > Import from Other App…** reads the connections and saved queries your current client already has, groups and folders included, and the source app does not need to be running. This page covers the rest: what does not come across, and what to do about it. @@ -13,13 +13,13 @@ This page covers the rest: what does not come across, and what to do about it. - **File > Import from Other App…** + **File > Import > Import from Other App…**. On a Mac with no connections yet, the [setup guide](/quickstart#the-setup-guide) offers the same import at first launch and takes several apps in one pass, one after another. - TablePlus, Sequel Ace, DBeaver, DataGrip and Beekeeper Studio are read in place. Navicat is the exception: export first with **File > Export Connections** in Navicat, with **Export Password** turned on, then point TablePro at the `.ncx` file. Leave **Include saved queries** selected to bring the saved queries along. + TablePlus, Sequel Ace, DBeaver, DataGrip and Beekeeper Studio are read in place. Navicat is the exception: export first with **File > Export Connections** in Navicat, with **Export Password** turned on, then point TablePro at the `.ncx` file. **Include saved queries** starts selected when the app has some. **Include passwords** starts off for apps that keep them in the Keychain; see [About passwords](#about-passwords). - Deselect any connection or saved query you do not want, resolve duplicates, click **Import**. A connection to an engine TablePro does not support arrives unchecked, with the reason beside it. Where each app's saved queries land is in [Connection Sharing](/features/connection-sharing#import-from-other-apps). + Deselect any connection or saved query you do not want, resolve duplicates, click **Import**. A connection to an engine TablePro does not support arrives unchecked, with the reason beside it. Where each app's saved queries land is in [Connection Sharing](/features/connection-sharing#import-from-other-apps). When the import ends, a single imported connection opens, and several are selected in the welcome window. Connections from a file, such as a Navicat `.ncx` export or a TablePro connections file, are only selected: a file can come from someone else, so TablePro never connects to them on its own. Connect to a connection that had a password. That is the only check that proves the credential came across, and deleting the source app is the one step you cannot undo. @@ -40,10 +40,12 @@ SSH tunnel and SSL settings come across with the connection. Which engines each ## About passwords -| Where your old client keeps them | What the import does | -|---|---| -| Its own encrypted store: DBeaver, Beekeeper Studio, Navicat | Decrypts it and runs start to finish with nothing to click | -| The macOS Keychain: TablePlus, Sequel Ace, DataGrip | macOS asks permission once per item. Choose **Always Allow** rather than **Allow** and the run stops asking | +| Where your old client keeps them | **Include passwords** starts | What the import does | +|---|---|---| +| Its own encrypted store: DBeaver, Beekeeper Studio, Navicat | On | Decrypts it and runs start to finish with nothing to click | +| The macOS Keychain: TablePlus, Sequel Ace, DataGrip | Off | Says how many Keychain items it reads before it starts, then macOS asks permission once per item. Choose **Always Allow** rather than **Allow** and the run stops asking | + +A password the Keychain refuses to store does not stop the import. Its connection arrives without it, the result reads **Import Incomplete** and counts the passwords not kept, and the imported connections are selected rather than opened. A DataGrip project protected by a master password cannot be read at all. Import those connections and set their passwords in TablePro. @@ -61,9 +63,9 @@ TablePlus's password dropdown comes across too. **Ask everytime** arrives as **A ## Getting your shortcuts back -TablePro follows macOS conventions, so a good number of chords already match whatever you were using: `Cmd+N`, `Cmd+W`, `Cmd+S`, `Cmd+O`, `Cmd+Q`, `Cmd+F`, and `Cmd+Enter` to run a query. +Choose your old app under **Use Shortcuts From** in **Settings > Keyboard** (`Cmd+,`), or under **Shortcuts** in the setup guide's last step. TablePlus, Sequel Ace, DBeaver, DataGrip, Beekeeper Studio, Navicat and DBX each have a preset, and [Shortcuts from another app](/features/keyboard-shortcuts#shortcuts-from-another-app) lists what one changes and what it leaves alone. -Where yours differ, rebind them in **Settings > Keyboard** (`Cmd+,`). Record the chord you are used to and TablePro warns you if something else already claims it. +A preset covers running queries, tabs, find, save and a few more. For any other key, record the chord you are used to on its row in **Settings > Keyboard**; a chord another command holds asks before it moves. Keyboard pane listing Editor & Query actions with their shortcuts, under a Search Shortcuts field From 1bca7dec630fc44757b2847f386bc7d779f19ab2 Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Wed, 25 Nov 2026 18:49:22 +0700 Subject: [PATCH 2/2] docs: the setup guide opens on its first step --- linux/connect.mdx | 2 +- quickstart.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/connect.mdx b/linux/connect.mdx index 86f8cb13..a9495a05 100644 --- a/linux/connect.mdx +++ b/linux/connect.mdx @@ -68,7 +68,7 @@ While no connection is saved, each launch opens **Set Up TablePro** in the windo | **First Connection** | Pick a new connection or **Sample Database**, a small music store. It opens when you finish | | **Editor** | Set **Shortcuts**, **Vim Keybindings** and the style scheme. Each change applies at once | -The guide starts on **Import Connections** instead when it finds another database app's files at launch. **Skip** on any page ends the guide the way the last page's button does, and that button names what opens: your **First Connection** pick, the one connection you imported, or several imported connections, selected in the list. Connections imported from a file are only selected, never opened. +When the guide finds another database app's files, **Import from Another App** is already selected and names the apps it found. **Skip** on any page ends the guide the way the last page's button does, and that button names what opens: your **First Connection** pick, the one connection you imported, or several imported connections, selected in the list. Connections imported from a file are only selected, never opened. **Import from Another App…** in the main menu runs the same import for one app, and ends the same way. The Flatpak build reads the Flathub builds of DBeaver, DataGrip and Beekeeper Studio too, through read-only access to their folders under `~/.var/app`. diff --git a/quickstart.mdx b/quickstart.mdx index f60db282..496089bd 100644 --- a/quickstart.mdx +++ b/quickstart.mdx @@ -104,7 +104,7 @@ It opens at launch while no connection is saved, until you finish, skip or close | **First Connection** | Choose what opens when you finish: a new connection, the sample database, or what you imported | | **Appearance and Keys** | Set the appearance, the editor's **Key bindings**, and **Shortcuts**, which takes the [keys of the app you used before](/features/keyboard-shortcuts#shortcuts-from-another-app). Changes apply at once | -When the guide finds another database app's files at launch, it opens on **Import from Other Apps**. A new connection or the sample goes straight to **Appearance and Keys**. +When the guide finds another database app's files, **Import from Another App** is already selected and names the apps it found; click **Continue** to pick what to import. A new connection or the sample goes straight to **Appearance and Keys**. **Done** on the last step, or **Skip** on any step, ends the guide and opens what you picked: a new connection or the sample database. With neither picked, one imported connection opens, and several are selected in the welcome window. Connections imported from a file are only selected, never opened. Closing the window ends the guide and opens nothing.