Skip to content

Commit 9a25dfd

Browse files
authored
fix: PR review fixes + docs update for 18+ databases and Pro features (#398)
* feat: add Pro feature gating for Safe Mode and XLSX export - Gate Safe Mode (Touch ID), Safe Mode (Full), and Read-Only behind Pro - Gate XLSX export behind Pro license - Add standalone LicenseActivationSheet dialog, reusable from anywhere - Centralize pricing URL in LicenseConstants - Localize all LicenseError messages, add friendlyDescription - Post licenseStatusDidChange notification on status transitions - SyncCoordinator reacts to license changes automatically - SyncStatusIndicator opens activation sheet when unlicensed - SafeModeGuard gracefully downgrades Pro levels with logging - Cache activation list in LicenseSettingsView * fix: address PR review — defer notify, localize strings, add welcome trigger, changelog * docs: update database count to 18+, mark Pro features, fix duplicate Oracle nav * docs: update zh docs — 18+ databases, add missing DynamoDB/Etcd/D1 cards
1 parent d8077f9 commit 9a25dfd

File tree

9 files changed

+66
-20
lines changed

9 files changed

+66
-20
lines changed

docs/databases/overview.mdx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: Connection Management
3-
description: Create, organize, and manage database connections across 12 supported engines in TablePro
3+
description: Create, organize, and manage database connections across 18+ supported engines in TablePro
44
---
55

66
# Connection Management
77

8-
TablePro connects to twelve database systems from a single interface. Create connections, organize them with colors, tags, and groups, and switch between them without leaving your workflow.
8+
TablePro connects to 18+ database systems from a single interface. Create connections, organize them with colors, tags, and groups, and switch between them without leaving your workflow.
99

1010
## Supported Databases
1111

12-
TablePro supports twelve database systems natively:
12+
TablePro supports 18+ database systems natively:
1313

1414
<CardGroup cols={2}>
1515
<Card title="MySQL" icon="database">
@@ -45,6 +45,18 @@ TablePro supports twelve database systems natively:
4545
<Card title="Cassandra / ScyllaDB" icon="database">
4646
Cassandra 3.11+ and ScyllaDB 4.0+ via CQL native protocol. Default port: 9042
4747
</Card>
48+
<Card title="DuckDB" icon="database">
49+
DuckDB embedded OLAP database. File-based, no server required
50+
</Card>
51+
<Card title="DynamoDB" icon="database">
52+
Amazon DynamoDB via AWS SDK. NoSQL key-value and document database
53+
</Card>
54+
<Card title="Etcd" icon="database">
55+
Etcd distributed key-value store via gRPC API. Default port: 2379
56+
</Card>
57+
<Card title="Cloudflare D1" icon="database">
58+
Cloudflare D1 serverless SQLite database via Cloudflare API
59+
</Card>
4860
</CardGroup>
4961

5062
## Creating a Connection

docs/docs.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"databases/cassandra",
4545
"databases/dynamodb",
4646
"databases/mssql",
47-
"databases/oracle",
4847
"databases/ssh-tunneling"
4948
]
5049
},
@@ -142,7 +141,6 @@
142141
"vi/databases/cassandra",
143142
"vi/databases/dynamodb",
144143
"vi/databases/mssql",
145-
"vi/databases/oracle",
146144
"vi/databases/ssh-tunneling"
147145
]
148146
},
@@ -245,7 +243,6 @@
245243
"zh/databases/duckdb",
246244
"zh/databases/dynamodb",
247245
"zh/databases/mssql",
248-
"zh/databases/oracle",
249246
"zh/databases/ssh-tunneling"
250247
]
251248
},

docs/features/import-export.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ Export data from query results or tables:
214214
<Tab title="XLSX">
215215
**Excel Spreadsheet**
216216

217+
<Note>
218+
XLSX export requires a **Pro license**. CSV, JSON, and SQL export are available in the free version.
219+
</Note>
220+
217221
Best for:
218222
- Sharing data with non-technical users
219223
- Excel and spreadsheet applications

docs/features/safe-mode.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ TablePro provides 6 graduated safe mode levels:
2424

2525
New connections default to **Silent**.
2626

27+
<Note>
28+
**Safe Mode** (Touch ID), **Safe Mode (Full)**, and **Read-Only** levels require a **Pro license**. The **Silent**, **Alert**, and **Alert (Full)** levels are available in the free version.
29+
</Note>
30+
2731
## How It Works
2832

2933
### Silent
@@ -57,9 +61,9 @@ All write operations are blocked. The UI disables:
5761

5862
Read queries (SELECT) execute normally.
5963

60-
## MongoDB and Redis
64+
## NoSQL Databases
6165

62-
MongoDB and Redis don't use SQL, so TablePro cannot distinguish between read and write operations by parsing the query text. All operations on these database types are treated as write operations for safe mode purposes. This means:
66+
NoSQL databases (MongoDB, Redis, DynamoDB, Cloudflare D1, Etcd, Cassandra) don't use SQL, so TablePro cannot distinguish between read and write operations by parsing the query text. All operations on these database types are treated as write operations for safe mode purposes. This means:
6367

6468
- **Alert/Safe Mode**: Every query triggers the confirmation dialog
6569
- **Read-Only**: All operations are blocked

docs/index.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Introduction
3-
description: Native macOS database client supporting MySQL, PostgreSQL, SQLite, MongoDB, Redis, SQL Server, ClickHouse, Oracle, and Redshift with AI SQL assistance
3+
description: Native macOS database client supporting 18+ databases including MySQL, PostgreSQL, SQLite, MongoDB, Redis, SQL Server, ClickHouse, Oracle, DuckDB, Cassandra, and more with AI SQL assistance
44
---
55

66
# TablePro
@@ -28,7 +28,7 @@ A native macOS database client. Fast, lightweight, with built-in AI SQL assistan
2828
Swift and Apple-native frameworks. No Electron, no web views. Just the responsiveness you expect from a real Mac app.
2929
</Card>
3030
<Card title="Multiple Databases" icon="database">
31-
MySQL, MariaDB, PostgreSQL, SQLite, MongoDB, Redis, SQL Server, ClickHouse, Oracle, and Amazon Redshift in one interface.
31+
18+ databases in one interface: MySQL, MariaDB, PostgreSQL, SQLite, MongoDB, Redis, SQL Server, ClickHouse, Oracle, Amazon Redshift, DuckDB, Cassandra, Etcd, Cloudflare D1, and more.
3232
</Card>
3333
<Card title="Smart Autocomplete" icon="wand-magic-sparkles">
3434
Context-aware SQL autocomplete that knows your schema, tables, columns, and SQL syntax.
@@ -79,6 +79,10 @@ Write queries in plain English, get Copilot-style inline suggestions, and right-
7979
| Microsoft SQL Server | Fully Supported | 1433 |
8080
| ClickHouse | Fully Supported | 8123 |
8181
| Oracle Database | Fully Supported | 1521 |
82+
| DuckDB | Fully Supported | N/A (file-based) |
83+
| Cassandra / ScyllaDB | Fully Supported | 9042 |
84+
| Etcd | Fully Supported | 2379 |
85+
| Cloudflare D1 | Fully Supported | N/A (API-based) |
8286

8387
## System Requirements
8488

docs/vi/databases/overview.mdx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: Quản lý Kết nối
3-
description: Tạo, tổ chức và quản lý kết nối đến 12 hệ quản trị cơ sở dữ liệu từ một giao diện duy nhất
3+
description: Tạo, tổ chức và quản lý kết nối đến 18+ hệ quản trị cơ sở dữ liệu từ một giao diện duy nhất
44
---
55

66
# Quản lý Kết nối
77

8-
TablePro kết nối được đến 12 hệ quản trị cơ sở dữ liệu từ cùng một giao diện. Tạo kết nối, sắp xếp bằng màu sắc, tag và nhóm, rồi chuyển đổi giữa chúng mà không cần rời khỏi cửa sổ làm việc.
8+
TablePro kết nối được đến 18+ hệ quản trị cơ sở dữ liệu từ cùng một giao diện. Tạo kết nối, sắp xếp bằng màu sắc, tag và nhóm, rồi chuyển đổi giữa chúng mà không cần rời khỏi cửa sổ làm việc.
99

1010
## Cơ sở dữ liệu được hỗ trợ
1111

12-
TablePro hỗ trợ 12 hệ thống cơ sở dữ liệu:
12+
TablePro hỗ trợ 18+ hệ thống cơ sở dữ liệu:
1313

1414
<CardGroup cols={2}>
1515
<Card title="MySQL" icon="database">
@@ -45,6 +45,18 @@ TablePro hỗ trợ 12 hệ thống cơ sở dữ liệu:
4545
<Card title="Cassandra / ScyllaDB" icon="database">
4646
Cassandra 3.11+ và ScyllaDB 4.0+ qua giao thức CQL native. Cổng mặc định: 9042
4747
</Card>
48+
<Card title="DuckDB" icon="database">
49+
Cơ sở dữ liệu OLAP DuckDB nhúng. Dạng file, không cần server
50+
</Card>
51+
<Card title="DynamoDB" icon="database">
52+
Amazon DynamoDB qua AWS SDK. Cơ sở dữ liệu NoSQL key-value và document
53+
</Card>
54+
<Card title="Etcd" icon="database">
55+
Kho key-value phân tán Etcd qua gRPC API. Cổng mặc định: 2379
56+
</Card>
57+
<Card title="Cloudflare D1" icon="database">
58+
Cơ sở dữ liệu SQLite serverless Cloudflare D1 qua Cloudflare API
59+
</Card>
4860
</CardGroup>
4961

5062
## Tạo Kết nối

docs/vi/index.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Giới thiệu
3-
description: Ứng dụng database client macOS gốc, hỗ trợ MySQL, PostgreSQL, SQLite, MongoDB, Redis, SQL Server, ClickHouse, Oracle, Redshift và AI SQL
3+
description: Ứng dụng database client macOS gốc, hỗ trợ 18+ cơ sở dữ liệu bao gồm MySQL, PostgreSQL, SQLite, MongoDB, Redis, SQL Server, ClickHouse, Oracle, DuckDB, Cassandra và AI SQL
44
---
55

66
# TablePro
@@ -28,7 +28,7 @@ description: Ứng dụng database client macOS gốc, hỗ trợ MySQL, Postgre
2828
Swift và framework gốc Apple. Không Electron, không web view. Phản hồi nhanh đúng chuẩn app Mac thật.
2929
</Card>
3030
<Card title="Nhiều Cơ sở dữ liệu" icon="database">
31-
MySQL, MariaDB, PostgreSQL, SQLite, MongoDB, Redis, SQL Server, ClickHouse, OracleAmazon Redshift trong một giao diện.
31+
18+ cơ sở dữ liệu trong một giao diện: MySQL, MariaDB, PostgreSQL, SQLite, MongoDB, Redis, SQL Server, ClickHouse, Oracle, Amazon Redshift, DuckDB, Cassandra, Etcd, Cloudflare D1 và nhiều hơn nữa.
3232
</Card>
3333
<Card title="Tự động hoàn thành Thông minh" icon="wand-magic-sparkles">
3434
Autocomplete SQL nhận biết ngữ cảnh, hiểu schema, bảng, cột và cú pháp SQL.
@@ -79,6 +79,10 @@ Viết query bằng ngôn ngữ tự nhiên, nhận gợi ý inline kiểu Copil
7979
| Microsoft SQL Server | Hỗ trợ đầy đủ | 1433 |
8080
| ClickHouse | Hỗ trợ đầy đủ | 8123 |
8181
| Oracle Database | Hỗ trợ đầy đủ | 1521 |
82+
| DuckDB | Hỗ trợ đầy đủ | Không áp dụng (dựa trên file) |
83+
| Cassandra / ScyllaDB | Hỗ trợ đầy đủ | 9042 |
84+
| Etcd | Hỗ trợ đầy đủ | 2379 |
85+
| Cloudflare D1 | Hỗ trợ đầy đủ | Không áp dụng (dựa trên API) |
8286

8387
## Yêu cầu hệ thống
8488

docs/zh/databases/overview.mdx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: 连接管理
3-
description: 在 TablePro 中创建、组织和管理 12 种数据库引擎的连接
3+
description: 在 TablePro 中创建、组织和管理 18+ 种数据库引擎的连接
44
---
55

66
# 连接管理
77

8-
TablePro 通过统一界面连接十二种数据库系统。你可以创建连接、用颜色、标签和分组来组织它们,并在不离开当前工作区的情况下自由切换。
8+
TablePro 通过统一界面连接18+ 种数据库系统。你可以创建连接、用颜色、标签和分组来组织它们,并在不离开当前工作区的情况下自由切换。
99

1010
## 支持的数据库
1111

12-
TablePro 原生支持十二种数据库系统
12+
TablePro 原生支持18+ 种数据库系统
1313

1414
<CardGroup cols={2}>
1515
<Card title="MySQL" icon="database">
@@ -48,6 +48,15 @@ TablePro 原生支持十二种数据库系统:
4848
<Card title="DuckDB" icon="database">
4949
DuckDB 嵌入式分析数据库。基于文件
5050
</Card>
51+
<Card title="DynamoDB" icon="database">
52+
Amazon DynamoDB,支持 PartiQL 查询和 AWS IAM/Profile/SSO 认证
53+
</Card>
54+
<Card title="Etcd" icon="database">
55+
etcd v3 键值存储,支持前缀树浏览和租约管理
56+
</Card>
57+
<Card title="Cloudflare D1" icon="database">
58+
Cloudflare D1 边缘 SQLite 数据库
59+
</Card>
5160
</CardGroup>
5261

5362
## 创建连接

docs/zh/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 简介
3-
description: 原生 macOS 数据库客户端,支持 MySQL、PostgreSQL、SQLite、MongoDB、Redis、SQL Server、ClickHouse、Oracle、Redshift,并内置 AI SQL 助手
3+
description: 原生 macOS 数据库客户端,支持 18+ 种数据库(MySQL、PostgreSQL、SQLite、MongoDB、Redis 等),内置 AI SQL 助手
44
---
55

66
# TablePro
@@ -28,7 +28,7 @@ description: 原生 macOS 数据库客户端,支持 MySQL、PostgreSQL、SQLit
2828
Swift 与 Apple 原生框架。没有 Electron,没有 Web 视图。响应速度符合真正 Mac 应用的标准。
2929
</Card>
3030
<Card title="多数据库支持" icon="database">
31-
MySQL、MariaDB、PostgreSQL、SQLite、MongoDB、Redis、SQL Server、ClickHouse、Oracle 和 Amazon Redshift,一个界面全搞定
31+
18+ 种数据库:MySQL、MariaDB、PostgreSQL、SQLite、MongoDB、Redis、SQL Server、ClickHouse、Oracle、Redshift、DuckDB、Cassandra、Etcd、Cloudflare D1 等
3232
</Card>
3333
<Card title="智能自动补全" icon="wand-magic-sparkles">
3434
上下文感知的 SQL 自动补全,能识别你的 schema、表、列和 SQL 语法。

0 commit comments

Comments
 (0)