Skip to content

Phone list page: the comments icon opens the view's threads as a page, replies inside #39086

Description

@os-support-ai

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

Blocked-by: #39085
Parent: #39077 · M4 手机 · card U4 of the epic's milestone table
定级:area:ux · Feature · priority:p2 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:ux (mobile, by the North Star boundary rule) · Feature · size M · p2
  • Spec contract gate named: S3. General building blocks named: the phone page bar's end slot; the phone comment
    page's two-level layout and long-press action sheet taking their data as props.
  • Scope: §9 as written — icon in the phone bar, a URL-addressed page over the list, level 1 cards with filter and
    no box, level 2 thread with docked reply box and long-press actions, record name opens the record page.
  • Acceptance (phone viewport):
    • The icon opens the page; Back returns to the list at its scroll position; a refresh on the page reopens it.
    • Level 1 shows the same threads as the desktop column for the same view and member, and no comment box.
    • Opening a thread and replying works with the keyboard up (the box stays above it); long-press offers the
      same actions as the record's phone page.
    • Feeds off ⇒ no icon.
  • Order: see the Blocked-by: line at the top of this card.
  • Clause-②: yes (widening) if it adds props or locale keys; otherwise no.
  • Metadata-protocol: none
  • Likely files: ui/packages/app-shell/src/views/ObjectView.tsx (the usePublishPhonePageBar call),
    ui/packages/app-shell/src/urlParams.ts, ui/packages/plugin-detail/src/comments/CommentsPage.tsx,
    CommentActionSheet.tsx, locale files.

Generated by Claude Code

Activity

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

    @os-support-ai
    CollaboratorAuthor

    Ruling-ref: priority:p2 — maintainer, project thread, 2026-12-02: 「用fable 分析,并立专题卡, p1」 (07:13Z) and 「按推荐」 (07:36Z; Q7 recommended the phone page last at p2); 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 3 · 2026-12-02T18:24Z · zone osa-comments, epic #39077 milestone M4; seat routing (U3 #39085 merged via PR #39157 2026-12-02T17:58Z; a slot free under the maintainer's total cap of 3)
    Area: osa-comments
    Session: session_01WGufzhdHJJKEk4qyMAEUoz
    Account: os-support-ai
    Branch: claude/issue-39086-phone-list-comments-page
    Worktree: objectstack-issue-39086
    Domain: domain:ui
    Seat: repo:objectstack@os-support-ai
    File surface: ui/packages/app-shell/src/views/ObjectView.tsx (the usePublishPhonePageBar call and the page mount only), ui/packages/app-shell/src/urlParams.ts, a new sibling module under ui/packages/app-shell/src/views/ for the phone comments page (reason: ObjectView.tsx is 1,825 lines; a new concern goes beside it), ui/packages/app-shell/src/views/objectViewComments.tsx and ui/packages/app-shell/src/views/useViewCommentThreads.ts (reason: share U3's view-thread state with the phone page, no behaviour change on desktop), content/docs/frontend/plugins/plugin-detail.mdx (the list comments section, one paragraph), new test files named for #39086, the changeset (stop on breach; explain in the report)
    Container & model: M, 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
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7338437021
    Premise: holds — at origin/main b98173ce: ObjectView.tsx:1485 publishes the phone bar (usePublishPhonePageBar); U3 left the view-thread read in app-shell (useViewCommentThreads.ts, objectViewComments.tsx) and the level-1 list as the exported ViewCommentsPanel (props: threads, filter, onFilterChange, onOpenRecord, onExpand, renderExpanded, className, no composer); the record phone page CommentsPage (threadId, onOpenThread, onBack, backLabel, onEngage, className) shows one thread with the docked reply box and long-press sheet inside a record's DiscussionContext. Composition in the private app-shell can serve level 1 and level 2 without new props.
    Pre-claim lane: ui/** ⇒ domain:ui (file ownership only).
    Pre-claim deps: Blocked-by: #39085 closed (PR #39157 merged).
    Prior rulings read: check-prior-rulings.mjs --card 39086 --paths (ObjectView, urlParams, objectViewComments): thread: one comment, the priority Ruling-ref 7338437021 (maintainer 「按推荐」, Q7: phone last at p2); #39077 rulings 1–9 bind (rule 5: no new top-level comment); renderer ruling/⛔ lines (7494 shared settings, record 7058616478 pending views, :380 summing) are off this surface; ADR-0159 / ADR-0018 hits are term matches only. No conflict.
    Serial constraints cleared: check-handover.mjs --inflight --paths=… --card=39086: NO OVERLAP READ (one unread surface names no path); #39142 (card thread) is server-side, no shared file; #39057 shares only the locale files, which this claim does not take. Fence: Clause-②: no holds only with no new prop or export on a published @object-ui/* package (plugin-detail included) and no new locale key; if the build needs either, the dev stops and reports a fork, and the card goes to the seat for a card thread.

  4. added
    pm:dispatched
    and removed
    pm:blocked
    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": 39086,
      "status": "done",
      "branch": "claude/issue-39086-phone-list-comments-page",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39170",
      "session": "session_01WGufzhdHJJKEk4qyMAEUoz",
      "premise_still_valid": true,
      "summary": "On a phone, the list page publishes a comments icon in the phone page bar's end, before the More menu, on the lists the desktop column is offered on (grid or board, enable.feeds not false, queryCommentThreads present). It opens a full-screen page addressed by the list route's ?comments= (empty: threads; a root id plus the new private ?commentsRecord=: that thread). Pushes are popped and reload entries are replaced, as on the record phone page. Level 1 is the exported ViewCommentsPanel over the still-mounted list, with the column's own read (useViewCommentThreads), filter menu and no composer. Level 2 is the existing CommentsPage in thread mode inside the record's DiscussionContextProvider fed by useRecordDiscussion, so the docked reply box, keyboard handling and long-press sheet are the record phone page's own. No onAddComment is passed, and a thread gone from its record falls back to the cards. Fence held: no new prop, export or signature on any published @object-ui package and no locale key. ObjectView.tsx changed only in the usePublishPhonePageBar call and one page-mount line. Not built (fork in open_questions): the record's name in the level-2 header, because CommentsPage takes no title prop.",
      "tests": "13bcac80: pnpm --dir ui exec vitest run --maxWorkers=2 packages/app-shell/src/views/ObjectView.phoneCommentsPage-39086.test.tsx -> Tests 9 passed (9), VERDICT command-exit 0. Neighbours (11 app-shell files incl. ObjectView.commentsColumn-39085, useViewCommentThreads-39085, phoneFabSelecting-35883, rowCommentDot-39082, shellPageActions-36111, RecordDetailView.commentsPanel-36075, the four RESERVED_URL_PARAMS suites, plus packages/plugin-detail/src/comments/) -> Test Files 17 passed (17), Tests 261 passed (261), exit 0. pnpm --filter @object-ui/app-shell type-check (tsc --noEmit + tsconfig.test.json) exit 0. Ablation (src via vitest alias, no dist leg): scripts/ablation-replace.mjs anchor 'if (gone) goneRef.current();' x1->x0, blob e7a71b52->0cc9edbb; the 'falls back to the cards' case went red (1 failed); restored, blob == HEAD, git diff HEAD empty. Browser (showcase app on its own backend port, Console Vite proxied to it, Playwright Chrome 390x844 touch): icon before More; phone level-1 cards == desktop column cards (same two ids, same order); 0 boxes on level 1; reload on ?comments= and on a thread URL reopened each; reply sent from the docked box appeared; with visualViewport shrunk to 480 the page set data-keyboard-up=true, height 480, reply box bottom 480, caret in it; touch hold raised the sheet (emoji row, edit, delete); Contacts list scrollTop 600 -> open -> Back 600, close 600, focus back on the icon. Servers stopped.",
      "gates": "dispatch-gates --commands at 13bcac80: 71 derived. 68 exit 0. check:skill-examples exit 3 (PREREQUISITE NOT MET: no client-react dist), then exit 0 after building client-react. pnpm --dir ui exec vitest run scripts/ run with --maxWorkers=2: 172 files / 5159 tests passed, exit 0. NOT MEASURED: pnpm check:query-options-erasure, reason: exit 124, killed by my 300 s per-gate timeout after its self-test passed (repo-wide ESLint pass); CI 'Lint · scoped · query-options erasure' success. --ran reconciliation: 71 accounted, 70 run, 1 NOT-MEASURED, 0 UNRUN. ui/scripts/check-new-cross-file-line-citations.mjs: 0 new, exit 0. overlap-check before each push: VERDICT clean exit 0. PR #39170 check-runs on 13bcac80: 45 success, 12 skipped (path-filtered or opt-in, among them Build Core and Temporal Conformance), 0 failure; required set: 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, Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Check Changeset success.",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes: (1) fleet-write dispatch fw-20261202T193017Z-6c8ae9 = pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /repos/objectstack-ai/objectstack/issues/39170/assignees os-support-ai); (2) post-stamped.mjs --comment=39086 (POST /repos/objectstack-ai/objectstack/issues/39086/comments, this report). git push x4 (empty-branch probe + 3 commits) are not REST writes.",
      "classifier_refusals": [],
      "open_questions": [
        {
          "question": "#39077 section 9 puts the record's name in the phone thread page's header, and tapping it opens the record. CommentsPage (published @object-ui/plugin-detail) draws a fixed back label and title in its header and takes no title or press prop. Building this would break the Clause-② fence. Should it be built?",
          "options": [
            "A: leave it as shipped. The record's name opens the record from every level-1 card, the level-2 header reads 'Thread', and there is no follow-up card.",
            "B: a follow-up card thread adds an optional header-title prop to CommentsPage (a record name with an onPress) and passes it from the list page. That is Clause-② yes (widening): one optional prop on a published package, no locale key (the record name is data). About 40 lines plus a CommentsPage test, size S."
          ],
          "recommendation": "A for now, B only if the maintainer wants parity with section 9: every acceptance bullet is met without it, and B is a small, separate widening that is better reviewed as its own card."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed (no carrier): the mention roster (useMentionRoster) and the record-discussion mount in objectViewCommentsPage.tsx mirror the private helpers in objectViewCommentsColumn.tsx, which is outside this claim's file surface. Folding both into one shared module is a follow-up that touches that file. Dedupe words: 'view comments roster', 'useMentionRoster', 'objectViewCommentsColumn shared'"
      ],
      "deviations": [
        "dispatch-gates family 'pnpm --dir ui exec vitest run scripts/' was run with --maxWorkers=2 added (memory on the shared box), not byte-identical to the derived command",
        "check:query-options-erasure NOT MEASURED locally (exit 124 under my own 300 s cap); CI family success"
      ],
      "files_changed": [
        ".changeset/39086-phone-list-comments-page.md",
        "content/docs/frontend/plugins/plugin-detail.mdx",
        "ui/packages/app-shell/src/urlParams.ts",
        "ui/packages/app-shell/src/views/ObjectView.phoneCommentsPage-39086.test.tsx",
        "ui/packages/app-shell/src/views/ObjectView.tsx",
        "ui/packages/app-shell/src/views/objectViewComments.tsx",
        "ui/packages/app-shell/src/views/objectViewCommentsPage.tsx"
      ],
      "line_budget": "+891 / -8 across 7 files (dispatch-gates changed lines 899, under the 3000 human-merge threshold)"
    }
  6. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    Contributor

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

    2026-12-02T20:43Z · Delivered. PR #39170 merged (e9b01db395), L1 ACCEPT 7357387855, seat landing 7357478883; card closed by Fixes. pm:dispatched removed with this comment. Deferred by seat ruling: §9's record name in the thread page header, plus the helper dedupe and L1 nits N1/N3 → #39171 (p3, card thread).

  7. 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:uxdomain:uipriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions