Repository navigation
Description
What happens
On the bare data surface /:objectName/data?filter[...] (ADR-0055), a URL filter chip on a select field shows the option's raw stored value instead of its label. In zh-CN the chip reads 产品类别 = software, when the field's option label is 软件. Every other place on the same screen (the grid cell, the field's filter panel, the dashboard the user came from) draws 软件.
This is the screen a dashboard drill's Open in list / 在列表中打开 lands on, so it is the normal path from any chart grouped by a select field, not a hand-typed URL.
Repro (HotCRM, local dev, @objectstack 18.6.0)
- Open the Product Catalog dashboard (
product_catalog_dashboard) → widget top_products (bar chart, dimensioncategory, a select field oncrm_product). - Click the 软件 bar → the drill dialog lists the right products → 在列表中打开.
- It navigates to
/crm_product/data?filter[list_price][null]=false&filter[category]=software. - The list itself is correct (6 rows). The chip row shows
标价 不为 null(correct: prose through the operator key) and产品类别 = software(wrong: raw value).
Where
ui/packages/app-shell/src/views/drillUrlFilters.ts→groupFilterChips: the plain-equality branch returns{ field, text }withtext = String(comparand). Membership/negation operators also join the raw comparands withcomparand.map(String).join(', ').ui/packages/app-shell/src/views/ObjectDataPage.tsx(the chip row, aroundfilterChips.map(({ field, text, textKey }) => …)): the field half goes throughfieldLabel(objectDef.name, field, field), buttextis drawn bare. Nothing maps a comparand on aselect/multiselect/radiofield through the field'soptions(and the option-label translation the grid already uses).
Expected
For a field that has options, each comparand in the chip is drawn as its option's (translated) label, the same text the grid cell shows for that value. A comparand that matches no option stays as the raw value, so a stale or hand-edited URL is still visible as what it is.
Boolean and lookup comparands probably want the same treatment (Yes/No, the referenced record's name) but are out of scope here.
Why p1
The drill-to-list path is how users get from every chart grouped by a select field to the records behind it, and the one chip that tells them what they are looking at shows an internal code. In non-English locales it reads as a different language mid-sentence.
Activity
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
First touch 2026-11-25T08:33Z. area:ux · domain:ui · Bug · priority:p1 (set by a person, stays) · Source: user ·
pm:queue→ seat 4 (p1 outside area:cloud). It is reproduced on 18.6.0 through the dashboard drill's 「在列表中打开」.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYmRepQK9DkZeU7F53D
Claim: PM loop round 2 · area a4-U · 2026-11-25T08:42Z
Session:
session_01QSeKYmRepQK9DkZeU7F53DAccount:
os-justinBranch:
claude/issue-37259-url-filter-chip-option-labelWorktree:
objectstack-issue-37259Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-U
File surface:
ui/packages/app-shell/src/views/drillUrlFilters.ts(groupFilterChips, the comparand text),ui/packages/app-shell/src/views/ObjectDataPage.tsx(the chip row), their pins as a top-leveldescribein the existing harness for the file fixed, and onepatchchangeset (stop on breach; explain in the report)Container & model: S, mode:subagent, model: default (dispatch-gates --tier at 1b91538: no path-derived mandate), effort: high (reason: p1; the chip must draw the same translated option label the grid cell draws, reusing that path rather than a new one)
Clause-②: no
Metadata-protocol: none
Responsibility: the platform's own console data surface (
@object-ui/app-shellURL filter chips, objectstack) | the grid cell and the field's filter panel already draw the translated option label; the chip text does not | every user who opens a chart grouped by a select field in a list through the dashboard drill's 「在列表中打开」 (reproduced on 18.6.0)Thread-read: 7157186922
Premise: holds — at
origin/main1b91538,drillUrlFilters.ts:723builds the chip text asString(comparand)(orcomparand.map(String).join(', ')), and nothing maps it through the field'soptionsSerial constraints cleared: no open PR touches
drillUrlFilters.tsorviews/ObjectDataPage.tsx(file lists read now); no overlap with #37244 or #37220 (RelatedList.tsx)Pre-claim lane: triage first touch routed it to seat 4 (7157186922); the seat gave it to zone a4-U; not an epic child
Pre-claim deps: no
Blocked-by:Prior rulings read: card terms (URL filter chip, select option label, drill Open in list) → no ruling line; ADR-0055 (the bare data surface) is the context. Repo: objectstack-ai/objectstack
fix(console): a data-page filter chip on a select field shows the opt…
test(console): pay the lint load at collection in the chip harness (#…