docs(guides): 按实际落地能力重述 integrations 页,并校正指南索引描述行 (#756) - #762
Merged
Conversation
`guides/integrations.mdx` 把 10 类连接器列为「Built-in」,每行还给了一个 `Setup → Integrations → X` 的菜单路径。对着源码实测:`src/` 里没有任何连接器 元数据,平台包里也没有任何一家厂商的连接器插件,应用里更没有 `Setup → Integrations` 菜单——这些设置路径把读者指向了一个不存在的界面,是本页 最具误导性的部分。 按 #755 确立的姿态处理:整表作为设计意图保留并标注「尚未落地」、链到路线图 (路线图上本来就写着「更多连接器」),同时给表格加第三列,逐行写明今天最接近的 落地能力。 其余各节同样逐条实测: - **Webhooks** 是本页唯一真实的能力,而且原文错在另一个方向: `@objectstack/plugin-webhooks` 确实提供出站 webhook 服务,但 HotCRM 从未启用它 —— `objectstack.config.ts` 的 `requires` 里没有 `webhooks`,它也不属于平台对每个 应用都会加载的那一批能力,本应用也没有声明任何 webhook。现在改述为一个部署侧的 决定,重试次数 / 载荷结构 / 投递日志这些细节交还给平台自己的文档。 - **GraphQL** 删除:它不在产品规划内,平台已把 `/graphql` 从服务表移除。杜撰的 `POST /api/v1/leads` 示例一并删除——对象名是 `crm_lead`,路由形态取决于运行时版本。 - **事件总线**(Kafka / EventBridge / Pub-Sub)、**密钥存储**(Vault / AWS Secrets Manager / GCP Secret Manager、90 天 OAuth 轮换)与原生 **`*.connector.ts` 插件** 形态在平台能力清单里都没有对应词条,各自标注「尚未落地」,并点明真正相邻的机制 (记录变更流程、`secret` 字段失败关闭地加密写入 `sys_secret`、钩子 / 流程 / 操作体)。 - 新增 **今天已落地的能力** 一节:HTTP 数据 API、客户 / 联系人 / 线索 / 商机列表视图 的 CSV / XLSX 导出、电子表格导入、出站发送邮件,以及 `notify` 节点的应用内通知。 指南索引里 **邮件与日历** 和 **集成** 两行随之改写:邮件行原先仍写着 「连接 Gmail / Outlook、双向同步、邮件追踪」,而该页自己已经把这些标为尚未落地。 zh-Hans / zh-Hant 同步。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHrPAGEgFDoHjphqYG4BMa
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
yinlianghui
marked this pull request as ready for review
August 5, 2026 18:17
This was referenced Aug 5, 2026
Merged
Closed
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Aug 6, 2026
sla-and-escalation linked /docs/administration/automation#case-escalation in all three locales, but the automation page has no "Case Escalation" heading — "Case Escalation Process" is a row in the table under "## Flows (multi-step)". English now links #flows-multi-step; the Chinese pages drop the anchor because their heading is 流程(多步骤)/ 流程(多步驟), whose slug differs. guides/mobile in Chinese linked whats-new#roadmap while the translated heading is 路线图 / 路線圖 — heading translated, anchor not. Both drop the anchor, matching PR #755 / #762. English keeps #roadmap, which resolves. Co-authored-by: Claude <noreply@anthropic.com>
This was referenced Aug 6, 2026
docs(integrations): narrow the "no Setup → Integrations menu" claims to what is measured (#800)
#908
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #756
沿用 #755(PR)确立、PM 认可的处置:未落地的能力标注「尚未落地」并保留设计意图 + 链到路线图,不单方面删除维护者书写的产品意图;「真的落地了」的行照实描述为已落地。逐行对
src/与平台包实测。实测结论
连接器:一个都没有。
src/与objectstack.config.ts里connector/gmail/outlook的全部命中只有三类,没有一处是连接器元数据:src/objects/lead.hook.ts:138线索评分里的免费邮箱域名正则;src/data/catalog.seed.ts:101/sales.seed.ts里名为 "Integration Connector Pack" 的商品种子;src/flows/contact-welcome.flow.ts:16/opportunity-approval.flow.ts:15的注释(前者恰好说明「发欢迎邮件需要一个邮件连接器 action,而我们没有」)。对 Slack / Teams / DocuSign / Stripe / Twilio / Aircall / RingCentral / Five9 / Intercom / Zendesk / Snowflake / BigQuery / Redshift / Zapier / n8n 全表 grep
src/:零命中(只有striped: true之类的假阳性)。src/apps/与src/pages/里也没有任何Integrations导航——表格里那 10 条Setup → Integrations → X路径指向的界面并不存在,这是本页最具误导性的部分,因此设置路径整列删除,换成「今天最接近的落地能力」。Webhooks 是本页唯一真实的能力,而原文错在另一个方向。
@objectstack/plugin-webhooks@17.0.0-rc.2确实提供出站 webhook 服务(每条订阅一行sys_webhook,可经管理界面编写或用defineStack({ webhooks })/defineWebhook()在代码里声明,命中后交给共享的消息 HTTP 出站队列投递)。但 HotCRM 没有启用它:objectstack.config.ts声明的是requires: ['automation', 'triggers', 'analytics', 'auth', 'ui', 'approvals', 'sharing'],其中没有webhooks;webhooks也不在PLATFORM_ALWAYS_ON_CAPABILITIES(queue / job / cache / settings / email / storage / sms / sharing / messaging / analytics)里;所以现在改述为「一个部署侧的决定,不是路线图项」,而重试次数、载荷结构选项、投递日志界面这些原文承诺的细节从来就不由 HotCRM 定义,交还给平台自己的文档,不在这里复述我没实测过的数字。
GraphQL 不存在。 平台的服务表里有一段明确记录:
graphql槽位被移除,理由是「GraphQL is not in the product plan」,/graphql路由此前已从 dispatcher 删除。杜撰的POST /api/v1/leads示例一并删除——本应用注册的对象名是crm_lead,而路由形态取决于运行时版本(customization/api-reference页自己也是这么写的,本页与它对齐)。事件总线 / 密钥存储 / 原生
*.connector.ts插件:平台能力清单(PLATFORM_CAPABILITY_PROVIDERS)里没有事件总线词条,也没有密钥存储词条,因此没有可配置的东西,那两个Setup → Integrations → …页面同样不存在。各自标注「尚未落地」,并写明真正相邻的机制:记录事件确实驱动记录变更流程;secret类型字段经部署注册的加密提供方加密后写入sys_secret,未注册提供方时写入失败关闭而非存明文(本应用今天没有编写任何secret字段);connector_action流程节点在规格里存在,但没有任何东西为它注册连接器——本应用自己的审批流程注释就记录着这一点。新增「今天已落地的能力」一节,全部有据:HTTP 数据 API;客户 / 联系人 / 线索 / 商机四个列表视图声明的
exportOptions: ['csv', 'xlsx'];带映射与试运行的电子表格导入;联系人上的出站发送邮件(#755 已实测:仅出站,未配置 provider 时回落 LogTransport);notify节点经消息服务送达 Console 铃铛。索引行
guides/index.mdx的邮件与日历行仍写着「连接 Gmail / Outlook、双向同步、邮件追踪」,与 #755 刚改完的目标页正文直接矛盾——按 issue 要求改掉。同表的集成行描述的正是本 PR 重写的这一页(原文「Slack、Teams、DocuSign、Stripe、电话系统」),留着会立刻复现同一个缺陷,因此一并改写;除这两行外未动该页。验证
三语 callout 数一致(各 2 个),并做了反向验证——预测方向为红:把 zh-Hant 那个 webhook callout 临时降级成普通段落后,门禁按预测报红且点名了本 PR 的新文件(
integrations.zh-Hant.mdx: 1 callout(s), but integrations.mdx has 2),证明它确实在读新页面而不是空过;随后已还原,重跑转绿。pnpm hygiene→ clean(含 no raw control bytes)pnpm typecheck→ 0 errorpnpm vitest run全量 → 62 files / 1475 passed | 1 skippedcontent/docs/releases/未触碰;平台版本仍为 17.0.0-rc.2,无任何升版;src/**、email-and-calendar各页(#755 刚定稿)、sales/**(#758 在飞)均未触碰。顺手发现(未在本 PR 修,已另行记录)
guides/import-and-export.mdx三语:同一缺陷类,声称「Setup → Data → Import Wizard」与一个「随箱提供」的 Salesforce 迁移向导(OAuth 授权 + 自动对象映射表)——同目录下importing-your-data.mdx才是实测过的那一页。guides/mobile.zh-Hans.mdx:10/.zh-Hant.mdx:10链到whats-new#roadmap,而 zh 页的标题是## 路线图/## 路線圖,#roadmap是悬空锚点(sla-and-escalation 三语都链到 /docs/administration/automation#case-escalation,而 automation 页没有这个锚点 #749 同类)。🤖 Generated with Claude Code
https://claude.ai/code/session_01VHrPAGEgFDoHjphqYG4BMa
Generated by Claude Code