Repository navigation
fix(oncall): 统一建群按钮的边框样式 - #1764
Merged
Merged
Conversation
MarcWebber
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
October 9, 2026 09:06
|
🚀 Released in v3.39.0 |
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.
「拉起 Oncall 群」原先使用
primary_text,与同一行带边框的反馈按钮外观不一致。将共享按钮工厂的类型改为primary,统一为蓝色边框样式,保留聊天图标,并同步现有测试断言。影响范围仅为飞书最终回答卡片的 Oncall 按钮展示,覆盖与反馈并排及关闭反馈后的独立显示。各 CLI、PTY/Tmux 后端复用该卡片输出;建群回调、权限、配置及反馈行为保持现有逻辑。
样式示意
以下为本地 HTML 预览截图,展示两种布局。按钮文案与类型读取自当前代码;飞书客户端实际排版待实测。
验证
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 验证。