Skip to content

Grid: a row whose record has open comment threads shows a dot after the record name #39082

Description

@os-support-ai

立卡门类别:③ 维护者直派(专题 #39077 的子卡)。Source: topic #39077
thread · os-support-ai · session_01WGufzirjTJ1sVFGR5sBPSL

Parent: #39077 · M1 打底 · card U1 of the epic's milestone table
定级:area:data · Feature · priority:p1 set by the maintainer (see the Ruling-ref comment) · reach: n/a (new capability, maintainer direct) · evidence: read (isolated analysis on #39077, Served-tier: CONTRACT_REVIEW_TIER, tier verified)

维护者速读

  • 列表表格里,有未解决评论的记录在名称后面显示一个小圆点。

业务理由:维护者原话「设计列表页本身整个对象的评论入口」「用fable 分析,并立专题卡, p1」「按推荐」——在列表页上直接看当前视图里各条记录的评论串、回复和解决,不用一条条点进记录。已定的九条规则和七条待定的结论在 #39077 正文与其评论里,本卡不复述。

动手的读者:席位为本专题开的专区(维护者「这个专题直接派发吧,并发5」「开一个专区派发」),os-dev 按本卡施工。

Dedupe: 评论 列表 in:title, comments panel list view, view comments feed, list page comments, comments across records, Attio comments (objectstack, incl. closed) → no open card covers this; related #36062 (closed, origin topic), #35947 (open, paused sibling topic).

Scope and acceptance

§N below points at the English analysis inside #39077.

  • Layer: UI (console host) · area:data · Feature · size S · p1
  • General building blocks named: the grid's existing host adornment beside the row title, and the existing
    grouped per-record count read. No spec gate; no new view key.
  • Scope:
    • On an object list drawn as a grid, for an object with feeds on: one grouped read per page of rows, a small
      dot after the name of each record with at least one open (top-level, unresolved) thread; an accessible name;
      composed with the adornment the list already draws in one case.
    • Re-read when the page, sort or filter changes and when a comment write is announced.
    • Kanban unchanged.
  • Acceptance (browser):
    • Post a comment on a record, return to its list: the row shows the dot; resolve the thread: the dot is gone
      after the list re-reads; a record with only resolved threads shows none.
    • An object with enable.feeds: false sends no count read (network panel) and shows no dot.
    • One count request per page of rows, never one per row.
    • A member who cannot read comments sees no dot and no error.
  • Order: no upstream card.
  • Clause-②: no, unless a new locale key is added for the accessible name (then yes, widening).
  • Metadata-protocol: none
  • Likely files: ui/packages/app-shell/src/views/objectViewListRenderer.tsx (the rowAdornment hand-off),
    ui/packages/plugin-detail/src/comments/recordCounts.ts (useRecordCounts), locale files if a key is added,
    content/docs/frontend/.

Generated by Claude Code

Activity

  1. added
    priority:p1
    pm:queue
    domain:ui
    on Dec 2, 2026
  2. os-support-ai commented on Dec 2, 2026

    @os-support-ai
    CollaboratorAuthor

    Ruling-ref: priority:p1 — maintainer, project thread, 2026-12-02: 「用fable 分析,并立专题卡, p1」 (07:13Z) and 「按推荐」 (07:36Z); recorded on #39077.

    thread · os-support-ai · session_01WGufzirjTJ1sVFGR5sBPSL


    Generated by Claude Code

  3. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhdHJJKEk4qyMAEUoz

    Claim: PM loop round 1 · 2026-12-02T07:45Z · zone osa-comments, epic #39077 milestone M1 (no upstream card)
    Area: osa-comments
    Session: session_01WGufzhdHJJKEk4qyMAEUoz
    Account: os-support-ai
    Branch: claude/issue-39082-grid-row-comment-dot
    Worktree: objectstack-issue-39082
    Domain: domain:ui
    Seat: repo:objectstack@os-support-ai
    File surface: ui/packages/app-shell/src/views/objectViewListRenderer.tsx, ui/packages/plugin-detail/src/comments/recordCounts.ts (only if the existing grouped read cannot serve a comments-only page read as is), ui/packages/plugin-grid/src/ObjectGrid.tsx (only if composing two row adornments needs a grid-side change), content/docs/frontend/ (reason: the page that documents list-grid row adornments, one section), a new test file named for #39082 beside the renderer's tests (stop on breach; explain in the report)
    Container & model: S (not mechanical: the design judgement is the read wiring and the composition, so M treatment), mode:subagent, model: default tier (dispatch-gates --tier: "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s)"), effort: high (reason: zone order from the seat, effort high at the dispatch-named tier; S but not mechanical, M treatment)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7338429718
    Premise: holds — at origin/main 78148226: objectViewListRenderer.tsx:1236 hands rowAdornment={managedUsers ? managedUserMarker : undefined} to the grid (the one case the card says to compose with); useRecordCounts (plugin-detail/src/comments/recordCounts.ts:217, exported from @object-ui/plugin-detail) is the grouped per-record open-thread read the kanban footer uses (ObjectKanban.tsx:2255), gated there on objectDef?.enable?.feeds !== false.
    Pre-claim lane: ui/** ⇒ domain:ui (file ownership only).
    Pre-claim deps: none — the card names no Blocked-by:; milestone M1.
    Prior rulings read: check-prior-rulings.mjs --card 39082 --paths (renderer, recordCounts): thread: one comment, the priority Ruling-ref 7338429718 (maintainer 「用fable 分析,并立专题卡, p1」 07:13Z, 「按推荐」 07:36Z, recorded on #39077 comment 7338398195); 12 ruling/⛔ lines in the renderer, none on the rowAdornment hand-off (they govern view-key projection, density and the aggregate floor); no conflict.
    Serial constraints cleared: check-handover.mjs --inflight --paths=… --card=39082: NO OVERLAP READ (one unread: #38415, names no path). No branch commits yet, so overlap-check.mjs runs before the first push. Locale: the card's widening arm (a new locale key) is not taken; the dev reuses an existing key for the dot's accessible name, else stops and reports a fork.

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 2, 2026
  5. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhdHJJKEk4qyMAEUoz
    os-dev-report

    {
      "issue": 39082,
      "status": "done",
      "branch": "claude/issue-39082-grid-row-comment-dot",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39106",
      "session": "session_01WGufzhdHJJKEk4qyMAEUoz",
      "premise_still_valid": true,
      "summary": "On an object list drawn as a grid, a record with at least one open (top-level, unresolved) comment thread now shows a small dot after its name. The accessible name reuses the existing key kanban.cardFooter.comments ('Open comments: N'), so no new locale key and Clause-② stays no. A new sibling module, ui/packages/app-shell/src/views/objectViewRowCommentDot.tsx (RowCommentDots), wraps the list the renderer draws. It relays onRowsChange to the host, feeds the page's row ids to the unchanged useRecordCounts (comments on, attachments off), and composes the managed-user marker with the dot in the one rowAdornment, so both show when both apply. Gated on objectDef.enable.feeds !== false and never for a board's cards; reloadKey is the list's combined refresh key, and the data-invalidation bus re-asks after a comment write. Zone 2 assumptions measured true: app-shell already depends on plugin-detail (no new edge), and the hook serves a comments-only page read unchanged. Browser verification was not attempted. The four acceptance bullets are pinned by component tests through the real ObjectView and ListView.",
      "tests": "HEAD 49b6e0a9. pnpm --dir ui exec vitest run --maxWorkers=2 packages/app-shell/src/views/ObjectView.rowCommentDot-39082.test.tsx -> 'Tests 7 passed (7)'. 104 ObjectView.* suites + 5 suites that read the list's shown rows -> 'Test Files 1 failed | 108 passed (109)'. The one failure was ObjectView.listUrlState-11860: its queryGroupHeaders spy recorded the new sys_comment read (\"expected [ 'record_id' ] to be undefined\"). The fixture now records only the list object's reads; re-run listUrlState-11860 + the new file -> 'Test Files 2 passed (2) Tests 47 passed (47)'. pnpm --filter @object-ui/app-shell type-check (tsc --noEmit + tsc -p tsconfig.test.json, which includes src/**/*.test.tsx) -> VERDICT command-exit 0 on the final head. Ablations through scripts/ablation-replace.mjs (vitest aliases app-shell and plugin-detail to src, so no rebuild is needed; 'ok mutation landed' then 'ok restored: blob == HEAD'): renderer rowAdornment reverted to the managed marker -> 2 failed | 4 passed; feedsOn forced true -> 1 failed; board guard 'asked = feedsOn' -> first 6/6 GREEN (unpinned), so I added the layout-switch test, then 1 failed; board-tag guard removed -> 1 failed.",
      "gates": "Local, HEAD 49b6e0a9: dispatch-gates --commands derived 71 families; all 71 ran, each exit captured before any pipe; --ran with exit codes -> 'Run reconciliation — 71 derived, 71 run, 0 NOT-MEASURED, 0 UNRUN' (a derived zero). check:skill-examples first exited 3 (PREREQUISITE NOT MET: client-react dist); after pnpm --filter @objectstack/client-react build it exited 0. Extra: pnpm check:changeset-fixed exit 0 (roster under .changeset); pnpm --dir ui run check:new-line-citations -> 'VERDICT new-cross-file-line-citations: 0 new citation(s)'. CI on PR head 49b6e0a9 (45 success, 12 skipped, 0 failure): Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success (shards 1-9/16 success), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Check Changeset success, Check PR Size success, PR-body guards success, Spec property liveness success; skipped: Build Core, Temporal Conformance (live PG + MySQL), opt-in dogfood/tarball/upgrade lanes, Queue verdict, Borrowed queue verdict, UI Published Artifacts.",
      "mcp_calls": "0",
      "api_writes": "3 REST writes through the fleet-write relay plus post-stamped: POST /repos/objectstack-ai/objectstack/pulls (draft, #39106) and POST /repos/objectstack-ai/objectstack/issues/39106/assignees (os-support-ai), one pr_create stroke; POST /repos/objectstack-ai/objectstack/issues/39082/comments (this os-dev-report). git pushes are not REST: the empty-branch probe plus 5 commit pushes.",
      "classifier_refusals": [],
      "open_questions": [
        {
          "question": "Two files outside the claim's File surface were changed, and the dispatch says a breach stops the run. (1) The new module objectViewRowCommentDot.tsx: os-dev.md's rule for source files over 1,000 lines (objectViewListRenderer.tsx has 1,311) requires a new concern in a sibling module with only the call in the original, and os-dev.md wins a conflict with the dispatch. (2) The one-line fixture fix in ObjectView.listUrlState-11860.test.tsx, made stale by this change; without it Test UI is red. The changeset file is also outside the surface, required by Post-Task step 3. Keep both, or revert one?",
          "options": [
            "A: keep both and amend the claim's File surface on record",
            "B: revert the module back into the renderer, against the os-dev 1,000-line rule",
            "C: drop the fixture fix and leave Test UI red"
          ],
          "recommendation": "A, because both changes are forced: one by a binding os-dev rule, the other by this change's own consequence on a fixture. Neither widens scope."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: a server-grouped grid reports no row sequence to the host (ListView onRowsChange), so it draws no dot; v1 scope (Q5) does not require it, and the note is in the PR's Acceptance notes."
      ],
      "deviations": "1) File-surface breach, two files (open_questions[0]). 2) The second gate chunk passed the 600s foreground cap and the harness moved it to the background (not requested). It completed; I read exit codes from per-command logs, and no output was lost. 3) The PR body opens with the dispatch's two required lines, then 'Fixes #39082' on the first content line after them, instead of on line 1 as the os-dev DoD says (the dispatch order was followed). 4) BASE is fb32a1cf (origin/main had moved past 78148226 when the worktree was built); premise re-read at that base. 5) Browser verification not attempted; component tests stand in, as Zone 3 allows.",
      "files_changed": [
        ".changeset/39082-grid-row-comment-dot.md",
        "content/docs/frontend/plugins/plugin-grid.mdx",
        "ui/packages/app-shell/src/views/ObjectView.listUrlState-11860.test.tsx",
        "ui/packages/app-shell/src/views/ObjectView.rowCommentDot-39082.test.tsx",
        "ui/packages/app-shell/src/views/objectViewListRenderer.tsx",
        "ui/packages/app-shell/src/views/objectViewRowCommentDot.tsx"
      ],
      "line_budget": "537 changed lines (+530 / -7, 6 files) vs the 3,000 human-merge line: under"
    }
  6. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhdHJJKEk4qyMAEUoz

    Claim amendment: widening · 2026-12-02T09:13Z · PR #39106
    File surface: ui/packages/app-shell/src/views/objectViewListRenderer.tsx, ui/packages/app-shell/src/views/objectViewRowCommentDot.tsx (new; reason: os-dev's rule that a new concern in a source file over 1,000 lines goes in a sibling module, the renderer is 1,311 lines), ui/packages/app-shell/src/views/ObjectView.listUrlState-11860.test.tsx (reason: its queryGroupHeaders spy now also sees the new sys_comment read; fixture narrowed to the list object's reads), content/docs/frontend/plugins/plugin-grid.mdx, plus the claimed card-named test and changeset
    Serial constraints cleared: check-handover.mjs --inflight --paths= the two added files --card=39082: NO OVERLAP READ (one unread: #38415, names no path).
    Clause-②: no (unchanged: the accessible name reuses the existing kanban.cardFooter.comments key; no new locale key, no new export).

  7. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhdHJJKEk4qyMAEUoz

    2026-12-02T09:39Z · Delivered. PR #39106 merged (e9a5d4f42c), L1 ACCEPT 7340631898; card closed by Fixes. pm:dispatched removed with this comment. Open follow-up from L1 (not owed): N2, one real-grid look at the dot's spacing beside the Users marker, rides the zone's next dogfood pass. Unblocks #39085 (U3) on its #39082 leg.

  8. removed
    pm:dispatched
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:datadomain:uipriority:p1

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions