Skip to content

列表格子上点右键:菜单上半段是这个格子的动作(复制、粘贴、清空、修改历史),下半段保留整行的动作 #36289

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #35547(列表专题,维护者直派)。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。

维护者说过的(2026-11-22)

  • 「关于 attio 的用户体验,你再完整的试用一下和我们相关的各项功能,并提出优化改进意见和我沟通。」
  • 协调席汇报后,维护者:「1 2 3 6 7 继续确认」,复核后又要求「上一轮的四条,具体给我解释」。
  • 听完逐条解释(现状、Attio 的做法、建议的做法)后,维护者:「立」。
  • 本卡是四条里的第 2 条。

现状(主干 6c7c6db250,本机环境浏览器实测,1440 宽,自建应用「客户」)

我们:在备注格上点右键,出来的是整行的四项

  • 在任意格子上点右键:菜单是「打开、在新标签页打开、编辑、删除」。四项都针对整行,和点在哪一格无关。
  • 选中一个格子后按复制快捷键:已经能复制这个格子的值(实测调用了写剪贴板,内容是格子的文字)。菜单里没有对应的入口。

Attio(同日浏览器实测):

Attio:在格子上点右键是复制、粘贴、查看修改历史、清空值

  • 在格子上点右键:复制、粘贴、查看修改历史、清空值。都是针对这个格子的。

要做的

  1. 在格子上点右键,菜单分两段,中间一条分隔线。
  2. 上半段是这个格子的动作:
    • 复制:复制这个格子的值,和复制快捷键是同一个行为。
    • 粘贴:把剪贴板的内容写进这个格子,走和格内编辑一样的校验和保存。
    • 清空:把这个格子的值清掉。必填字段、只读字段上这一项不可点。
    • 修改历史:见 objectstack-ai/objectstack 上同批立的「字段修改历史」卡;那张卡做完前这一项先不出现。
  3. 下半段是整行的动作:保持现在的四项。
  4. 只读字段、没有编辑权限的记录:粘贴、清空不可点,复制可用。
  5. 在勾选列或行的空白处点右键:只出整行那一段。

不做的

  • 不改整行那四项的内容和顺序。
  • 不做多格选区(拖选一片格子再复制粘贴)。
  • 不改键盘快捷键。

验收

  • 在「客户备注」格上点右键:上半段有复制、粘贴、清空;下半段是打开、在新标签页打开、编辑、删除。
  • 点「复制」后在别处粘贴:是这个格子的文字。
  • 复制一格的文字,在另一行的同一列格上右键「粘贴」:值写进去并保存;看得到一次保存请求。
  • 在邮箱格上粘贴一段不是邮箱的文字:不保存,出现和格内编辑一样的错误提示。
  • 在「客户名称」(必填)上点右键:「清空」是灰的。
  • HotCRM 包里带的只读字段:粘贴、清空是灰的。
  • 列表有未保存草稿(排序、筛选)时用粘贴改了一格:草稿不受影响。
  • PR 正文附右键菜单截图。

协调席自己加的(不是维护者原话)

  • 菜单分上下两段的排法。维护者同意的是「格子右键菜单放格子的动作,保留整行的动作」。
  • 必填、只读时哪些项不可点。
  • 「不做的」三条。

没有核对的

  • 浏览器读剪贴板需要用户授权,被拒绝时「粘贴」怎么提示,没有想清楚;最低限度是说明原因,不静默失败。
  • 关联记录、人员、多选这类字段,粘贴文字怎么对应到值,没有定;先支持文本、数字、日期、单选(按选项名匹配),其他类型「粘贴」不可点。

Reader: domain:ui 车道。ui/packages/plugin-list(行右键菜单)。

Dedupe: 右键 格子 复制 清空(objectstack,open)→ 0。相关:#36023(格内编辑)。

Activity

  1. added
    enhancement
    priority:p2
    domain:ui
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    编号补充 · 2026-11-22T04:45Z

    正文「要做的」第 2 项里说的「同批立的字段修改历史卡」是 #36290。菜单里的「修改历史」一项等那张卡的第二步做完再出现。

  3. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:ux · Feature · a child the coordinator filed under #35547 (maintainer-directed, measured against Attio or Twenty), not a claim → p2 as set by the coordinator · size M.

  4. added
    pm:queue
    on Nov 22, 2026
  5. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jREBdDtYvSLn38xUCg

    Route (seat repo:objectstack#7, area f7-view): this card is built in two parts. Part 1 now: copy, paste, clear and the row section, without the 「修改历史」 entry (the card's own text: 「那张卡做完前这一项先不出现」); its PR says Part of #36289. Part 2: the 「修改历史」 entry, after #36290 step 2 lands.
    Part 1 starts once PR #36357 (#36270, every grid selects a cell first, ObjectGrid.tsx) is in the merge queue: the menu acts on that selected cell.
    Blocked-by: #36357

  6. added
    pm:blocked
    and removed
    pm:queue
    on Nov 22, 2026
  7. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Unlock (daily scan): every Blocked-by: target is closed, so pm:blocked → pm:queue; grade unchanged.

    Targets read this round, all closed in this repository: #36357 (merged). The line lived only in a thread comment. No Unlock-action: line, no assignee; same repository, so no installability check is owed.

  8. added
    pm:queue
    and removed
    pm:blocked
    on Nov 23, 2026
  9. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Claim: PM loop round 10 · 2026-11-23T21:29Z
    Session: session_01JQwxbZeHNsF3RWcWpj7rGj
    Thread session: opened by the coordinator; the thread names itself in its first report
    Account: os-warren
    Branch: the card thread's own branch, named at its first push; the seat records it then
    Worktree: objectstack-issue-36289
    Domain: domain:ui
    Seat: repo:objectstack#1
    Area: card thread #36289 (w9-36289)
    Dispatch: p2 area:ux, child of the list-page epic #35547 (dispatched as an epic child); its Blocked-by targets are closed (daily-scan unlock). The maintainer resumed area:ux cards at 2026-11-23T21:18:46Z and restated it at 2026-11-23T21:23:47Z (「area ux 任务继续处理, p1 p2 专题任务优先」); p1+p2, epic children first, under the 15-thread cap.
    File surface: the list grid's cell and row context menu under ui/packages (cell actions copy, paste, clear, change history; the row actions kept below), i18n keys, tests, a changeset (stop on breach; the thread's first report states the real surface and the seat amends this line)
    Container & model: S, mode:thread, model: opus — default tier; the thread's first report states the served tier, effort: high
    Clause-②: no. A new route, contract, spec key or export is amended to yes before its code
    Metadata-protocol: none
    Responsibility: as the card body states
    Thread-read: 7108947288
    Premise: read from the card; the thread re-reads it on its base before code
    Serial constraints cleared: no open PR names the card; #36494 (row-menu order, queued) is not claimed

  10. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 23, 2026
  11. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Claim: branch record · 2026-11-23T21:43Z · same session as claim 7114537138, which it completes
    Session: session_01JQwxbZeHNsF3RWcWpj7rGj
    Thread session: session_01JQwxbXwSwKtFLjfawUUTVG
    Account: os-warren
    Branch: claude/project-thread-xov5ie
    Worktree: objectstack-issue-36289
    Domain: domain:ui
    Seat: repo:objectstack#1
    Area: card thread #36289 (w9-36289)
    File surface: ui/packages/types/src/data-display.ts (optional cell on the renderRowContextMenu context), components/src/renderers/complex/data-table.tsx, plugin-grid/src/ObjectGrid.tsx, components/RowContextMenu.tsx, objectGridCellFacts.ts, i18n locales and defaults mirror, tests, a changeset, the plugin-grid docs page
    Container & model: S, mode:thread, served opus, effort: high
    Clause-②: yes (widening: a new optional cell member on the published @object-ui/types row-menu context, as #36661); a TIER_DEFAULT L2 is owed before landing
    Metadata-protocol: none
    Responsibility: as the card body states
    Thread-read: none
    Premise: holds on origin/main e0f0e9f
    Serial constraints cleared: no open PR names the card

  12. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbXwSwKtFLjfawUUTVG
    os-dev-report

    {
      "issue": 36289,
      "status": "done",
      "branch": "claude/project-thread-xov5ie",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36790",
      "session": "session_01JQwxbXwSwKtFLjfawUUTVG",
      "premise_still_valid": true,
      "summary": "A list cell's right-click menu now opens with the cell's own section (Copy, Paste, Clear, then Change history), a separator, then the row's existing items in their existing order. Paste and Ctrl/Cmd+V share one path (pasteIntoCell) that converts the text and holds it to the cell editor's own check before saving, saying on the cell why it refused; Clear is disabled on required fields, Paste and Clear on read-only/unwritable cells and on field types pasted text cannot stand for (lookup, person, multi-choice, ...); a refused clipboard read is explained on the cell. data-table's renderRowContextMenu context gains an optional `cell` member (Clause-②: yes, widening, as the seat amended; TIER_DEFAULT L2 owed before landing, run by the seat). Head 2f73214d8a.",
      "tests": "New cellContextMenu-36289.test.tsx (12) plus 2 new cases in data-table-row-context-menu-28434; affected packages (plugin-grid, i18n, types, components, app-shell mirror) under os-verify-lock at 3a524f386f: Test Files 2 failed | 1312 passed | 1 skipped (1315); both reds (zh-hant-generated, phoneCardRowActions-29150) fixed at 2f73214d8a and re-run: VERDICT command-exit 0, Test Files 2 passed (2), Tests 15 passed (15). Touched context-menu and cell-editing pins: Test Files 6 passed (6), Tests 78 passed (78). Type-check types, i18n, components, plugin-grid joined with && under the lock at 2f73214d8a: VERDICT command-exit 0. Browser on the showcase stack: menu order, copy then paste saved via PATCH /api/v1/data/showcase_contact/RECORD_ID, email paste refused with no request, checkbox cell row-only, required lookup and formula Paste+Clear disabled, required name Clear disabled, unsaved draft sort untouched by a paste; 12 frames in the project's card thread, described in the PR body.",
      "gates": "dispatch-gates --commands at 2f73214d8a: 73 derived; each run with its exit code recorded before any pipe; --ran: 73 derived, 72 run, 1 NOT-MEASURED, 0 UNRUN. NOT MEASURED: pnpm --filter @objectstack/spec run check:skill-examples, reason: exit 3 PREREQUISITE NOT MET (needs packages/client-react built .d.ts; not touched by this card). CI at 2f73214d8a: every check suite completed with no failure (Lint & Repo Gates success, Lint UI success, Type Check UI success, TypeScript Type Check success, Build & E2E UI success, Live E2E UI success, Test UI shards and Test Core shards success, Check Changeset success, PR-body guards success, Governed Surface Queue Guard success, Spec property liveness success); mergeable_state clean.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "reads only — mcp__github__pull_request_read (get_check_runs, get_status, get); no MCP write tool",
      "api_writes": "3 — relay: pr_create (#36790), issue_patch (#36790 body), this comment (POST issues/36289/comments via post-stamped)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted in Acceptance notes: Ctrl/Cmd+V on the selected cell now refuses what the cell editor refuses and says why (agreed with the seat before code); keyboard bindings unchanged"
      ]
    }

    Generated by Claude Code

  13. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Cleared · 2026-11-23T23:43Z: closed by the merge of #36790.

  14. removed
    pm:dispatched
    on Nov 23, 2026
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:uxdomain:uienhancementpriority:p2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions