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 }}
Repository navigation
Units of measure: unit picker for a unit-code field and a quantity's unit field (ADR-0158 Open item 8) #37471
Filing gate: ① · Source: fleet (L1 S2 of seat repo:objectstack#5 on PR #37449, verdict 7185332286; contract record 7185313489). Split out of #35490 so its PR can land the label rendering while the picker stays carried.
Grading: area:data · reach: write — ADR-0158 Open item 8 (ruled A on #35339, record 7008524997: a standalone unit field renders with its label 「有下拉」, i.e. gets a picker) names #35490 as the picker card; PR #37449 draws the unit label in cells and stops there · evidence: read — no unit dropdown exists for a code-mode unit field or for a quantity's unitField, and on the form face TextField does not read unitConfig, so a unit-code field in a form shows the bare code (even read-only).
Suggested-grade: p2 · same grade as the parent; the ruled OI8 consequence is unbuilt.
What
A unit picker on the form face for a field declaring unitConfig with unitMode: 'code', and for the unitField of a quantity: options from the standard-unit catalog plus the organization's own units, labelled by the server-translated name (app.messages.standardUnit<CODE>, falling back to the spec English base name), storing the code.
Read-only form face shows the label, not the bare code.
Pins: picker lists the catalog, stores the code, shows the translated label; read-only form shows the label.
Related: #35490 (PR #37449), ADR-0158 Open item 8.
Dedupe: searched open issues for 'unit picker' — none.
Claim: area o5-D round 3 · 2026-11-26T07:48Z · area:data p2 (area order 「开一个专区 ,接 data 的 p1 p2」, 2026-11-25T23:33Z). Split from #35490 at L1 S2 (verdict 7185332286) and built back into the parent's PR #37449, per the area's choice (a) on the card thread.
Area: o5-D
Session: session_01Utp6CbdHk3orAeensH6EzS
Thread session: session_01Utp6CXM7nqtiQ3M9JqGAqL
Account: os-bill
Branch: claude/project-thread-yzpuwp
Worktree: the card thread's own checkout
Domain: domain:ui
Seat: repo:objectstack#5
File surface: #35490's claim surface (the form face under ui/packages/plugin-form/src/**, ui/packages/fields/**, ui/packages/core/src/** catalog reader, ui/packages/types/src/**), tests named for the card, root .changeset/. ⛔ docs/adr/**, ⛔ skills/**. Stop on breach and report.
Container & model: L, mode:thread, model: default, effort: high
Clause-②: yes (widening, carried by PR #37449)
Metadata-protocol: added (carried by PR #37449: unitConfig on FormField)
Responsibility: n/a — not a defect card (Feature, ADR-0158 Open item 8, ruled A on #35339, record 7008524997)
Thread-read: none
Premise: holds — PR #37449 at the split head drew the label in cells only; no unit picker existed on the form face.
Serial constraints cleared: #36806 / PR #37436 shares objectGridRowLoad.tsextraFields (one-line union, second to land merges main), form.tsx and ListView.tsx merge cleanly.
Scope: the card's What. Fixes #37471 rides PR #37449 beside Fixes #35490.
Triage: lands in area:data · domain:ui · Feature · priority:p2 · pm:dispatched · size M; rationale: the unit picker that ADR-0158 open item 8 rules in, split out of #35490 so that PR #37449 can land the label rendering. Grade follows the parent; already dispatched.
Close-out · area o5-D · 2026-11-26T09:08Z
Delivered by PR #37449 (merged, f71d488d6f) beside its parent #35490: UnitCodeField on the form face for a text field with unitMode: 'code' and for a record-mode quantity's unitField (stamped by withUnitCodePointer); options = the organization's non-retired sys_unit rows, then the standard codes, by translated name with the spec fallback, limited to unitDimension; stores the code; read-only shows the name. Ablations red (retired filter, pointer stamp, TextField branch). ADR-0158 Open item 8 note rides the #37245 row 7187445064. Picker nits N7–N10 (clear to empty, non-form surfaces, empty-organization create form, component pins) are on #37472. pm:dispatched removed in this stroke; the card closed as completed by the merge.
Activity
feat(fields): the unit picker for a unit code field (#35490, #37471)
fix(units): read the unit pointers off field metadata the form hands …
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim: area o5-D round 3 · 2026-11-26T07:48Z · area:data p2 (area order 「开一个专区 ,接 data 的 p1 p2」, 2026-11-25T23:33Z). Split from #35490 at L1 S2 (verdict 7185332286) and built back into the parent's PR #37449, per the area's choice (a) on the card thread.
Area: o5-D
Session:
session_01Utp6CbdHk3orAeensH6EzSThread session:
session_01Utp6CXM7nqtiQ3M9JqGAqLAccount:
os-billBranch:
claude/project-thread-yzpuwpWorktree: the card thread's own checkout
Domain:
domain:uiSeat:
repo:objectstack#5File surface: #35490's claim surface (the form face under
ui/packages/plugin-form/src/**,ui/packages/fields/**,ui/packages/core/src/**catalog reader,ui/packages/types/src/**), tests named for the card, root.changeset/. ⛔docs/adr/**, ⛔skills/**. Stop on breach and report.Container & model:
L,mode:thread,model: default,effort: highClause-②: yes (widening, carried by PR #37449)
Metadata-protocol: added (carried by PR #37449:
unitConfigonFormField)Responsibility: n/a — not a defect card (Feature, ADR-0158 Open item 8, ruled A on #35339, record 7008524997)
Thread-read: none
Premise: holds — PR #37449 at the split head drew the label in cells only; no unit picker existed on the form face.
Serial constraints cleared: #36806 / PR #37436 shares
objectGridRowLoad.tsextraFields(one-line union, second to land merges main), form.tsx and ListView.tsx merge cleanly.Scope: the card's What.
Fixes #37471rides PR #37449 besideFixes #35490.objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:data · domain:ui · Feature · priority:p2 ·
pm:dispatched· size M; rationale: the unit picker that ADR-0158 open item 8 rules in, split out of #35490 so that PR #37449 can land the label rendering. Grade follows the parent; already dispatched.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Close-out · area o5-D · 2026-11-26T09:08Z
Delivered by PR #37449 (merged,
f71d488d6f) beside its parent #35490:UnitCodeFieldon the form face for atextfield withunitMode: 'code'and for a record-mode quantity'sunitField(stamped bywithUnitCodePointer); options = the organization's non-retiredsys_unitrows, then the standard codes, by translated name with the spec fallback, limited tounitDimension; stores the code; read-only shows the name. Ablations red (retired filter, pointer stamp, TextField branch). ADR-0158 Open item 8 note rides the #37245 row 7187445064. Picker nits N7–N10 (clear to empty, non-form surfaces, empty-organization create form, component pins) are on #37472.pm:dispatchedremoved in this stroke; the card closed as completed by the merge.