Skip to content

Group details panel: approval card buttons overflow off the left edge, 拒绝 unreachable at 1440 px #593

Closed

Description

@Birfy

What happened? / 发生了什么?

At a 1440×900 window, the group's details panel (right side of a group chat) shows each member waiting for approval with a command-approval card. The card's action row (拒绝 / 允许一次 / 此 Bot 始终允许 / 本群始终允许) is wider than the panel and overflows off the left edge of the panel: 拒绝 is not visible at all and 允许一次 is cut in half, sticking out over the chat column. Only 此 Bot 始终允许 and 本群始终允许 are fully visible, so from the group panel you cannot reject a command.

The same card in 收件箱 (Agent inbox) renders all buttons fine (拒绝 / 允许一次 / 此 Bot 始终允许 / 本群始终允许 / 打开). On a phone the inbox wraps them onto two lines (#481/#544).

Expected: every button of the approval card is reachable in the group details panel at common desktop widths; the row wraps (or stacks) instead of overflowing.

Likely cause (code reading, origin/main 645a291)

core/src/client/member-status.js:

Change scope (suggested)

Client only: let .bt-mw-actions wrap (flex-wrap:wrap, keep right alignment per line) or stack in the narrow panel; a test on the CSS string like the existing CSS assertions. Run npm run build in core/ and regenerate patches.

Screenshot / 截图

Not attached (kept local). On the recording box: /workspace/slides/flybot-intro-834wrk/issue-evidence/group-panel-approval-overflow.png (full window: group 「登录改版」, details panel with Backend / Frontend / QA "等你批准" cards, 允许一次 cut at the panel's left edge, 拒绝 missing) and group-panel-approval-overflow-crop.png (zoom). The inbox rendering for comparison: inbox-approval-ok.png.

Steps to reproduce / 复现步骤

  1. Desktop window 1440×900 (zh-CN). Make a group (「登录改版」) with several Bots.
  2. In the group send "@ALL 提权:…" so the Bots ask for a command escalation (bash, escalate sandbox to danger-full-access). With the mock model this is its scripted escalation scenario.
  3. Open the group's details panel (header → details). Each member shows "等你批准" with a card: 拒绝 is off-screen, 允许一次 is half cut.
  4. Open 收件箱: the same cards show all buttons.

Diagnostics / 诊断信息

FlyBot main @ 4f6a53d (file unchanged on 645a291), @deepseek-ai/dsh 0.2.0-rc.2 (dsh web), headless Chrome, zh-CN, 1440×900 at DSF 2, mock model core/dev/mock-llm.mjs. Found while recording demos (the demo-4 recording showed the card from 收件箱 instead because of this), not by the self-test routine.

Privacy / 隐私

  • This report has no API keys, tokens or personal data.

Activity

  1. added
    bugSomething isn't working
    area:uiWeb/desktop UI and copy
    on Oct 21, 2026
  2. Birfy commented on Oct 21, 2026

    @Birfy
    CollaboratorAuthor

    Triaged (maintenance round, 2026-10-21): reproducible as written — the group details panel at 1440 px overflows the four-button approval row to the left, and the inbox renders the same card fine, so it is the panel row itself, not the card.

    Expected: every button of the approval card (拒绝 first) is reachable in the group details panel at common desktop widths; the row wraps or stacks instead of overflowing.

    Scope: core/src/client/member-status.js (.bt-mw-actions), a CSS assertion next to the existing ones, plus the regenerated core/client.js and patches/ds-bot/; tier T1. agent-ready — this round implements it.

  3. added
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    on Oct 21, 2026
  4. self-assigned this
    on Oct 21, 2026
  5. added
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    on Oct 21, 2026
  6. Birfy commented on Oct 21, 2026

    @Birfy
    CollaboratorAuthor

    Claimed by the maintenance round (2026-10-21): branch fix/593-approval-row-wrap, PR #596.

  7. removed
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    on Oct 21, 2026
  8. added a commit that references this issue on Oct 21, 2026
    dad73d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uiWeb/desktop UI and copybugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions