Skip to content

plugin-list: a condition chip shows the raw operator id (is_not_null, less_than, ...) for operators only the advanced panel writes #36462

Closed

Description

@objectstack-fleet

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Found by the #36256 dev while measuring the drill dialog in a browser (PR #36461). Filed by the seat. Screenshots are held in the project files under repo-objectstack-7/card-36256/.

What happens

On the CRM Pipeline dashboard, the drill dialogs of the donut slice and of Won This Quarter show the condition chip "Deal Value: is_not_null". quickOperatorLabel in ui/packages/plugin-list/src/conditions/conditionTranslations returns the raw operator id for operators that only the advanced condition panel writes: is_not_null, is_null, less_than, greater_than, not_equals. Any list whose conditions carry one of them shows the machine name on its chip.

To do

  1. Give each of those operators a chip label in every locale, reusing the advanced panel's own operator wording.
  2. Make the fallback for an unknown operator something a reader can read, never the raw id.
  3. Pin the chip text for each operator in en and zh-CN.

Acceptance

  • A drill dialog or list carrying is_not_null (and the other four) shows a business label on its chip, for example "Deal Value: is set", and no chip shows an operator id.

Grade

p2 · area:ux · domain:ui. A machine name on a user-facing chip.


Generated by Claude Code

Activity

  1. added
    bug
    priority:p2
    domain:ui
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui (plugin-list condition chip) · pm:queue; rationale: area:ux · Bug · a condition chip shows the raw operator id (is_not_null, less_than, …) for operators only the advanced builder offers → p2 as filed · size XS.

  3. added
    pm:queue
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    More sightings from the #36256 live walk on HotCRM (PR #36461 branch), all the same quickOperatorLabel gap this card names:

    • 「金额:is_not_null」 on the industry slice, the month bar, the YTD tile, the report bar and cell, and the pipeline bar;
    • 「阶段:not_equals 失败」 on the report drill.

    The #36256 dev measured the fix at about 60 to 70 lines (conditionTranslations.ts plus the 11 locale packs), with no new public surface. #36461 leaves it here on purpose (plugin-list, outside its fence, current stage only).

  5. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU

    Claim: PM loop round 3
    Session: session_01ADHkmRGDrq6JSytBsNFabU
    Account: os-steve
    Area: s2-D
    Branch: claude/issue-36462-chip-operator-labels
    Worktree: objectstack-issue-36462
    Domain: domain:ui
    Seat: repo:objectstack#2
    File surface: ui/packages/plugin-list/src/conditions/conditionTranslations.ts (quickOperatorLabel), the condition tests beside it (shared harness), ui/packages/i18n/src/locales/* (all packs in one stroke, only if a chip key is new), root .changeset/
    Container & model: S (XS), mode:subagent, model: default (dispatch-gates --tier: "no path-derived mandate"), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: platform code — plugin-list quickOperatorLabel returns the raw id for operators only the advanced panel writes (objectstack) | none: no chip path labels them today | every list or drill dialog whose conditions carry is_not_null / is_null / less_than / greater_than / not_equals (HotCRM drill chips, card comment 7081847001)
    Thread-read: 7081847001
    Premise: holds — at origin/main 06c3e5a conditionTranslations.ts:118 quickOperatorLabel handles 13 operators and its default: returns operator with the comment "An operator only the advanced panel writes keeps its stored id."
    Pre-claim lane: ui/packages/plugin-list/** is domain:ui, this seat's repo:objectstack intake; routed by the seat (2026-11-23T00:20Z order, area:ux p2 without a topic parent per Steve's 「派」 2026-11-22T22:29Z).
    Pre-claim deps: no Blocked-by: / "after #N"; no open PR (43 read at 2026-11-23T00:20Z) touches conditionTranslations.ts; PR #36411 touches plugin-list/src/conditions/FieldList.tsx and the locale packs (textual overlap judged by overlap-check before push).
    Prior rulings read: plugin-list,condition,chip,shows,operator,is_not_null,less_than,operators,advanced,panel,writes → 80 hits; ADR-0155 D1, ADR-0007 Decision §8, ADR-0023 Decision §3, ADR-0024 Decision §3/§4 — none rules on chip operator wording; surface grep on the path 0 hits; thread: none; repo: objectstack-ai/objectstack
    Serial constraints cleared: PR #36411 (seat 7) shares the locale packs only; no in-flight sibling in this area

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 23, 2026
  7. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
    os-dev-report

    {
      "issue": 36462,
      "status": "done",
      "branch": "claude/issue-36462-chip-operator-labels",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36588",
      "session": "session_01ADHkmRGDrq6JSytBsNFabU",
      "premise_still_valid": true,
      "summary": "Premise held at 06c3e5ac: quickOperatorLabel's default returned the raw id. The five named operators (not_equals, greater_than, less_than, is_null, is_not_null) now read the advanced panel's own filterBuilder.operators keys, already translated in all 11 packs, so zero locale-pack edits and no new keys; icontains and ends_with (also panel-only, same class) take the same arm under the bounded in-place exemption. Unknown spellings fall back to listConditions.filter.operator ('Condition' / '条件'); view-triple comparison symbols (=, >=, ...) still read as written, as existing pins require. describeConditionValue drops the trailing space when there is no value text; is_null/is_not_null were already valueless. Chip reads 'Deal Value: Is not null' (panel wording), not the card's example 'is set' (that is the panel's word for exists) — declared in Acceptance notes.",
      "tests": "head 66eb08bc. vitest packages/plugin-list/src/conditions/: Test Files 2 passed, Tests 74 passed (lock VERDICT command-exit 0). Full package vitest packages/plugin-list/: Test Files 185 passed (185), Tests 2032 passed (2032) (VERDICT command-exit 0). pnpm --filter @object-ui/plugin-list type-check (tsc --noEmit && tsc -p tsconfig.test.json): VERDICT command-exit 0. Ablation 1 (ablation-replace --delete the is_not_null arm; ui aliases src, no dist involved): mutation landed anchor 1->0, 3 failed / 3 passed in the new describe (Received 'Deal Value: Condition'), restored blob == HEAD, git diff HEAD empty. Ablation 2 (default back to return operator): landed, 1 failed / 5 passed, restored blob == HEAD. Closure build pnpm --filter '@object-ui/plugin-list^...' build: VERDICT command-exit 0.",
      "gates": "dispatch-gates --commands at 66eb08bc: 38 derived, all run, each exit 0 (record /mnt/project-files/objectstack-seat2/36462-gates-ran.txt); --ran: '38 derived famil(ies) accounted for — 38 run, 0 NOT-MEASURED'. Extra: pnpm --dir ui check:i18n-keys / check:i18n-dead-keys / check:i18n-drift exit 0 each. overlap-check --branch: 'VERDICT clean exit 0' (0 PR heads overlap; no locale pack touched, so no overlap with PR 36411). CI check-runs on 66eb08bc at report time: 22 listed, 17 in_progress (Lint * , Type Check * , Check Changeset, Check PR Size, Governed Surface Queue Guard, PR-body guards), 5 skipped by design (Schedule gate, Borrowed queue verdict, Queue verdict, Packed-tarball smoke, 18.x upgrade harness); UI lanes not yet listed — in_progress.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — git push (not REST); relay pr_create POST /repos/objectstack-ai/objectstack/pulls (+ assignees os-steve); post-stamped comment POST /repos/objectstack-ai/objectstack/issues/36462/comments",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — the panel's own words for is_null / is_not_null contain the jargon 'null' (en 'Is not null', zh '不为 null'); a business wording would change panel and chip together since they now share one key",
        "carrier: none · noted, not filed — view-triple symbols read '>= 10' while the quick filter says '≥ 10'; lowered AST spellings (nin, isnotnull, startswith) from hand-written view filters now read 'Condition', readable but unspecific"
      ]
    }
  8. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU

    Landed: PR #36588 merged (2026-11-23T02:01Z), closing this card via Fixes #36462. pm:dispatched removed on close.

  9. removed
    pm:dispatched
    on Nov 23, 2026
  10. added 2 commits that reference this issue on Nov 23, 2026
    89d9608
    6e643cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions