Skip to content

Record page: a long text summary roll-up is cut to one line, and SummaryField's read display has no dark-mode colour #34182

Closed

Description

@objectstack-fleet

domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

Filing gate: ③ an out-of-scope finding of the #34148 dev (os-dev report 6903488026 on PR #34180, carrier: seat), class a (read in code and in the dev's jsdom measurement, not measured live).
Reader: domain:ui (ui/packages/plugin-detail/src/DetailSection.tsx, the fields package's SummaryField). Grade suggestion: p3 (the summary half of #34148, which was p2 for formulas; a text-returning summary is rarer).
Dedupe: is:issue is:open SummaryField dark — none.
Blocked-by: #34148

维护者速读

记录详情页里,文本型的汇总(summary)字段值和 #34148 修之前的公式一样,只显示一行省略号,完整值只在悬停提示里。#34148 只改了公式,没有把汇总一并改成读展示,原因是汇总字段自己的只读展示把文字颜色写死成 text-gray-700,没有暗色变体,直接换过去会让暗色模式下的数字汇总变暗。

Facts (read on PR #34180 head 91831e6d)

Ask

Give SummaryField's read display a dark-mode colour (the token the other read displays use), then read a summary on the record detail grid through it, the same move #34148 made for formula, so a long text summary wraps. Grid rows and the highlights strip keep their faces. Pins: a long text summary renders in full on the record page; the read display carries a dark-mode colour; CONTROL: the list grid row keeps its truncation. Ablate red.

⛔ Not a claim.

Activity

  1. added
    bug
    pm:queue
    finding
    domain:ui
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

    Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205

    Grade: p2 (was p3) · area:ux · Bug · UX × daily · a long text summary roll-up is cut to one line on the record page

  3. added
    priority:p2
    and removed on Nov 18, 2026
  4. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ

    Claim: PM loop round 1 · area ux-2 (lease:ux-2; the maintainer, verbatim, 2026-11-19 project chat: 「接手 area:ux」「优先 p1 p2」) · 2026-11-19T00:11Z
    Session: session_01Utp6CZrgaiMgTJCnswR6jQ
    Account: os-bill
    Branch: claude/issue-34182-summary-wrap
    Worktree: objectstack-issue-34182
    Domain: domain:ui
    Seat: repo:objectstack#5
    File surface: ui/packages/fields/src/widgets/SummaryField.tsx (read display colour), ui/packages/plugin-detail/src/DetailSection.tsx (the summary branch beside the formula one), their tests, root .changeset/. Stop on breach and report.
    Container & model: S, mode:subagent, model: default — no path-derived mandate, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: ui DetailSection in objectstack maps summary to the one-line cell renderer, and SummaryField's read display hard-codes text-gray-700; the platform path is the read display #34148 used for formula; every reader of a record page with a long text summary
    Thread-read: 6984512866
    Premise: holds — on origin/main cdb327fd: DetailSection.tsx:693 reads only resolvedType === 'formula' through the field read display; SummaryField.tsx:75 carries text-gray-700 with no dark: variant; Blocked-by #34148 is closed (completed)
    Serial constraints cleared: none — no open PR touches these files (live read of all 39 open PRs' files at claim time)
    Pre-claim lane: domain:ui (ui/packages/fields/**, ui/packages/plugin-detail/**)
    Pre-claim deps: Blocked-by #34148 closed completed; overlap with open PRs: none
    Prior rulings read: record,page,long,text,summary,roll-up,line,summaryfield,read,display,dark-mode,colour → 254 hits; none on point (ADR hits are term noise: ADR-0061 D2, ADR-0014 §2, ADR-0030 §2, ADR-0032 §3, ADR-0035 §4, ADR-0090 D11, ADR-0093 D9, ADR-0131 D5, ADR-0139 D4); thread: none

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 19, 2026
  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
    os-dev-report

    {
     "issue": 34182,
     "status": "done",
     "branch": "claude/issue-34182-summary-wrap",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35269",
     "head": "1459c2e1",
     "session": "session_01Utp6CZrgaiMgTJCnswR6jQ",
     "premise_still_valid": true,
     "A1": "holds at origin/main cdb327fd: DetailSection.tsx routed only `resolvedType === 'formula'` (matched with `CellRenderer === FormulaCellRenderer`) through the field read display; `summary` fell through to the generic CellRenderer branch, which is FormulaCellRenderer.",
     "A2": "holds at cdb327fd: SummaryField.tsx read span was `text-sm font-medium tabular-nums text-gray-700`, no dark: variant. Sub-reading: the sibling read faces (FormulaField `text-sm`, CurrencyField/NumberField `text-sm …`) carry NO colour token and inherit; the record row's value container sets `text-foreground`, which is the token used.",
     "summary": "SummaryField's read display now uses the theme token text-foreground in place of text-gray-700. DetailSection reads a `summary` through SummaryField, next to the formula branch (matched by renderer identity and type, raw value in, record as dependentValues), so a long text roll-up shows in full and wraps on the record page. Grid rows keep FormulaCellRenderer's one-line truncation with a title, and the highlights strip is untouched.",
     "files_changed": [
      ".changeset/34182-summary-read-wraps.md",
      "ui/packages/fields/src/widgets/SummaryField.tsx",
      "ui/packages/fields/src/__tests__/summaryFaces.numberFace-11752.test.tsx",
      "ui/packages/plugin-detail/src/DetailSection.tsx",
      "ui/packages/plugin-detail/src/renderers/__tests__/record-details.textReadWraps-25897.test.tsx"
     ],
     "tests": "at head 1459c2e1 (src unchanged since b0ac3130): the two touched files ran with `pnpm --dir ui exec vitest run` and gave Test Files 2 passed (2), Tests 143 passed (143). packages/fields/ + packages/plugin-detail/ gave Test Files 693 passed | 2 skipped (695), Tests 8142 passed | 25 skipped (8167). Ablation went through scripts/ablation-replace.mjs (each anchor 1->0, blob changed); @object-ui/fields is aliased to src in ui/vitest.config.mts, so no dist rebuild was needed. Leg A, the summary branch type changed to 'summary-ablated': 2 failed | 141 passed, the desktop and phone 'a summary cell holds the read display SummaryField renders, in full, and wraps' cases. Leg B, text-foreground changed back to text-gray-700: 2 failed | 141 passed, the two 'carries a dark-mode colour' cases. Restore: git diff HEAD 0 bytes, and the working-tree blob equals the HEAD blob for both files.",
     "gates": "Local: dependency closure build of '@object-ui/plugin-detail^...' and '@object-ui/fields^...', lock VERDICT command-exit 0. type-check for @object-ui/fields and @object-ui/plugin-detail, VERDICT command-exit 0, both 'type-check: Done'. dispatch-gates --commands derived 38 commands; all 38 exit 0. check:type-check-debt first exited 3 (PREREQUISITE NOT MET: queue-timeout behind my own package test run, so NOT MEASURED); the rerun under the lock was OK, 0 raw tsc errors. `pnpm --dir ui exec vitest run scripts/` gave Tests 5092 passed | 2 skipped. Extra runs: check:changeset-fixed exit 0, and check:new-line-citations reported 0 new. --ran reconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. CI at report time: Test Core success, Dogfood Regression Gate success, Governed Surface Queue Guard success, Type Check · workspace success, PR-body guards success, Check PR Size success. Lint UI, Type Check UI, Test UI 1-16, Build & E2E UI, Live E2E UI, Check Changeset and the Lint · * jobs were in_progress.",
     "line_budget": "n/a: no skills/** or ratcheted line ledger touched. The diff is +164/-9 over 5 files (dispatch-gates count), under the 3000 human-merge threshold.",
     "deviations": [
      "The dispatch order asked for a 'Co-Authored-By: Claude Opus 5.5' commit trailer. The pre-push check:commit-card-trailers refused it because it names a model. I reworded it to the model-free pair 'Co-authored-by: Claude' (noreply address) plus Claude-Session before the first publish (an amend, no force-push).",
      "The suggested route named a new test file for this card. AGENTS.md (ruling record 6583487846) puts a new pin into the component's existing shared harness file as a top-level describe, so the pins went into record-details.textReadWraps-25897.test.tsx and summaryFaces.numberFace-11752.test.tsx.",
      "Colour token: the card asks for the token the other read displays use, but those faces set none and inherit. I used text-foreground, the record row value container's token. This is recorded in the PR Acceptance notes.",
      "The PR body ends with the dispatch-mandated robot line and session URL, and does not carry its own '---' plus session-URL footer block. The relay read-back was identical: 5665 bytes sent and stored, nothing appended."
     ],
     "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm.",
     "mcp_calls": "0",
     "api_writes": "2 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls plus its assignees leg POST /repos/objectstack-ai/objectstack/issues/35269/assignees, os-bill) and this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/34182/comments). git push x2 is not a REST write.",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "AutoNumberField's read display hard-codes text-gray-700 with no dark: variant, which is the same family as A2. I read this in code only and have no live repro. On the record page auto_number reads through TextField, so the face is limited to the form widget. carrier: none · noted in the PR Acceptance notes, not filed · dedupe words: AutoNumberField text-gray-700 dark"
     ]
    }
  7. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ

    Closed-out · area ux-2 · 2026-11-19T01:41Z

    reading value
    PR #35269 MERGED through the merge queue as d6d9645056 (Fixes #34182; this card closed completed)
    contract record none owed (Clause-②: no); L1-a ACCEPT 6996715024

    Delivered: a summary on the record detail grid reads through SummaryField's read display, so a long text roll-up shows in full and wraps; SummaryField uses text-foreground instead of text-gray-700. Grid rows keep the one-line cell.
    Follow-up: #35278 (AutoNumberField's read display has the same fixed text-gray-700, p3, pm:queue).
    State: pm:dispatched removed; card closed.

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

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uifindingpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions