Skip to content

List pages: record_row actions are reachable only by right-click when the grid has no selection column (sessions, invitations, API keys) #39435

Backlog

Description

@objectstack-fleet

repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2

What happens

On the console's list pages, an object's record_row actions are not drawn on the row. ObjectGrid passes drawRowControls: !listPageGrid (since #36021), so on a list page the per-row action column is withheld. The actions are expected to surface in the selection bar once exactly one row is selected (singleRowMenu).

That only works when the grid has a selection column. Several Setup lists have none, so their row actions can be reached only through the browser right-click context menu, which nothing on screen hints at:

List Declared record_row action Visible on the row / side panel
在线会话 (sys_session) 撤销会话 (revoke_session) no — only 在侧边打开 / 编辑
邀请 (sys_invitation) 取消邀请, 重新发送邀请, 复制邀请链接 no
API 密钥 (sys_api_key) 撤销 API 密钥 no

None of these lists has a row checkbox (document.querySelectorAll('main [role=checkbox]').length === 0), so there is no selection bar either. The record side panel's 更多操作 menu does not carry them: on a session it shows 分享 / 复制记录 ID / 整页打开.

Why it matters on a fresh install:

  • 「复制邀请链接」 is the only way to onboard someone while mail is not configured. The invite dialog itself warns that no mail will be sent.
  • 「撤销会话」 is what an admin needs when a laptop is lost.

Expected

When the list page grid will not offer a selection bar for a row, record_row actions must stay reachable from the row. Either draw the row controls for grids without a selection column, or give those grids single-row selection so singleRowMenu applies. The record side panel's action menu should also list the object's record_row / record actions.

Acceptance

  • On 在线会话, 邀请 and API 密钥 list pages, each declared row action is reachable without right-click.
  • A test pins that a list page grid with row actions and no selection column still renders a row-level entry point.

Supersedes finding 1 of #39428 (same root cause, now located).

Activity

  1. added
    bug
    priority:p2
    pm:queue
    domain:ui
    on Dec 3, 2026
  2. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Bug · p2 · pm:queue · size S, touched 2026-12-04T00:18Z. Rationale: the filer's area and grade stand. A list page without a selection column hides its record_row actions behind right-click, which affects sessions, invitations and API keys. Issue type set to Bug.
    Grade: area:ux · Bug · p2 · admins on Setup list pages · read (ObjectGrid drawRowControls since #36021).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxbugdomain:uipm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions