Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Remove `message:received` from the webhook examples

已关闭 适合新手
#184 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
88/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
documentation

调研方向

阅读 website/src/content/docs/server/setup.mdx 和 website/src/content/docs/examples/express-full.mdx;检查 webhook 部分以及 issue 中提到的示例。将两个 webhook 订阅都改为 lead:captured,并在 setup 文档中添加一句话,说明这是目前唯一的 webhook 事件。运行 pnpm --filter @chatcops/website build 进行构建,并确认没有 webhook 示例列出 message:received;保持 analytics 页面不变。

由索引模型根据 Issue 内容生成。

描述

documentation good first issue hacktoberfest

Two docs examples subscribe a webhook to message:received: website/src/content/docs/server/setup.mdx (line 64) and website/src/content/docs/examples/express-full.mdx (line 69). The server only sends webhooks for lead:captured (packages/server/src/handler.ts, in the tool executor), so anyone copying the example waits for an event that never comes. message:received is a real analytics event (website/src/content/docs/core/analytics.mdx), so leave that page alone.

What to do

  • Change the two examples to events: ['lead:captured'].
  • Add one sentence to the webhooks section of setup.mdx saying lead:captured is the only webhook event today.

Acceptance criteria

  • No webhook example lists message:received
  • pnpm --filter @chatcops/website build succeeds
  • Docs only, no changeset needed

Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #<this issue number>. Setup notes (pnpm, build before test) are in CONTRIBUTING.md.

主要语言
TypeScript
星标
13
派生
7
平均合并
3 小时 33 分钟
30 天内合并 PR
176

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codercops/chatcops 的其他 Issue

查看 codercops/chatcops 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。