Skip to content

feat(channels): WeCom webhook 密码框 + Feishu 更名 Lark Bot + 展开提示 (ONE-44) - #138

Merged
mapxn merged 1 commit into
mainfrom
agent/mary/200745182a3a
Oct 22, 2026
Merged

mapxn merged 1 commit into
mainfrom
agent/mary/200745182a3a

Conversation

@mapxn

@mapxn mapxn commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

ONE-44 通道管理三项调整(前端)

改动

  • web/src/pages/channels/ChannelPage.tsx
    • WeCom Bot 的 webhook 字段 type: "text" → "password"(明文不再显示)
    • feishu 渠道显示名 Feishu → Lark Bot
    • feishu 增加 hintKey: "channels.feishuHint",复用已有的展开面板 hint 渲染(text-xs text-muted-foreground)
  • web/src/lib/channels.ts:feishu label → Lark Bot(通知项选择器使用)
  • web/src/locales/zh.json / en.json:channels.feishu → Lark Bot;新增 channels.feishuHint

内部 id feishu、feishu_config 存储与 dispatch 均未改动;其它渠道定义未动。

验证

  • pnpm typecheck(web tsc -b + worker tsc --noEmit)通过
  • pnpm build(web vite build + worker build)通过
  • biome lint 无新增问题(2 条 warning 与 info 为改动前既有,位于 PasswordPromptDialog / worker items.ts)
  • 本地 headless Chrome 渲染通道管理页:WeCom Bot Webhook URL 为密码框;Feishu 卡片显示 Lark Bot 并在展开时展示 zh/en 提示;通知项选择器选中态显示 Lark Bot

🤖 Generated with Claude Code

- wechatbot 的 webhook 字段改为 password 输入
- feishu 显示名改为 Lark Bot(ChannelPage + lib/channels + zh/en locales)
- 新增 channels.feishuHint(zh/en),展开 Lark Bot 时以 text-xs 小字展示
@mapxn
mapxn merged commit 2cdde3d into main Oct 22, 2026
1 check passed
@mapxn
mapxn deleted the agent/mary/200745182a3a branch October 22, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant