From 4b230b06f992b1a79cf987a3c121733e2b188f18 Mon Sep 17 00:00:00 2001 From: HynLcc Date: Fri, 12 Jun 2026 14:10:28 +0800 Subject: [PATCH] docs: update App Builder import and billing usage --- en/basic/ai/app-builder.mdx | 12 ++++++------ en/basic/space/billing.mdx | 2 ++ zh/basic/ai/app-builder.mdx | 12 ++++++------ zh/basic/space/billing.mdx | 2 ++ 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/en/basic/ai/app-builder.mdx b/en/basic/ai/app-builder.mdx index 1ba7367b..7ed331bc 100644 --- a/en/basic/ai/app-builder.mdx +++ b/en/basic/ai/app-builder.mdx @@ -66,13 +66,13 @@ If the app uses custom environment variables, the downloaded archive can include You can update the app's code by importing a ZIP: 1. Switch to the **Code** tab in the editor. 2. Click the **`...`** menu in the tab bar. -3. Select **Import code** and choose a ZIP file (≤ 5 MB) containing your source files. +3. Select **Import code** and choose a ZIP file up to 20 MB. -- Include source files only — do not include `node_modules`, `.next`, or other build artifacts. -- Zip the outermost project folder itself (right-click the folder → compress), not files selected from inside it. -- If you import only one file from a nested folder, include one unchanged source file from another top-level folder as a path anchor. For example, include both `app/page.tsx` and `components/widgets/chart.tsx` so the component keeps its full `components/widgets/...` path. -- Import merges with the existing project and overwrites any files that share the same path. +- Include source files only. `node_modules`, `.next`, and other build artifacts are ignored automatically. +- The ZIP replaces the existing project. Files you leave out are removed from the new version. +- If the ZIP contains one wrapper folder, Teable strips that folder. You can compress the outermost project folder directly. +- The imported project must include `package.json` at the project root. - A root `.env` file in the ZIP is read into the app's **Secrets**. Other `.env*` variants, such as `.env.local`, are ignored. @@ -189,7 +189,7 @@ For prompt patterns, build tips, rollback advice, and common troubleshooting, se - Switch to the **Code** tab in the editor, click the **`...`** menu in the tab bar, then choose **Download code** or **Import code**. When importing a ZIP, include source files only. Do not include `node_modules`, `.next`, or other build artifacts. A root `.env` file is imported into app **Secrets**. + Switch to the **Code** tab in the editor, click the **`...`** menu in the tab bar, then choose **Download code** or **Import code**. Imported ZIP files can be up to 20 MB and replace the existing project, so include every source file you want to keep. The imported project must include a root `package.json`. A root `.env` file is imported into app **Secrets**. diff --git a/en/basic/space/billing.mdx b/en/basic/space/billing.mdx index e154e4d5..c4e755a8 100644 --- a/en/basic/space/billing.mdx +++ b/en/basic/space/billing.mdx @@ -48,6 +48,8 @@ Monitor your space's resource consumption with these metrics: Data in both space trash and base trash are counted in the total record statistics. To reduce the total record count, clean up data in "Space → Trash" or "Base → Trash". +Click **Details** on the **Total records** card to view record usage by Base. The dialog shows active records, trash records, and total records for each Base. You can open a Base trash page from the dialog, or permanently delete a Base that is already in trash. + ### Credits Credits are Teable's usage units for AI-powered features. They allow you to track and manage AI usage in a transparent way. Credits reset every billing period and don't roll over. diff --git a/zh/basic/ai/app-builder.mdx b/zh/basic/ai/app-builder.mdx index 9c0c3adb..01514395 100644 --- a/zh/basic/ai/app-builder.mdx +++ b/zh/basic/ai/app-builder.mdx @@ -68,13 +68,13 @@ Teable 应用构建器 (App Builder) 允许您在不编写代码的情况下, 1. 切换到编辑器中的 **Code** 标签页。 2. 点击标签栏中的 **`...`** 菜单。 -3. 选择 **导入代码** ,导入 ZIP(≤ 5MB)来更新代码。 +3. 选择 **导入代码**,导入不超过 20 MB 的 ZIP。 -- 仅需包含源代码文件,请勿包含 `node_modules`、`.next` 等构建产物。 -- 请压缩最外层项目文件夹本身(右键文件夹 → 压缩),而非进入文件夹内部选中文件再压缩。 -- 如果只导入嵌套文件夹里的一个文件,请同时放入另一个顶层目录下、内容未修改的源码文件作为路径锚点。例如同时包含 `app/page.tsx` 和 `components/widgets/chart.tsx`,这样组件文件会保留完整的 `components/widgets/...` 路径。 -- 导入会合并并覆盖同名文件。 +- 仅需包含源代码文件,`node_modules`、`.next` 等构建产物会被自动忽略。 +- ZIP 会替换现有项目。未放入 ZIP 的现有文件,会从新版本中移除。 +- 如果 ZIP 中包含一个公共外层文件夹,Teable 会自动剥离这一层。你可以直接压缩最外层项目文件夹。 +- 导入的项目根目录必须包含 `package.json`。 - ZIP 根目录中的 `.env` 会导入应用的 **密钥管理**。其他 `.env*` 变体(如 `.env.local`)会被忽略。 @@ -204,7 +204,7 @@ Teable 自动跟踪每一次部署。 - 切换到编辑器中的 **Code** 标签页,点击标签栏中的 **`...`** 菜单,然后选择 **下载代码** 或 **导入代码**。导入 ZIP 时,请只包含源代码文件,不要包含 `node_modules`、`.next` 等构建产物。ZIP 根目录中的 `.env` 文件会导入应用的 **密钥管理**。 + 切换到编辑器中的 **Code** 标签页,点击标签栏中的 **`...`** 菜单,然后选择 **下载代码** 或 **导入代码**。导入的 ZIP 最大 20 MB,且会替换现有项目,因此请放入需要保留的全部源代码文件。导入的项目根目录必须包含 `package.json`。ZIP 根目录中的 `.env` 文件会导入应用的 **密钥管理**。 diff --git a/zh/basic/space/billing.mdx b/zh/basic/space/billing.mdx index b3af1b96..039cc255 100644 --- a/zh/basic/space/billing.mdx +++ b/zh/basic/space/billing.mdx @@ -48,6 +48,8 @@ description: "了解如何管理订阅、查看账单详情、监控用量以及 空间回收站和数据库回收站中的数据也会计入记录总数统计。如需减少记录总数,请清理「空间 → 回收站」或「数据库 → 回收站」中的数据。 +在 **记录总数** 卡片中点击**详情**,可以按数据库查看记录用量。详情弹窗会展示每个数据库的活跃记录、回收站记录和总记录数。你也可以从弹窗前往数据库回收站,或彻底删除已经在回收站中的数据库。 + ### 算力 算力是 Teable 用于 AI 功能的使用单位。它们让您可以透明地追踪和管理 AI 能力的消耗。算力在每个计费周期重置,不会累积到下一周期。