Skip to content

Record Overview body table: keep totals of columns dropped for width #35831

Closed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ

Follow-up of #35742 (PR #35824). L1-a R1 is in record 7037129863.

Problem

On the record page Overview, a master-detail body table now draws only the leading columns that fit whole. The other columns sit behind the ⤢ "All columns" button. When an omitted column is summed, its total leaves the body table's totals line too. A summed amount (for example a line amount) can vanish from Overview only because its column did not fit. It is still one click away under "All columns".

Done when

One of these is true on the Overview body table, at any width that omits a summed column:

  • (a) the totals line keeps the total of every omitted summed column, labelled with the column's name; or
  • (b) the totals line says how many more totals sit in "All columns", for example "+2 totals in All columns", and that text opens the enlarged view.

The visible columns' totals are unchanged. A table that omits no column shows no added text.

Where

  • ui/packages/plugin-detail/src/RelatedList.tsx: the body-table face (bodyTableColumnsThatFit, the column cap, and the totals row).
  • Pins next to RelatedList.bodyTable-27055.test.tsx.

Not in scope

Activity

  1. added
    enhancement
    pm:queue
    domain:ui
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:ux · Bug · on the record Overview body table, a summed column dropped for width also drops its total from the totals line, so an amount silently vanishes from Overview (still one click away in "All columns"); follow-up of #35742 → p2 (UX has no p3; the filed p3 is raised under the UX rule) · size S (RelatedList.tsx totals row plus pins).

  3. added
    bug
    priority:p2
    and removed on Nov 20, 2026
  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruling-ref: maintainer 2026-11-21T22:3xZ, verbatim: 「按建议升」, on triage's third non-topic pass (about 10% of non-topic p2, the maintainer's ask: 「按照10% 的比例重新分析」) under the standard ruled 「同意」 today: this week, or someone loses.

    2026-11-21T22:38Z · p2 → p1 on the maintainer's word: money hidden: on the record Overview, a summed column dropped for width takes its total with it. Lane and state unchanged.

  5. added
    priority:p1
    and removed
    priority:p2
    on Nov 21, 2026
  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Seat intake · 2026-11-22T02:30Z · the maintainer gave this p1 to seat repo:objectstack#1 in its project chat (「这些全部接,能派的立刻派」, 2026-11-22T02:27Z), together with #36005, #36082, #35645, #35831 and #33581. Each goes to its own card thread. Order inside the running cap of 10: #36005 now, then #36082, #35645, #35831 and #33581 as slots free. Each thread sends a premise first, and the seat then writes the Claim: and flips the labels. Until then this card stays on pm:queue with no assignee (the queue rule); this note is the hold.

  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Release: handover to seat repo:objectstack#4 · 2026-11-22T02:43Z · the maintainer told seat 1 to finish only its work in hand and to hand later work to seat 4 (2026-11-22T02:39Z). Handover in seat 4's mailbox #36124 (comment 7073058497) with this card's state, brief and conflict points. Seat 1 holds nothing on this card now.

  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

    Claim: PM loop round 1 · 2026-11-22T07:26Z
    Session: session_01QsR2jRaJbQ4vqdv4J5peqA
    Account: zhuangjianguo
    Branch: claude/issue-35831-overview-dropped-totals
    Worktree: objectstack-issue-35831
    Domain: domain:ui
    Seat: repo:objectstack#7
    Area: f7-record
    File surface: ui/packages/plugin-detail/src/RelatedList.tsx (body-table face: bodyTableColumnsThatFit, the column cap, the totals row), new pin file beside RelatedList.bodyTable-27055.test.tsx, @object-ui/i18n packs if a new string is needed, changeset.
    Container & model: S, mode:subagent, model: opus (TIER_DEFAULT; dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: RelatedList.tsx body-table totals row in objectstack (platform card carries the fix) | no platform path covers it today (the total is only reachable in "All columns") | every Overview reader of a master-detail body table narrow enough to drop a summed column
    Thread-read: 7073082927
    Premise: holds (the dev re-reads it on origin/main first; #36236 merged, which this card waited on)
    Pre-claim lane: domain:ui — ui/packages/plugin-detail/src/RelatedList.tsx
    Pre-claim deps: #35824 merged; #36236 merged (the hold seat 4's handover addendum 7075503648 names)
    Prior rulings read: record,overview,body,table,totals,columns,dropped,width → 208 hits; ADR-0071 Decision §1, ADR-0139 D4, ADR-0030 Decision §2, ADR-0030 Decision §4, ADR-0061 D2, ADR-0062 D6; thread: none; repo: objectstack-ai/objectstack
    Serial constraints cleared: none in this area on RelatedList.tsx; overlap-check.mjs before the first push.
    Resume-from: none
    Fold-or-serial: alone (no other f7-record card edits the body-table totals).

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  10. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 35831,
      "status": "done",
      "branch": "claude/issue-35831-overview-dropped-totals",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36379",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "Built arm (a): on the record Overview body table, the totals of the summed columns that bodyTableColumnsThatFit left out are drawn on a line under the table (BodyTableTotalsLine, marker data-body-table-omitted-totals), each labelled with the column's header and formatted with the same BodyTableTotal.text the column's own summary cell uses, so currency follows the existing totals (page record's currency for a line amount following its parent). Visible-column totals are unchanged; the summary row is drawn only while a drawn column has a figure (with every summed column left out it would be an empty 'Total' row, and the line carries them all). No new string or key: Clause-② no and Metadata-protocol none stand as claimed. Premise measured on origin/main b3bcfefc: the table face's totals were the data-table summaryRow, whose cells render only for the sliced visible columns, so a left-out column's total vanished; the PM mechanism assumptions held.",
      "tests": "HEAD 51d2c17d (code identical to 925193b5), lock VERDICT command-exit 0: new RelatedList.bodyTableOmittedTotals-35831.test.tsx + RelatedList.bodyTable-27055 + RelatedList.parentCurrency-31912: Test Files 3 passed (3), Tests 41 passed (41). Ablation via scripts/ablation-replace.mjs on the committed fix (bodyOmittedTotals forced to []; anchor x1->x0, marker x0->x1, blob 5be8b162->893f3ce8): Tests 4 failed | 2 passed (6), the two green being the fits-whole and only-unsummed controls; restored blob == HEAD, git diff HEAD empty; a first attempt was a refused no-op (replacement text inside the anchor), stated. Narrowed sweep, every test mounting RelatedList or a body table (85 files): Test Files 84 passed | 1 skipped (85), Tests 669 passed | 8 skipped (677), VT_EXIT=0. pnpm --filter @object-ui/plugin-detail run type-check: TC_EXIT=0. Final head 45eba3d4 (test-file-only change: two raw U+00A0 bytes the Write tool materialised from an escape, rewritten as the escape spelling after Lint UI went red on no-irregular-whitespace): local re-run NOT MEASURED, reason: three lock queue-timeouts (exit 99); CI Test UI 16/16 success on 45eba3d4 covers it. eslint on both changed files: EXIT=0, 0 errors.",
      "gates": "Local, derived by dispatch-gates --commands --repo objectstack-ai/objectstack at 51d2c17d (38 families): 36 exit 0; pnpm check:type-check-debt exit 3 = PREREQUISITE NOT MET (its closure build hit a lock queue-timeout), NOT MEASURED locally; pnpm --dir ui exec vitest run scripts/ (under lock): Test Files 172 passed | 2 skipped (174), Tests 5127 passed | 2 skipped, VERDICT command-exit 0. --ran reconciliation: 38 derived, 38 run, 0 UNRUN. check:nul-bytes OK at 45eba3d4. overlap-check: VERDICT clean exit 0 before both content pushes that followed it. CI on 45eba3d4: Lint & Repo Gates success, TypeScript Type Check success (Type Check · debt ledger success), Test Core success, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success (16/16 shards), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Check Changeset success, PR-body guards success. On 51d2c17d Lint UI was failure (two no-irregular-whitespace errors in the new test file), fixed by 45eba3d4.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay pr_create (POST pulls, #36379, draft, assignee zhuangjianguo); post-stamped os-dev-report comment on #35831. Plus git push x4 (empty branch, code, changeset, escape fix).",
      "line_budget": "n/a — no skills/** or ratcheted ledger touched; diff +248/-5 over 3 files",
      "files_changed": [
        "ui/packages/plugin-detail/src/RelatedList.tsx",
        "ui/packages/plugin-detail/src/__tests__/RelatedList.bodyTableOmittedTotals-35831.test.tsx",
        ".changeset/35831-overview-dropped-totals.md"
      ],
      "deviations": [
        "overlap-check first ran after the first content push (empty-branch push, then code push), not before it; it answered VERDICT clean exit 0, and ran clean before the later pushes.",
        "Pin file: AGENTS.md's ruling record 6583487846 puts a new pin into a component's shared harness file when one exists; RelatedList has none (each RelatedList.* file mounts its own), so the new file follows the dispatch. Named in the PR body.",
        "Local package-wide plugin-detail run (262 files) narrowed to the 85 files that mount RelatedList or a body table after three lock queue-timeouts; the full set is CI's Test UI (green). Declared in the PR body.",
        "PR body's run readings cite head 51d2c17d; the final head 45eba3d4 changes only the test file's NBSP spelling. The dev does not PATCH the PR body; the seat may bring it to the new head."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
    
  11. removed
    pm:dispatched
    on Nov 22, 2026
  12. added a commit that references this issue on Nov 22, 2026
    647eb92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uienhancementpriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions