Repository navigation
Description
repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me
Filing gate: ① a measured defect under list epic #35547, sub-card of #35549 (filter conditions as tags). Filed by area ux-3 on seat 5's ask; suggested grade p1, because it shows on every list opened with a URL condition (every 「↗ 在列表中打开」 from a record's related tab). ⛔ Not a claim on its own; the claim follows.
Seen (showcase, 1280×800; screenshot from ux-2's run on #35601: /mnt/project-files/objectstack-seat5/area-ux/ux-2/a4-35601/06-open-list-sourced.png)
Open an account (Globex), go to its Contacts tab, press 「↗」. The Contacts list opens filtered to that account and shows the same condition twice:
- The page's row: 「Filtered by · Account Globex ×」 with a 「Reset」 on the right.
- Under the toolbar, the list's own condition row: a locked chip 「🔒 Account: = 3zKQep1xNgNHlrBO」 (the raw record id), 「+ Add filter」, and a second 「Reset」.
Cause, by reading origin/main: the data page (ObjectDataPage.tsx) draws its URL conditions as its own tags AND passes them to the list as the view's filter (schema.filter). The list (ListConditionControls.tsx, ConditionChipRow) draws every view-filter condition as a locked chip, with the comparand as written (a lookup's id, never its name).
Done when
- A list opened with URL conditions shows each condition once, as one tag carrying the record's name, and one 「Reset」.
- Where the list does draw a locked chip for a lookup condition (a saved view filtered on a lookup), the chip shows the record's name, not its id.
- The list's own 「+ Add filter」 and user-condition chips still work beside the page's tags; removing a page tag still clears that condition.
- Pinned at the list (one tag per condition, name not id) and at the data page's sourced open; zh-CN and en.
Dedupe: issue search locked chip raw id, Filtered by duplicate chip, view-condition-chip lookup name, open in list condition tag → only #35601 (ux-2's related tab, which draws the source tag; this card is the list side).
Activity
objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me
Claim: area ux-3 of repo:objectstack#5, list epic #35547 sub-card under #35549 (p1; filed by ux-3 on seat 5's ask) · 2026-11-20T03:44Z
Session:
session_01Utp6CZiaBg6rk7dpy1s9MeAccount:
os-billBranch:
claude/issue-35727-sourced-list-one-condition-tagWorktree:
objectstack-issue-35727(os-dev worktree in the ux-3 container)Domain:
domain:uiSeat:
repo:objectstack#5Area: ux-3
File surface:
ui/packages/plugin-list/src/conditions/ListConditionControls.tsx(locked view-condition chips: lookup name, and a host-owned-conditions seam),ui/packages/plugin-list/src/ListView.tsx(passing that seam and the condition row's 「Reset」), the smallest wiring inui/packages/app-shell/src/views/ObjectDataPage.tsx(⛔ only the props it passes toListView; its tag row belongs to ux-2's open PR #35725), new i18n keys inui/packages/i18n/src/locales/*.tsif any, their tests, root.changeset/. ⛔RelatedList.tsx, ux-2's PR #35725,packages/spec/**, server code. Stop on any other breach and report.Container & model:
M,mode:subagent,model: default,effort: highClause-②: no
Metadata-protocol: none
Responsibility: the double condition is the page tags (since the data page's URL-filter chips) meeting #35549's locked view-condition chips; the raw id is the locked chip printing the comparand as written
Thread-read: none
Premise: holds at
origin/main5ecf937470by reading (the data page passes its URL triples asschema.filter;ConditionChipRowdraws every view-filter condition as a locked chip with the raw comparand); seen in the browser on ux-2's branch (a4-35601/06-open-list-sourced.png). The dev re-measures at origin/main before code.Serial constraints cleared: ux-2's #35725 edits
ObjectDataPage.tsx; this card touches only theListViewprops there. Whichever lands second merges main. overlap-check runs against main andclaude/issue-35601-related-tab-addbefore every push.Pre-claim lane:
ui/packages/plugin-list/**→domain:ui, area ux-3 (seat 5's split of epic #35547).Pre-claim deps: none.
Prior rulings read:
check-prior-rulings.mjs --card 35727 --terms chip,filter,condition,locked,lookup --pathsover the three files at origin/main5ecf937470: no ruling on the card's thread; ADR hits are generic (ADR-0057, ADR-0058, ADR-0061, ADR-0077), none governs list condition chips.objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui· dispatched; rationale: area:ux · Bug (a list opened from a record's 「↗」 shows its condition twice: a tag with the record name, then a lockedAccount: = <raw id>and a second Reset) · every list opened from a related tab · measured in a browser → p1 as set: a core list path in the maintainer's list-page topic #35547.objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me
os-dev-report
{ "issue": 35727, "status": "done", "branch": "claude/issue-35727-sourced-list-one-condition-tag", "pr": "https://github.com/objectstack-ai/objectstack/pull/35744", "head": "eae54db249a6fa40ac2a5903193cb91fe0a6bfba", "session": "session_01Utp6CZiaBg6rk7dpy1s9Me", "premise_still_valid": true, "summary": "Re-measured at origin/main 5ecf937470 in the browser first (showcase Contacts data page, filter[account]=Northwind's id, zh-CN 1280x800): the premise held. Added a host seam: ListView prop hostDrawnConditionFields (field names) -> ConditionChipRow hostDrawnFields; conditions on those fields still constrain the query (schema.filter is unchanged) but draw no locked chip; the data page passes its URL-condition fields. A lookup condition chip (locked, and the reader's own, same code path) now names the referenced record via the list's data source (find by id $in + referencedRecordTitle with displayField / target name field), falling back to the id only when unreadable. The condition row's Reset is drawn only while conditionsDifferFromView (resetDisabled removed); on main alone the sourced data page therefore shows zero list Reset, and #35725 adds the page's single Reset.", "files_changed": [ "ui/packages/plugin-list/src/conditions/ListConditionControls.tsx", "ui/packages/plugin-list/src/ListView.tsx", "ui/packages/app-shell/src/views/ObjectDataPage.tsx (ListView props only: lines 731-734 at eae54db249 -- the three-line comment and hostDrawnConditionFields={urlFilters.map(([field]) => field)}, directly after rowOpensRecord={recordServed}; schema memo and tag row untouched)", "ui/packages/plugin-list/src/conditions/__tests__/listConditions.test.tsx", "ui/packages/plugin-list/src/__tests__/ListView.harness.test.tsx (new top-level block ListView.hostDrawnConditions-35727)", "ui/packages/plugin-list/src/__tests__/ListView.conditionRow-35549.test.tsx (Reset disabled -> not drawn)", "ui/packages/app-shell/src/views/ObjectDataPage.sourcedOpenOneTag-35727.test.tsx (new)", ".changeset/35727-sourced-list-one-condition-tag.md (patch: @object-ui/plugin-list, @object-ui/app-shell)" ], "before_after": { "tree_before": "origin/main 5ecf937470, showcase --fresh on own port, Contacts data page ?filter[account]=Pf5mgR55cgCKt58S (Northwind), zh-CN 1280x800", "before": { "page_tags": 1, "page_tag_text": "客户 = Pf5mgR55cgCKt58S", "locked_chips": 1, "locked_chip_text": "客户:= Pf5mgR55cgCKt58S", "list_reset_buttons": 1, "list_reset_state": "drawn, disabled", "add_filter": 1, "records": 26 }, "after": { "page_tags": 1, "page_tag_text": "客户 = Pf5mgR55cgCKt58S (tag row is #35725 territory, unchanged here)", "locked_chips": 0, "list_reset_buttons": 0, "add_filter": 0, "condition_row": "empty (takes no height)", "records": 26 }, "after_with_reader_stage_filter": { "reader_chips": [ "阶段:新建" ], "locked_chips": 0, "list_reset_buttons": 1, "list_reset_state": "enabled", "add_filter": 1, "records": 24 }, "after_reader_lookup_chip": "客户:Northwind (name, not id)", "screenshots": "/mnt/project-files/objectstack-seat5/area-ux/ux-3/shots-35727/ before-zh-CN.png, after-zh-CN.png, after-reader-chips-zh-CN.png, after-reader-lookup-zh-CN.png (probe-panel-zh-CN.png is a scratch probe of the lookup value panel)" }, "tests": "At merged head eae54db249: pnpm --dir ui exec vitest run --maxWorkers=2 over plugin-list/src/conditions/, ListView.harness, ListView.conditionRow-35549, ListView.clearFiltersChips-29052, ListView.emptyStateClearFilters-28908 and the seven ObjectDataPage.* tests -> 'Test Files 12 passed (12) / Tests 246 passed (246)', lock VERDICT command-exit 0 (247 before merging main; main's merge changed the harness population). New pins: ConditionChipRow host-drawn field gets no locked chip (+CONTROL), all-host-drawn row draws nothing, locked lookup chip 'Account: = Globex' with the exact find call, reader lookup chip 'Account: Globex, Initech', read failure keeps id, Reset not drawn without onReset; real ListView zh+en: host-drawn condition no chip/no Reset and query still carries acc_1, saved-view lookup lock 'Account:= Globex'/'Account: = Globex' and no Reset, reader condition -> exactly one Reset ('重置'/'Reset'); real ObjectDataPage + real ListView zh+en: one page tag, 0 locked chips, no list Reset, query carries acc_1 (+CONTROL unfiltered). Ablations via scripts/ablation-replace.mjs (mutation landed on disk, restored to HEAD blob each time; ui tests resolve @object-ui/* from src, no dist step): (1) drop data-page prop -> 2 red; (2) host filter pass-through -> 6 red; (3) lookup-name branch off -> 4 red; (4) always pass onReset -> 3 red (data-page no-Reset case stays green by design: an all-host-drawn row draws nothing). Type-check: pnpm --filter @object-ui/plugin-list run type-check exit 0; pnpm --filter @object-ui/app-shell run type-check exit 0 (after turbo build --filter='@object-ui/app-shell^...' 68/68). The first closure build caught a real TS18048 in my hook (fixed in commit c947c1e027).", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands (tree f64696e915; re-derived byte-identical at the final tree) -> 38 commands, all exit 0 after one fix: check:test-source-alias first exit 1 (new data-page test reached a dynamic import('@objectstack/lint')) -> module-top import added -> exit 0 ('check-test-source-alias OK'); 'pnpm --dir ui exec vitest run scripts/' first SIGKILLed by the box memory limit (ran beside the app-shell type-check), re-run alone -> exit 0, 171 files passed / 2 skipped, 5092 tests passed. --ran reconciliation: '38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN' (exit 0). Also: pnpm check:new-line-citations (ui) exit 0, '0 new citation(s)'; pnpm check:nul-bytes exit 0 at head; control-byte grep over the diff: no hits; eslint over the 7 changed ui files: 0 errors. overlap-check --branch (vs origin/main 03bce5c22a): VERDICT clean exit 0 (#35725 and #35706 merge cleanly); --base=origin/claude/issue-35601-related-tab-add (e62ce9e74e): VERDICT clean exit 0. CI on PR #35744 at eae54db249, read once after open: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling, CI/release/engine, scoped x3), PR-body guards, Type Check (consumer, debt ledger, source, workspace) all in_progress; UI jobs not yet listed. Not polled further per os-dev.", "dogfood_battery": "n/a — no `!` in the PR title and Clause-②: no (no (narrowing) arm)", "overlap_check": { "vs_main": "VERDICT clean exit 0 (origin/main 03bce5c22a; #35725 and #35706 merge cleanly)", "vs_issue_35601_branch": "VERDICT clean exit 0 (origin/claude/issue-35601-related-tab-add e62ce9e74e; #35725, #35610 merge cleanly)" }, "mcp_calls": "0", "api_writes": "2 relay strokes (fleet-write, as objectstack-fleet[bot]): pr_create -> POST /repos/objectstack-ai/objectstack/pulls (draft forced) + assignees leg POST /repos/objectstack-ai/objectstack/issues/35744/assignees [os-bill], read back identical 10230/10230 bytes; os-dev-report comment -> POST /repos/objectstack-ai/objectstack/issues/35727/comments via post-stamped.mjs. git push is not counted.", "deviations": [ "The Reset rule is applied to every list, not only the data page: Reset is drawn only while conditionsDifferFromView (the dispatch says disabled-but-drawn counts as drawn). The prop resetDisabled on ConditionChipRow was removed (module-internal, not exported).", "Bounded in-place fix (all four conditions hold: same defect class, mechanical on the same path, file in this claim, same gates): the reader's own lookup filter chip printed the raw id through the same describeConditionValue path; it now names the record too, pinned and ablated with the locked chip.", "plugin-list README lists some ListView host props; the new prop is documented on its JSDoc and in the changeset only, because README is outside the claim file surface (ui/AGENTS #2 asks for README updates).", "The data-page test holds its permission/auth stand-ins as stable objects (vi.hoisted): the sibling tests return fresh functions per render, which with a real ListView re-reads the records without end (stand-in artefact; the browser run did not loop).", "Commit trailers are the dispatch/AGENTS model-free pair; the harness reminder asked for a model-named Co-Authored-By and a different PR footer; this dispatch contract wins, nothing rewritten.", "Fetched origin/claude/issue-35601-related-tab-add into the shared refs/remotes (read-only, for overlap-check --base).", "Own showcase backend (:4127, --fresh) and console vite (:5197) started and stopped by recorded/listener PID; the closure was built with turbo --concurrency=2 under the lock." ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: #35725 · the data page tag on main still prints the lookup id (「客户 = Pf5mgR55cgCKt58S」); ux-2's open PR names the tag and adds the page's single Reset — noted, not filed", "carrier: none · a user-type field with no declared reference still prints its id in a chip: LookupValuePicker defaults it to users inline; this change reads only a declared referenceTo rather than copying that default — noted, not filed", "carrier: seat (claim file surface) · ui/packages/plugin-list/README.md host-prop sections do not yet name hostDrawnConditionFields — noted, not filed" ] }objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me
Close-out 2026-11-20T05:56Z: PR #35744 MERGED as
06faee5e27;Fixesclosed this card. A list opened with URL conditions (the data page, every 「↗」 from a related tab) no longer repeats them as locked chips: the page's tag is the one place each condition shows, and the list still filters on it (26 records before and after). A lookup condition chip in the list, whether a saved view's own or the reader's, shows the record's name, not its id. The list's 「Reset」 appears only once the reader has changed something. On main the page tag itself still prints the id; ux-2's #35725 names it and adds the page's single 「Reset」. Reviews: L1-a ACCEPT 7030807631. The queue's first build failed on an MCP dogfood test from another entry in the group (7031425742); the single re-queue merged. The plugin-list README line for the new host prop folds into the next card that touches that README.pm:dispatchedoff.