Skip to content

List page: a header comments icon opens a side column with the current view's threads #39085

Description

@os-support-ai

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

Blocked-by: #39084, #39083, #39082
Parent: #39077 · M3 桌面 · card U3 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 · area:data · Feature · size L · p1
  • Spec contract gate named: the comment-threads read (S3). General building blocks named: the page header's
    shell-group comments entry; a side column in the list page's content row; the comment thread and comment item
    blocks taking their data as props; a list-to-host channel that reports the effective filter for every layout.
  • Scope:
    • Icon (no number) in the list page header's button group on grid and kanban views of a feeds-enabled object;
      pressed state; opens a 380 px right column that narrows the list; ✕ and Esc close it; open/closed remembered
      in this browser.
    • Column: title, filter menu with the two toggles (resolved off by default), newest-first cards (object icon,
      record name, author · date, first comment with mentions highlighted, 「N replies」 with faces), load-more.
    • Record name opens the record by the list's own open path.
    • A card or 「N replies」 expands the thread in place with reply, resolve / reopen, react, edit and delete as the
      record page offers them; no box for a new thread anywhere.
    • Re-read when the view, its filter or the toggles change; announce writes so dots and card counts follow.
    • States: loading, empty, filtered-empty with "show all", refused, failed with retry, cannot-scope.
    • New strings in all eleven locales; docs page and package README updated.
    • Maintainer rulings on 专题:列表页右上角的评论入口——看当前视图里各条记录的评论串,可回复、可解决,不能写新评论 #39077 (「按推荐」): the scope is the list as filtered right now (saved filter plus the reader's unsaved filter-bar / filter-panel choices); the quick-search box is NOT applied in v1. Object list views only in v1 — the bare data page and interface list pages are out of this card.
  • Acceptance (browser, two members):
    • On a list with a filter, the column lists only threads on records the filter selects; changing the filter
      changes the column; switching view changes it.
    • A member with narrower row access sees fewer threads, never a thread on a record they cannot open.
    • Reply in an expanded thread: it appears, and the thread's reply count rises; resolve: with "show resolved"
      off the thread leaves the list and the row's dot clears; reopen from "show resolved".
    • "Only my threads" keeps a thread I was only mentioned in and drops one I never touched.
    • There is no control that writes a new top-level comment.
    • Opening the column narrows the grid (the grid's width shrinks by the column's) rather than covering it at a
      1440 px window; the kanban view behaves the same.
    • An object with feeds off shows no icon. The record drawer opened from the list still has no comments.
    • Network: one threads request per page of the column; none while the column is closed.
  • Order: see the Blocked-by: line at the top of this card.
  • Clause-②: yes (widening) — new host props on published components and new locale keys.
  • Metadata-protocol: none
  • Likely files: ui/packages/app-shell/src/views/ObjectView.tsx, objectViewPageHeader.tsx
    (ObjectViewPageHeader), objectViewListRenderer.tsx, ui/packages/app-shell/src/layout/PageHeader.tsx,
    ui/packages/plugin-list/src/ListView.tsx (beside onFindParamsChange), ui/packages/plugin-detail/src/comments/
    (CommentThread, CommentItem, CommentsFilterMenu, a new feed list), ui/packages/i18n/src/locales/*,
    content/docs/frontend/plugins/plugin-detail.mdx.

Generated by Claude Code

Activity

  1. added
    priority:p1
    pm:blocked
    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. os-support-ai commented on Dec 2, 2026

    @os-support-ai
    CollaboratorAuthor

    Card thread: yes — per pm-dispatch dispatch-runbook.md 卡线程 (big card = L/XL or contract change): size L and Clause-②: yes (new host props on published components, new locale keys). Not a zone mode:subagent card.

    thread · os-support-ai · session_01WGufzirjTJ1sVFGR5sBPSL


    Generated by Claude Code

  4. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    Contributor

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

    Claim: card thread of seat repo:objectstack@os-support-ai, epic #39077 (list-page comments, the maintainer's 「这个专题直接派发吧,并发5」), M3 card U3
    Session: session_01WGufzhPdWmTd47Fi2bKYZS
    Thread session: session_01WGufzgJzS4DfAbhGoRzv5o
    Account: os-support-ai
    Branch: claude/project-thread-dns8v8
    Domain: domain:ui
    Seat: repo:objectstack@os-support-ai
    File surface: ui/packages/app-shell/src/views/ObjectView.tsx, objectViewPageHeader.tsx, objectViewListRenderer.tsx (calls only), objectViewCommentsColumn.tsx (new) and its hook file (new), with tests; ui/packages/app-shell/src/layout/PageHeader.tsx; ui/packages/plugin-list/src/ListView.tsx (calls only) and a new sibling module for the effective-filter host channel (reason: onFindParamsChange answers null on kanban, so a new host prop is needed), with tests; ui/packages/plugin-detail/src/comments/** (reason: CommentThread and CommentItem take data as props, CommentsFilterMenu is reused, and a new feed list and card are added) and ui/packages/plugin-detail/src/index.ts; ui/packages/types/src/data.ts (reason: a new optional DataSource door for POST /api/v1/comments/threads/query) and ui/packages/data-objectstack/src/index.ts (the adapter, via client.comments.queryThreads); ui/packages/i18n/src/locales/* (the eleven locales, new keys only); content/docs/frontend/plugins/plugin-detail.mdx, ui/packages/plugin-detail/README.md, ui/packages/plugin-list/README.md; changesets. Stop on breach; explain in the report.
    Container & model: L, mode:card-thread (built in the thread), model: TIER_DEFAULT (dispatch-gates --tier at 0c45d66f prints no MANDATORY line), effort: high; contract-tier L2 at CONTRACT_REVIEW_TIER for the widened published surfaces; L1 by osa-L1-a.
    Clause-②: yes (widening)
    Metadata-protocol: none
    Responsibility: n/a — feature card
    Premise: U1 (#39106), U2 (#39109, useRecordDiscussion) and S3 (#39135, the comment-threads read, self-hosted only, hosted route on #39134) are merged on main 0c45d66. Per the maintainer's rulings on #39077 (「按推荐」): the scope is the list as filtered right now, meaning the saved filter plus the reader's unsaved filter-bar and filter-panel choices; the quick-search box is not applied in v1. Object list views only (grid and kanban); the bare data page and interface list pages are out. No box for a new thread anywhere. Where the threads read is not mounted, the column shows its cannot-scope state rather than guessing.
    Serial constraints: check-handover.mjs --inflight reads no overlap. The locale files are shared with #39057 (zone osa-setup), which renames existing keys; this card adds new keys only, so whichever lands second merges main and re-runs the locale gates. #38415 is this seat's own claim with no path.
    Over 3,000 changed lines → Tier H via the seat; not split.

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

    @objectstack-fleet
    Contributor

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

    {
      "issue": 39085,
      "status": "done",
      "branch": "claude/project-thread-dns8v8",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39157",
      "session": "session_01WGufzgJzS4DfAbhGoRzv5o",
      "premise_still_valid": true,
      "summary": "The list page's comments column (U3 of #39077): a comments icon in the header's button group on a grid or board of a feeds-on object, opening a 380px column that narrows the list and reads the threads of the records the view's effective filter selects (saved + unsaved filters, no search) through the new optional DataSource.queryCommentThreads door. ListView gains the onEffectiveFilterChange host prop (every layout; unlowerable is reported, never 'no filter'); plugin-detail gains the presentational ViewCommentsPanel; an expanded card is the record's live discussion through useRecordDiscussion. 7 new strings in 11 locales, docs page, two READMEs, changeset (patch, Clause-② yes (widening), Metadata-protocol none).",
      "tests": "New: ObjectView.commentsColumn-39085 8/8, useViewCommentThreads-39085 21/21, ViewCommentsPanel.test 14/14, ListView.harness block onEffectiveFilterChange-39085 4/4, queryCommentThreads-39085 2/2. Neighbours: 22 files / 301 tests passed (PageHeader, ShellPageActions, ObjectView shell/headerFold/rowCommentDot, objectViewPageHeader, defaults-maps-mirror-en-pack, RecordDetailView.harness, plugin-detail comments). @object-ui/i18n 110 files / 1874 passed. tsc --noEmit clean on types, data-objectstack, plugin-list, plugin-detail, i18n, app-shell.",
      "gates": "dispatch-gates --commands: 74 commands, 72 exit 0. NOT MEASURED locally: `pnpm --dir ui exec vitest run scripts/` (SIGKILL by the container memory limit; re-run with --maxWorkers=2: 172 files / 5159 passed, exit 0) and `check:skill-examples` (exit 3, client-react not built, nothing measured). Eager closure budget green (i18n-locale-en 70.2/78.7 KB). CI on 489710fb: Build & E2E UI red on a source-text pin in list-frame-geometry-35548.spec.ts, fixed in f51a85dc; CI on f51a85dc pending at report time.",
      "mcp_calls": "0",
      "api_writes": "6 — POST pulls (draft PR), POST issues/39157/assignees, POST pulls/39157/requested_reviewers (refused 422: author), PATCH pulls/39157 (body), POST issues/39157/comments (Contract-review-claim via post-stamped), POST issues/39085/comments (this report via post-stamped)",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  7. removed
    pm:dispatched
    on Dec 2, 2026
  8. os-justin commented on Dec 2, 2026

    @os-justin
    Collaborator

    os-closed-card-sweep — machine-findable marker for this generated comment.

    Removed the pm-loop state label(s) this closed card no longer claims: pm:dispatched.

    A state label claims work is in flight. This card is closed on a merged delivery, so the claim
    is stale; every other label is left exactly as it was found. Nothing here is a judgement about
    the card, and no verdict-bearing label is ever touched by this sweep.

    zone build session_01QSeKYoSKoNUygbCoMBTbGc, on the seat's request (cross-session message 2026-12-02T17:18Z)

    Generated by Claude Code


    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:datadomain:uipriority:p1

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions