Repository navigation
fix(dashboard): 群管理抽屉的成员权限页签直接展示内容,去掉各页签重复的标题 - #2651
Merged
Merged
Conversation
- 成员权限:去掉外层分组框和内层折叠块,页签打开即展示成员授权与封禁, 标题不再重复;仍只在第一次切到该页签时加载成员 / 黑名单 / 授权回读 - 协作模式:去掉与页签同名的分组标题 - 机器人设置:回复模式下拉的「回复模式」标签只留给读屏;默认模型只显示 CLI 来源,不再重复「默认模型」;卡片置顶去掉与块说明重复的一段 help Co-Authored-By: Claude Opus 5.5 <[email protected]>
deepcoldy
requested review from
47seek,
LucasIcarus,
xiaoxueSunn and
xiongz-c
as code owners
October 31, 2026 19:29
Owner
Author
|
合后核验(作者侧):
评审留下的两条 P3 记为 follow-up:
另:远端 head 的提交作者是 review worktree 的本地身份( |
|
@deepcoldy 合入 master 后的 Midscene E2E 失败:Feishu live Midscene 失败。 这次运行覆盖 0cbabc8…1a2adea67(5 个提交),同批合入的还有 #2636 #2646 #2653 #2640,失败不一定由本 PR 引起。
|
This was referenced Nov 1, 2026
|
🚀 Released in v3.56.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.
改了什么
群组管理页「管理」抽屉(#2553 引入)的页签清理,按维护者使用反馈修改:
aria-label)。加载时机不变:原来成员权限靠「展开折叠块」才去拉成员列表、黑名单、授权回读(避免一打开抽屉就为每个在群 bot 打请求)。现在改为第一次切到「成员权限」页签时才挂载并加载,之后和其它页签一样常驻、只切
hidden,来回切换不重复请求,也不丢已加载的状态。影响面
member-access-section.tsx、groups-page.tsx、group-default-models.tsx,以及对应样式和文案。MemberAccessSection、GroupDefaultModelsRow、ProjectGroupModeSection只在群管理抽屉里使用;StreamingCardPinToggle在 Bot 配置页的用法(bot-defaultsscope)不受影响,只是群管理里不再传 help。grantAdmin.sectionTitle、groups.pinStreamingCardHelp(中英各一)。测试验证
test/dashboard-groups-redesign.test.ts):打开抽屉时不请求成员列表;切到成员权限后没有details/legend、成员行直接可见、只请求一次;切走再切回不重复请求;协作模式页签没有重复标题。test/dashboard-member-access-ui.test.ts:去掉「点开折叠块」步骤,新增「内容直接展示、无折叠、无重复标题」用例。test/dashboard-streaming-card-pin-toggle.test.ts:群管理里不再有 help;「每行 aria-describedby 指向自己的说明元素、id 不重复」改为校验 description。截图(改前 → 改后)
成员权限
协作模式
机器人设置(上半:回复模式 / 默认模型)
机器人设置(下半:卡片置顶)
🤖 Generated with Claude Code