Repository navigation
Description
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Found by the #36256 thread (PR #36461) on 2026-11-22 and measured by its dev. Filed by the seat, not claimed. It is the remainder of #36256, whose PR becomes Part of #36256.
What happens
A dashboard or report drill whose dimension is a relationship path opens the drill dialog over the standard list with the right records, but the drilled condition shows as a locked chip whose value reads [object Object]. Measured live on HotCRM's industry donut (dimension crm_account.industry), 科技 slice, on the PR #36461 branch: the chip reads 「所属客户:= [object Object]」 with data-field=crm_account, and the list itself is right (3 rows, the 所属客户 column pinned). readViewConditions takes the nested object form in as a plain field triple, so the related field and its value are lost. (Corrected 2026-11-22: an earlier static reading said the chip reads "View filter".)
Measured causes:
- List rows lower to dotted AST fields, and objectql
assertFilterIsMaterializablerefuses a dotted relation path. Only the nested form{ crm_account: { industry: V } }executes, so an editable chip on that path is not possible today. ui/packages/plugin-listconditionModel.tsreadViewConditionsreads the nested-relation form as a field triple on the lookup (crm_account) whose value is the nested object, soviewChipTextprints the lookup label and[object Object].- Neither plugin-grid nor plugin-list supports a dotted column, so the related value cannot be shown as a column either. PR feat(plugin-dashboard): a drill opens a centred dialog over the standard list, and a report's chart marks drill #36461 adds the lookup field itself (
crm_account, showing the account name) to the drill's default columns.
What should happen
The drilled condition reads as a locked, labelled chip, for example "Account Industry: Technology". The label is built from the related object's field label and the option's label, in the reader's language.
Done when
readViewConditionsreads the nested-relation form{ <lookup>: { <field>: V } }into a locked chip for<lookup>.<field>.viewChipTextlabels it from the lookup field's label plus the related object's field and option labels, translated, and falls back to the raw names when a label is missing.- A pin covers the HotCRM
crm_account.industrydrill under en and zh-CN, plus one control showing a same-object condition is unchanged. - No new public ListView prop. If one turns out to be needed, the claim says
Clause-②: yes (widening)and names it.
Dedupe words: [object Object] chip, View filter chip, nested relation filter, crm_account.industry, readViewConditions.
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui(drill dialog filter chips) ·pm:queue; rationale: area:ux · Bug · a relationship-path condition shows as an unlabelled 「View filter」 chip in the drill dialog → p2 as filed · size XS. Linked under topic #36230 (报表与仪表盘).objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
Claim: PM loop round 1
Session:
session_01ADHkmRGDrq6JSytBsNFabUAccount:
os-steveArea: s2-D
Branch:
claude/issue-36507-drill-relation-chipWorktree:
objectstack-issue-36507Domain:
domain:uiSeat:
repo:objectstack#2File surface:
ui/packages/plugin-list/src/conditions/**(conditionModel.ts readViewConditions, ListConditionControls.tsx viewChipText) + new test files beside them +ui/packages/i18n/src/locales/*only if a new chip string is needed + root.changeset/Container & model:
S/M,mode:subagent,model: default (dispatch-gates --tier at 70194ffc: "no path-derived mandate"),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
platform code — ui/packages/plugin-list conditionModel.ts reads the nested-relation condition as a plain triple (objectstack) | none: no path labels a relation-path view condition today | any reader of a dashboard/report drill whose dimension is a relationship path (HotCRM industry donut); reached on PR #36461's drill dialogThread-read: 7081594179
Premise: holds — at origin/main 70194ff
conditionModel.ts:193readViewConditionshas no nested-relation arm: a triple whose value is a plain object goes throughtripleChipunchanged, and a top-level non-array object reads as one field-less chip; the card body's corrected reading (chip 「所属客户:= [object Object]」) was measured on the PR #36461 branch.Pre-claim lane:
ui/packages/plugin-list/src/conditions/**isdomain:ui, inside this seat'srepo:objectstackintake (area:ux p2, child of topic #36230).Pre-claim deps: the card names no
Blocked-by:/ "after #N". PR #36461 (#36256, open draft) produces the drill condition but shares no file with this surface; no open PR (43 read at 2026-11-22T16:55Z) touchesplugin-list/src/conditions/conditionModel.tsorListConditionControls.tsx(PR #36411 touches onlyconditions/FieldList.tsx).Prior rulings read: drill,dialog,relationship-path,condition,shows,unlabelled,view,filter,chip → 66 hits; ADR-0058 D3, ADR-0155 D5, ADR-0005 Decision §3/§6/§7, ADR-0018 Decision §5, ADR-0021 D2/D3, ADR-0029 D8 — none rules on list chip labelling (sharing/RLS/expression surfaces); surface grep on the paths 0 hits; thread: none; repo: objectstack-ai/objectstack
Serial constraints cleared: PR #36461 (drill dialog, emits the condition shape this card reads; no shared file — the dev reads its head's
drillConditions.tsfor the shape); PR #36411 (conditions/FieldList.tsxonly, not on this surface)[-]drill dialog: a relationship-path condition shows as an unlabelled View filter chip[/-][+]drill dialog: a relationship-path condition shows as a locked chip reading "= [object Object]"[/+]objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
os-dev-report
{ "issue": 36507, "status": "done", "branch": "claude/issue-36507-drill-relation-chip", "pr": "https://github.com/objectstack-ai/objectstack/pull/36529", "head_sha": "749ddb3e94ec5532ef9c2a288dd5728ec41aca96", "session": "session_01ADHkmRGDrq6JSytBsNFabU", "premise_still_valid": true, "gates": "41 derived families (dispatch-gates --commands at 749ddb3e), each run and recorded as COMMAND :: exit N, all exit 0; check:query-options-erasure and check:type-check-debt hit a 280s harness timeout (exit 124) and were rerun untimed: exit 0. --ran reconciliation: 41 derived, 41 run, 0 NOT-MEASURED (derived zero). pnpm --dir ui exec vitest run scripts/ under lock: 172 files passed, VERDICT command-exit 0. overlap-check: VERDICT clean exit 0. type-check plugin-list + i18n: VERDICT command-exit 0. CI check-runs at report time: in_progress.", "line_budget": "+348 / -12 over 16 files (dispatch-gates count 360 changed lines, under the 3000 human-merge threshold); no skills/** or ratchet ledger touched", "deviations": [ "Pins added as a new top-level describe in the shared harness listConditions.test.tsx instead of the two per-card files the dispatch suggested (AGENTS.md: a new pin for a component with a shared harness goes into that file).", "Maintainer quick-read written as the four fixed lines os-dev.md prescribes; the dispatch asked for six (os-dev.md wins on conflict).", "Non-Latin locale packs carry their own word order for the new key (the en format string tripped untranslated-identity-4376 in zh/ja/ko/ru/ar).", "Scratch files /build.pid, /gates.txt, /gates.err were written at the filesystem root by an unset shell variable; the removal was refused by the safety check and is left to a person." ], "files_changed": [ ".changeset/36507-drill-relation-chip.md", "ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts", "ui/packages/plugin-list/src/conditions/ListConditionControls.tsx", "ui/packages/plugin-list/src/conditions/__tests__/listConditions.test.tsx", "ui/packages/plugin-list/src/conditions/conditionModel.ts", "ui/packages/plugin-list/src/conditions/conditionTranslations.ts" ], "security_findings": "none" }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
Landed: PR #36529 merged (2026-11-22T18:51Z), closing this card via
Fixes #36507.pm:dispatchedremoved on close.fix(plugin-list): a drill's related-record condition reads as a label…
feat(plugin-dashboard): a drill opens a centred dialog over the stand…