Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions en/basic/ai/app-builder.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<Note>
- 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.
</Note>

Expand Down Expand Up @@ -189,7 +189,7 @@ For prompt patterns, build tips, rollback advice, and common troubleshooting, se
</Accordion>

<Accordion title="How do I download or import app code?">
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**.
</Accordion>

<Accordion title="When do login settings apply to the live app?">
Expand Down
2 changes: 2 additions & 0 deletions en/basic/space/billing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Monitor your space's resource consumption with these metrics:

<Tip>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".</Tip>

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.
Expand Down
12 changes: 6 additions & 6 deletions zh/basic/ai/app-builder.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ Teable 应用构建器 (App Builder) 允许您在不编写代码的情况下,

1. 切换到编辑器中的 **Code** 标签页。
2. 点击标签栏中的 **`...`** 菜单。
3. 选择 **导入代码** ,导入 ZIP(≤ 5MB)来更新代码
3. 选择 **导入代码**,导入不超过 20 MB 的 ZIP

<Note>
- 仅需包含源代码文件,请勿包含 `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`)会被忽略。
</Note>

Expand Down Expand Up @@ -204,7 +204,7 @@ Teable 自动跟踪每一次部署。
</Accordion>

<Accordion title="如何下载或导入应用代码?">
切换到编辑器中的 **Code** 标签页,点击标签栏中的 **`...`** 菜单,然后选择 **下载代码** 或 **导入代码**。导入 ZIP 时,请只包含源代码文件,不要包含 `node_modules`、`.next` 等构建产物。ZIP 根目录中的 `.env` 文件会导入应用的 **密钥管理**。
切换到编辑器中的 **Code** 标签页,点击标签栏中的 **`...`** 菜单,然后选择 **下载代码** 或 **导入代码**。导入的 ZIP 最大 20 MB,且会替换现有项目,因此请放入需要保留的全部源代码文件。导入的项目根目录必须包含 `package.json`。ZIP 根目录中的 `.env` 文件会导入应用的 **密钥管理**。
</Accordion>

<Accordion title="登录配置什么时候会对线上应用生效?">
Expand Down
2 changes: 2 additions & 0 deletions zh/basic/space/billing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ description: "了解如何管理订阅、查看账单详情、监控用量以及

<Tip>空间回收站和数据库回收站中的数据也会计入记录总数统计。如需减少记录总数,请清理「空间 → 回收站」或「数据库 → 回收站」中的数据。</Tip>

在 **记录总数** 卡片中点击**详情**,可以按数据库查看记录用量。详情弹窗会展示每个数据库的活跃记录、回收站记录和总记录数。你也可以从弹窗前往数据库回收站,或彻底删除已经在回收站中的数据库。

### 算力

算力是 Teable 用于 AI 功能的使用单位。它们让您可以透明地追踪和管理 AI 能力的消耗。算力在每个计费周期重置,不会累积到下一周期。
Expand Down