Skip to content

Record overlay (kanban, calendar, gantt, tree): save refusals, field hints and conflict rows show the field's machine name instead of its label #36310

Closed

Description

@objectstack-fleet

repo:objectstack#4 · os-project-manager · session_01FEkQ5oLLK7uoxp33riiBJL

Filing gate: ② an out-of-scope finding while building #35995 (PR #36298, os-dev-report 7074757038 on #35995, PR ## Acceptance notes), confirmed by the L1-d review (ACCEPT 7074798693, "Out-of-scope items 1"). ⛔ Not a claim; triage sets lane and grade.
Dedupe: fieldLabelFor (open: 1 hit, #35995 itself), overlay machine name field (open: 5 hits; #35995 #30806 #25921 #6015 and none on this). No card covers it.

What happens (read on origin/main 4ab1218; not driven in a browser)

reach: any user saving a field in the overlay of a kanban, calendar, gantt or tree view whose save is refused or meets a 409. Not measured live.

Ask

  • The overlay labels fields the way the record page does: the field's (translated) label, falling back to the name only when no label exists. The bar already reads objectFields from the record context RecordDetailPanel now provides, so a label fallback there (or passing fieldLabelFor from the panel) covers the refusal line, the field hint and the conflict rows. ⛔ No second labelling rule.
  • Pins: a refused save in the overlay names the field by its label; a conflict row names it by its label; CONTROL a field with no label still shows its name.
  • Clause-②: no and Metadata-protocol: none expected.

Reader: domain:ui (ui/packages/plugin-detail, record overlay) · area:ux · Bug.

Activity

  1. added
    bug
    pm:queue
    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 (record overlay for kanban, calendar, gantt and tree) · pm:queue; rationale: area:ux · Bug · save refusals, field hints and conflict rows show the field's machine name instead of its label. It had no grade; UX has no p3 → p2 · size S.

  3. added
    domain:ui
    priority:p2
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

    Claim: PM loop round 1 · 2026-11-22T07:27Z
    Session: session_01QsR2jRaJbQ4vqdv4J5peqA
    Account: zhuangjianguo
    Branch: claude/issue-36310-overlay-field-labels
    Worktree: objectstack-issue-36310
    Domain: domain:ui
    Seat: repo:objectstack#7
    Area: f7-record
    File surface: ui/packages/plugin-detail/src/RecordDetailPanel.tsx, ui/packages/plugin-detail/src/InlineEditSaveBar.tsx (one label fallback, no second labelling rule), new pin file, changeset.
    Container & model: S, mode:subagent, model: opus (TIER_DEFAULT; dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: RecordDetailPanel passes no fieldLabelFor to InlineEditSaveBar in objectstack | the record page's fieldLabelFor is the existing path, not reached by the overlay | any user saving a field in a kanban / calendar / gantt / tree overlay whose save is refused or meets a 409
    Thread-read: 7075117472
    Premise: holds (read on main after PR #36298 merged; the dev re-reads it first)
    Pre-claim lane: domain:ui — ui/packages/plugin-detail/src/RecordDetailPanel.tsx
    Pre-claim deps: PR #36298 (#35995) merged
    Prior rulings read: record,overlay,kanban,calendar,gantt,tree,save,refusals,field,hints,conflict,rows (+5 more) → 389 hits; ADR-0139 D4, ADR-0146 D11, ADR-0014 Decision §2, ADR-0079 D6, ADR-0080 Decision §3, ADR-0144 D6, ADR-0020 D4; thread: none; repo: objectstack-ai/objectstack
    Serial constraints cleared: none in this area on these two files; overlap-check.mjs before the first push.
    Resume-from: none
    Fold-or-serial: alone (#36309 shares the 409 theme but not the files or the fix).

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 36310,
      "status": "done",
      "branch": "claude/issue-36310-overlay-field-labels",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36388",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "Premise held on origin/main b3bcfefc: RecordDetailPanel hands InlineEditSaveBar no fieldLabelFor, and the bar's refusal line, conflict rows and isRecordField fell back to the bare name, while a full labelling rule (fieldLabelFor, else translated fieldLabel over the record context's declared label, else name) already lived in the bar, local to the required-fields dialog. That rule is hoisted to component scope as labelForField and every place the bar names a field reads it (refusal summary, single- and multi-field conflict rows, fill-in dialog, isRecordField); the copies are removed, no second rule added, RecordDetailPanel untouched. The record page passes fieldLabelFor, so it reads as before. In the overlay, a refusal naming a labelled declared field the record does not carry is now that field's (labelled), matching the record page.",
      "tests": "Pins: ui/packages/plugin-detail/src/__tests__/RecordDetailPanel.fieldLabels-36310.test.tsx (drives the real RecordDetailPanel): refused save by label; refusal naming an uncarried declared field by label; 409 conflict rows by label; CONTROL unlabelled field reads its name. At head 71419abe: 'Test Files 1 passed (1) · Tests 4 passed (4)'. Ablation (fix committed first; InlineEditSaveBar.tsx restored to base blob ac0eb2b6 == BASE blob, ran, restored with git checkout HEAD, blob 4f6938b6 == HEAD blob, git diff HEAD 0 bytes; test imports src, no dist leg): 'Tests 3 failed | 1 passed (4)', pins 1-3 red, control green. Narrowed plugin-detail run (all InlineEditSaveBar.*, RecordDetailPanel.*, RecordDetailDrawer.*, ConcurrentUpdateDialog.* files, 14 files) at 6a3329c8 (head differs only by a test-file type annotation): 'Test Files 14 passed (14) · Tests 75 passed (75)'. pnpm --filter @object-ui/plugin-detail run type-check at 71419abe: TC_EXIT=0 (tsc --noEmit and tsc -p tsconfig.test.json; the earlier run caught a mock type error in the new test, fixed). Full plugin-detail suite: NOT MEASURED, reason: two verify-lock queue timeouts (exit 99); declared to CI Test UI.",
      "gates": "Local, at 71419abe/6a3329c8 (diff of the last commit is the test file only): dispatch-gates --commands derived 38; 36 ran exit 0 (each captured before any pipe), pnpm --dir ui exec vitest run scripts/ exit 0 ('Test Files 172 passed | 2 skipped (174)', under lock VERDICT command-exit 0), pnpm check:type-check-debt exit 3 PREREQUISITE NOT MET = NOT MEASURED (its closure build never got a lock turn); plus pnpm check:changeset-fixed exit 0 (roster under .changeset). --ran reconciliation (before the ui scripts run): '38 derived, 37 run, 0 NOT-MEASURED, 1 UNRUN' naming the ui scripts family, since run. overlap-check: VERDICT clean exit 0 before first push and at final head. Build closure turbo build --filter=@object-ui/plugin-detail^... VERDICT command-exit 0, 52/52 tasks. CI check-runs at 71419abe read once at PR open: all in_progress (Check Changeset, Lint · *, Type Check · *, Governed Surface Queue Guard, PR-body guards); skipped: Borrowed queue verdict, Queue verdict, Schedule gate, opt-in harnesses. Not waited on.",
      "dogfood_battery": "n/a — no ! in the PR title and Clause-②: no without a (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — POST /repos/objectstack-ai/objectstack/dispatches (fleet-write relay pr_create, run 45006535919 success, read-back identical 5254 bytes, assignee zhuangjianguo, labels none); POST issue comment on #36310 via post-stamped.mjs (this report)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted in PR Acceptance notes, not filed: the record page's own fieldLabelFor (RecordDetailView) puts the declared label before the translated one, while the record body (DetailSection) and the bar's fallback put the translation first; not reproduced live (whether objectDef there is already localized was not measured), so it is an observation, not a class-a finding. Dedupe words: fieldLabelFor precedence, translated field label record page, RecordDetailView fieldLabel"
      ],
      "files_changed": [
        ".changeset/36310-overlay-field-labels.md",
        "ui/packages/plugin-detail/src/InlineEditSaveBar.tsx",
        "ui/packages/plugin-detail/src/__tests__/RecordDetailPanel.fieldLabels-36310.test.tsx"
      ],
      "line_budget": "209 changed lines (+181 / -28) vs 3000 human-merge threshold: under",
      "deviations": [
        "overlap-check ran before the first push and at the final head, not before each of the 3 intermediate pushes (both runs clean)",
        "full plugin-detail suite narrowed to the 14 files reaching InlineEditSaveBar/RecordDetailPanel/RecordDetailDrawer/ConcurrentUpdateDialog after two lock queue timeouts; full suite declared to CI",
        "check:type-check-debt NOT MEASURED locally (exit 3, lock turn never granted to its closure build)",
        "the new pin is a new file named for the card (dispatch suggested route), not a describe in an existing harness file: RecordDetailPanel has only per-card test files",
        "not driven in a browser: screenshot NOT MEASURED"
      ]
    }
  7. removed
    pm:dispatched
    on Nov 22, 2026
  8. added a commit that references this issue on Nov 22, 2026
    dcc9b07
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