Repository navigation
fix(plugin-report): a matrix cell drill shows its grouped and measured fields - #37125
Merged
objectstack-fleet[bot] merged 3 commits intoNov 24, 2026
Merged
Conversation
…d fields Claude-Session: https://claude.ai/code/session_01QSeKYnagJvGbCtNg2PhvgW Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYnagJvGbCtNg2PhvgW Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYnagJvGbCtNg2PhvgW Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW Final green head for L1 (2026-11-24T21:14Z):
|
Contributor
Author
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — ACCEPT · L1 · head
|
Contributor
Author
|
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW Landing (2026-11-24T21:17Z) — head
State change: ready for review + auto-merge armed; the merge queue lands it. On MERGED, #37033 closes by |
objectstack-fleet
Bot
deleted the
claude/issue-37033-matrix-drill-columns
branch
November 24, 2026 21:39
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #37033
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
A report matrix cell's drill now goes through the same builder a summary line and a chart mark already use (
emitBucketDrillinDatasetReportRenderer.tsx), so itsDatasetDrillArgscarriesfields: the down dimension's field, the across dimension's field and the measured field, in that order. The host (ReportView) already handsfieldsto the drill list asdefaultColumns, so it is untouched.The matrix drill used to be a hand copy of that builder without the
fieldsline; the copy is removed, not patched, so there is one derivation. The filter is unchanged: the relationship-path branch, the refusal branch and the no-object fallback are the same code the summary line runs, and a drill still lists exactly the records its measure counted.Read first (by risk):
ui/packages/plugin-report/src/DatasetReportRenderer.tsx, thedrillCellhunk in the matrix renderer: confirm the removed branches are byte-equivalent toemitBucketDrill's (samerawRow,rowRanges,scope, refusal and fallback).ui/packages/plugin-report/src/__tests__/DatasetReportRenderer.chartMarkDrill-36256.test.tsx, the new top-leveldescribe.Two-minute check:
cd ui && pnpm exec vitest run packages/plugin-report/src/__tests__/DatasetReportRenderer.chartMarkDrill-36256.test.tsxshows 5 passed; onmainthe matrix case fails withexpected undefined to deeply equal [ 'status', 'priority', … ].Tests
fieldsequal to['status', 'priority', 'estimate_hours'](the card's case), and its object filter still carries the measure'sestimate_hoursscope and the clicked bucket.['stage', 'amount'].DatasetReportRenderer.tsxrestored from the baseebb4713c0, the matrix test fails (AssertionError: expected undefined to deeply equal [ 'status', 'priority', …(1) ], 1 failed / 4 passed); restored withgit checkout HEAD,git diff HEADempty and the blob hash matches HEAD.Acceptance notes
/report/showcase_status_priority_matrix, drill 待办 / 中): NOT MEASURED, reason: the dev server needs a full workspace and Console build that this run did not do. The host path was read instead:ReportViewhandleDatasetDrillstoresfieldsand passes it to the drill list asdefaultColumns, the same path the summary-row drill already uses.Verification
Local runs on head (see report for the sha)
pnpm --filter @object-ui/plugin-report test: Test Files 38 passed (38), Tests 379 passed, 7 skipped (386).pnpm --filter @object-ui/plugin-report type-check: exit 0.node scripts/pm/overlap-check.mjs: VERDICT clean exit 0 againstorigin/mainand fix(plugin-report): a report chart's value axis reads a percent measure in percent, and two value-axis ticks never share a label #37051.dispatch-gates --commands): run locally, results in the report; every other family is CI's.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01QSeKYnagJvGbCtNg2PhvgW