Skip to content

列表观感:列之间加竖线,默认行高 32 改 36,底部每列的「添加统计」入口常显 #36048

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

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

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

  • 「已经开发完成的的列表页相关功能和记录详情页,再继续深度详细对照 attio 每一个细节的效果,关于界面美观度和用户体验提出优化改进意见,和我沟通」
  • 协调席给了 12 条对照意见,维护者:「其他你的其他Attio意见, 1 3 4 5 7 8 10 都同意,立卡」(本卡是其中第 5、7、8 条)

现状(主干 c00be39b74,本机环境浏览器实测,1440 宽,「客户」列表)

现状:我们的列表(没有竖线,行高 32,底部只有「12 条记录」)

参照(Attio,同样 1440 宽实测)

格子 36 高;行线和列线都是 1 的浅灰线 rgb(238,239,241);底部一行每列都常显「+ Add calculation」,已选了统计的列显示结果。

参照:Attio 列表(列之间有竖线,行高 36,底部每列常显 Add calculation)

要做的

  1. 列之间加竖线:表头和数据行都有,颜色和粗细跟现有的横线一致。冻结列和滚动区之间的分界线照旧,比普通竖线明显。
  2. 默认行高改成 36:表头同样 36。用户在行高菜单里选的其他档位(紧凑、高、特高)不变;「默认」这一档从 32 变成 36。格内编辑时行高仍然不变(列表格内编辑重做:编辑时行高不变,不再把表单控件塞进格子;每种字段类型固定用「原地输入、直接弹出、直接操作」三种做法之一 #36023 的规则)。
  3. 底部每列的统计入口常显:没有选统计的列,底部格子里一直显示浅色的「+ 添加统计」;选了的显示结果。没有权限改这个视图的人看不到入口,只看到已有的结果。

不做的

验收

  • 「客户」列表:任意两列之间有竖线,表头和数据行的竖线对齐;横向滚动时竖线跟着列走。
  • 默认行高下量数据行和表头,都是 36。把行高切到「紧凑」再切回「默认」,还是 36。
  • 双击一格进入编辑,行高不变。
  • 底部一行:没选统计的列显示「+ 添加统计」,不用鼠标移上去;点它出现统计种类的菜单。
  • 只读视图(比如包里带的视图、没有权限的人):底部没有「+ 添加统计」。
  • PR 正文附改动前后截图。

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

维护者同意的是「加竖线」「行高调到 36」「统计入口改成常显」。下面是协调席补的:

  • 第 1 项里冻结列分界线照旧。
  • 第 2 项里只改「默认」这一档、其他档位不动。
  • 第 3 项里没有权限的人看不到入口。
  • 「不做的」四条。

没有核对的

  • 行高各档位现在的具体数值没有逐个量,只量了默认档。
  • 底部统计入口现在对只读视图是什么表现,没有试。

Reader: domain:ui 车道。ui/packages/plugin-grid/src/ObjectGrid.tsx(:2114 起的行高档位)、ui/packages/components/src/renderers/complex/data-table.tsx、底部计算行的组件(#35702 的 PR 里)。

Dedupe: 列表 竖线 分隔线、行高 36、添加统计 常显(objectstack,open)→ 都是 0。相关:#35702(底部计算行,已关闭)、#36023(格内编辑行高不变)。

附图补于 2026-11-21T11:26Z(维护者:「你没有带截图吗」「用 attio 的截图」)。

Activity

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: card thread · 2026-11-21T11:29Z · card given to this seat by the maintainer at 2026-11-21 11:23Z (epic #35547).
    Area: b1-L
    Session: session_01L6bhgVphzAHrHnMrSMZGYb (card thread, dev-thread rule)
    Account: os-sales
    Branch: the card thread's harness push branch
    Seat: repo:objectstack#1
    Domain: domain:ui
    File surface: ui/packages/plugin-grid/src/ObjectGrid.tsx (the compact density and header height, OBJECT_GRID_TABLE_DENSITY column lines); objectGridSummaryPicker.tsx; the grid.summary.calculate text in the 11 i18n packs; rowHeightOffSpecBoundary.test.tsx, footerCalculationPicker-35702.test.tsx, e2e list-frame-geometry-35548.spec.ts, one new test; a changeset (patch).
    Container & model: M, own card thread, model: opus, effort: high
    Clause-②: no (no export, prop or key added; one existing i18n value changes its wording)
    Metadata-protocol: none
    Premise (thread, main 8145424b, /mnt/project-files/build-seat1/36048/premise-read.md): holds. The row-height menu has three densities (compact, standard, comfortable); a view with no rowHeight falls on compact, which is the card's "default" (32 today). Header 32; no column lines; the footer entry shows on hover only. Readers who may not change the view get no footer entry today (offersSummaryPick, pinned by #35933).
    Basis: card #36048 (epic #35547).
    Scope, the seat's reading:

    1. The compact density (the default) goes from 32 to 36, and the header from 32 to 36; standard 44 and comfortable 56 are unchanged. The card's "switch to compact and back to default" is read as "switch to standard and back to compact, still 36". Every embedded ObjectGrid follows; related lists keep their own density and the phone list draws cards.
    2. Column lines in the header, data rows and footer row, the same colour and weight as the row lines. The frozen-column edge keeps its scroll shadow (列表框架:页面栏 + 视图栏两条、表头 32 / 行高 33、统一 13 号字、合计与列对齐(图 36) #35548); it has no divider at rest today and gets none.
    3. The footer shows a faint 「+ 添加统计」 / "Add calculation" in every column without a calculation, always; the footer row stays 32 high. Readers without the right to change the view still see no entry.
    4. Editing a cell keeps the row at 36 (列表格内编辑重做:编辑时行高不变,不再把表单控件塞进格子;每种字段类型固定用「原地输入、直接弹出、直接操作」三种做法之一 #36023's rule), measured in the browser.
      Resume-from: none
      Fold-or-serial: serial; no fold. Landing order: after feat(list): a phone list gets its own top row, one row of pills, and bottom-sheet sort, filter and view panels that apply on ✓ #36024 and feat(fields): typed values edit flat in their list cell, record pickers open in place, a rating is set by key (#35688 S3) #36045 (both edit ObjectGrid.tsx; feat(list): a phone list gets its own top row, one row of pills, and bottom-sheet sort, filter and view panels that apply on ✓ #36024 also the same e2e file; feat(fields): typed values edit flat in their list cell, record pickers open in place, a rating is set by key (#35688 S3) #36045 pins the in-cell input at h-8). This PR merges main after them and moves the pins. overlap-check.mjs before each push. L1 at L1-b. The PR carries Fixes #36048.
  3. added
    pm:dispatched
    on Nov 21, 2026
  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: pm:dispatched to seat 1 (as set); rationale: area:ux · Feature · list look: column dividers, default row height 32 → 36, the per-column "add summary" entry always shown; maintainer's agreed items 5, 7, 8; topic #35547 → p2 as set by the coordinator · size S.

  5. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgVphzAHrHnMrSMZGYb
    os-dev-report

    {
      "issue": 36048,
      "status": "done",
      "branch": "claude/project-thread-04s64v",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36069",
      "session": "session_01L6bhgVphzAHrHnMrSMZGYb",
      "premise_still_valid": true,
      "summary": "Column lines (border-r, border-border/50, none after the last cell) in the object-grid header, rows and footer; the compact density (the default) and the header move from 32px to 36px, other densities unchanged; the footer's empty-cell hint is always shown as a faint + Add calculation (grid.summary.calculate reworded in 11 locale packs). Readers without onColumnSummaryPick still see no entry. Measured in app-crm at 1440 light and dark before (main 8145424b) and after.",
      "tests": "plugin-grid rowHeightOffSpecBoundary + footerCalculationPicker-35702 with packages/i18n: Test Files 107 passed, Tests 1998 passed / 13 skipped; e2e list-frame-geometry-35548 (chromium) 8 passed; ablation: column-line entry deleted via ablation-replace (anchor 1 -> 0), the new column-line case red (header: column line width), restored, git diff HEAD empty.",
      "gates": "local: plugin-grid type-check exit 0; overlap-check --branch=HEAD VERDICT clean exit 0; full plugin-grid vitest run NOT MEASURED (foreground limit), CI Test Core runs it; every other family to CI on the PR check-runs (in_progress at report time).",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes — pr_create (#36069, assignee os-sales), pr_request_reviewers (os-sales); plus this comment",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed: the record page's related-list body tables (BODY_TABLE_DENSITY) keep 32px rows and no column lines; the footer row measures 32.5px on a view offering the menu, same on main"]
    }

    Generated by Claude Code

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

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpm:dispatchedpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions