Skip to content

fix(oncall): 统一建群按钮的边框样式 - #1764

Merged
deepcoldy merged 1 commit into
deepcoldy:masterfrom
MarcWebber:codex/oncall-button-style
Oct 9, 2026
Merged

deepcoldy merged 1 commit into
deepcoldy:masterfrom
MarcWebber:codex/oncall-button-style

Conversation

@MarcWebber

Copy link
Copy Markdown
Contributor

「拉起 Oncall 群」原先使用 primary_text,与同一行带边框的反馈按钮外观不一致。将共享按钮工厂的类型改为 primary,统一为蓝色边框样式,保留聊天图标,并同步现有测试断言。

影响范围仅为飞书最终回答卡片的 Oncall 按钮展示,覆盖与反馈并排及关闭反馈后的独立显示。各 CLI、PTY/Tmux 后端复用该卡片输出;建群回调、权限、配置及反馈行为保持现有逻辑。

样式示意

以下为本地 HTML 预览截图,展示两种布局。按钮文案与类型读取自当前代码;飞书客户端实际排版待实测。

Oncall 按钮并排与独立显示的本地样式示意

验证

  • git diff --cached --check:通过。
  • node node_modules/vitest/vitest.mjs run --project unit test/oncall-group.test.ts test/oncall-group-callback.test.ts test/skill-feedback-card.test.ts:最新主干上建群回调 10 项通过;另两组在加载阶段因本地依赖缺少 smol-toml 而中断。
  • bun run build:本机缺少 Bun,返回 bun: command not found。完整构建待 CI 验证。
  • 当前交付为源码与样式示意;daemon 部署及飞书客户端验证待完成。

@deepcoldy
deepcoldy merged commit 665441e into deepcoldy:master Oct 9, 2026
7 of 10 checks passed
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

🚀 Released in v3.39.0

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.

2 participants