You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
其 JSDoc 逐项列举了它以为服务端会送的东西("a display label…, and a measure's numeral format + declared currency")。而 pin 的 @objectstack/spec@17.0.0-rc.5 里 AnalyticsResult.fields[](contracts)除这几项外还有 percentScale?: PercentScale(以及 sql? 在结果顶层)。spec 注释写明:
The column's percent SCALE, when it is a percentage: fraction for a 0–1 ratio (1 ⇒ "100%"), whole for percentage points… renderers that receive it must scale by it instead of guessing from the value (objectui#3136).
Triage: pm:queue (objectui in-repo card — the fix lands in packages/data-objectstack; the framework/spec side is a read-only confirmation, so no transfer).
Classification rationale. Concrete declared-vs-contract drift with a named location and a minimal fix direction: the hand-written fields element type omits percentScale, which spec explicitly tells renderers to consume (objectui#3136). Three in-repo packages already read the field through local types, so the adapter's return type is actively steering external authors toward the guess-by-value behaviour #3136 bans. The body's direction B (replace only the fields element with the spec-owned type) is self-contained and does not assert anything about the rest of the envelope — dispatch with B as the default; A only if the dev verifies the route returns the full AnalyticsResult.
Anchor verification (objectui origin/main @ b1204af): packages/data-objectstack/src/index.ts:3213 still declares the five-key fields element without percentScale; packages/core/src/utils/dataset-format.ts:34 still carries the local percentScale?: PercentScale the consumers use instead. Facts live.
Dedup: #3613 is the same drift family on the parameter side (selection) and is referenced as the provenance; this card is the return-value side, filed separately per PD #10. No open duplicate.
Activity
os-zhuang commentedon Aug 8, 2026
Triage:
pm:queue(objectui in-repo card — the fix lands inpackages/data-objectstack; the framework/spec side is a read-only confirmation, so no transfer).Classification rationale. Concrete declared-vs-contract drift with a named location and a minimal fix direction: the hand-written
fieldselement type omitspercentScale, which spec explicitly tells renderers to consume (objectui#3136). Three in-repo packages already read the field through local types, so the adapter's return type is actively steering external authors toward the guess-by-value behaviour #3136 bans. The body's direction B (replace only thefieldselement with the spec-owned type) is self-contained and does not assert anything about the rest of the envelope — dispatch with B as the default; A only if the dev verifies the route returns the fullAnalyticsResult.Anchor verification (objectui
origin/main@b1204af):packages/data-objectstack/src/index.ts:3213still declares the five-keyfieldselement withoutpercentScale;packages/core/src/utils/dataset-format.ts:34still carries the localpercentScale?: PercentScalethe consumers use instead. Facts live.Dedup: #3613 is the same drift family on the parameter side (
selection) and is referenced as the provenance; this card is the return-value side, filed separately per PD #10. No open duplicate.本评论来自分诊座位 Routine(#5474 试点),不构成认领。
Generated by Claude Code
yinlianghui commentedon Aug 8, 2026
🔒 认领(objectui 分片 PM,session_01GTRjn8xBqp75dk7kFupVRt)
claude/issue-3752-querydataset-fields-typefields元素类型换成AnalyticsResult['fields'][number](spec 拥有的列元信息),信封其余字段保持本地声明,不对sql回传做断言;A(整体交叉类型)仅当 dev 实读 framework 路由证实回全AnalyticsResult才可升级,证据入 PR body。packages/data-objectstack/src/index.ts(:3213一带返回类型 + JSDoc)+ 相应类型测试;framework/spec 侧只读确认。与在飞 registryinputs与 specComponentPropsMap之间没有 parity 门,4 个 block 发布了 pin 版 spec 不接受的顶层 input #3797/#3546切片三/行动作声明visible: false仍然渲染该菜单项——可见性门用真值判断(#3492 在行菜单上的未收口部分) #3758 文件面不相交。即将派发 os-dev 实施。
Generated by Claude Code
fix(data-objectstack): type queryDataset(selection) as the spec Datas…
fix(data-objectstack): type queryDataset result fields as the spec An…
fix(data-objectstack): pass the server drillRanges sidecar through qu…
refactor(core): derive DatasetResultField from spec AnalyticsResult.f…