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
list view: a row's built-in Edit / Delete greyed by userActions.*.disabledWhen gives no reason, unlike the record page since #35135 #35293
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Filing gate: ③ an out-of-scope finding of the #35135 dev (os-dev-report 6997604349, PR #35288 Acceptance notes), read in code; named as owed by the L1-a reviewer (ACCEPT 6998025008). Follow-up of #35135, nested under it.
Reader: domain:ui (ui/packages/components/src/renderers/complex/data-table.tsx, published @object-ui/components). Suggested-grade: p2 · same reach and same ruling as #35135 (UX × not every user every time).
Dedupe: row action disabledWhen reason, data-table builtin disabled reason — none open.
维护者速读
列表里每一行的「编辑」「删除」菜单项,在对象写了 userActions.edit/delete.disabledWhen 且条件成立时会变灰,但不说原因。#35135(PR #35288)已按你的裁定 B 给记录页的同一情况加了通用原因「对此记录不可用」;列表行是同一缺口的另一处。
Facts (origin/main)
data-table.tsx ~:726-737: the built-in row item evaluates useRowPredicate(predicates?.disabledWhen, row, …) and renders <DropdownMenuItem disabled={disabled} …> with no reason, no title and no accessible description.
Apply route B to the list row's built-in Edit / Delete: when the declared disabledWhen is what greys the item, show the existing actions.notAvailableForRecord sentence (visible second line or description, matching #35288's overflow entry). Pins: a disabledWhen-greyed row item shows the reason; CONTROL: an enabled item and an item whose predicate does not hold show none. Ablate red. Clause-②: no expected.
First touch (rules of #35223): area:ux · Bug · Cosmetic (a greyed Edit/Delete gives no reason on the list view, where the record page does since #35135) → p2 under the UX rule, as filed. Issue type set to Bug.
Claim: PM loop round 4 · area ux-2 (lease:ux-2, leased by seat 5; route B per ruling 6996106574 on parent #35135) · 2026-11-19T04:24Z
Session: session_01Utp6CZrgaiMgTJCnswR6jQ
Account: os-bill
Branch: claude/issue-35293-row-action-reason
Worktree: objectstack-issue-35293
Domain: domain:ui
Seat: repo:objectstack#5
File surface: ui/packages/components/src/renderers/complex/data-table.tsx (the built-in row Edit/Delete item), its tests, root .changeset/. ⛔ No packages/spec/**, no new i18n key (reuse actions.notAvailableForRecord). Stop on breach and report.
Container & model: S, mode:subagent, model: default — no path-derived mandate, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: ui componentsdata-table.tsx in objectstack greys the built-in row Edit/Delete under userActions.*.disabledWhen with no reason; no platform path covers it (#35135 fixed only the record page); every list reader of an object that declares disabledWhen
Thread-read: 6998151582
Premise: holds — on origin/main: data-table.tsx:726-737 evaluates builtin:${name}:disabledWhen and renders <DropdownMenuItem disabled={disabled}> with no reason, title or description
Serial constraints cleared: none — no open PR touches data-table.tsx (live read of all open PRs' files at claim time)
Pre-claim lane: domain:ui (ui/packages/components/**)
Pre-claim deps: parent #35135 closed (PR #35288 merged 1b2cd80608)
Prior rulings read: disabledWhen, disabledReason, notAvailableForRecord → ruling 6996106574 (route B, generic sentence, no new key) binds; #24034 B′; ADR-0137 (fail-soft, unchanged); none conflicts
{
"issue": 35293,
"status": "done",
"branch": "claude/issue-35293-row-action-reason",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35331",
"head": "2170bf0b",
"session": "session_01Utp6CZrgaiMgTJCnswR6jQ",
"premise_still_valid": true,
"A1": "holds: on origin/main 00cfb78f, DataTableBuiltinRowActionItem rendered DropdownMenuItem disabled={disabled} with icon + label only, no reason, title or ARIA description",
"A2": "holds: data-table.tsx already imports useDisabledReason / DisabledReasonMenuLabel / menuItemReasonAria from ../action/disabled-reason (used by DataTableRowActionItem); useDisabledReason reaches actions.notAvailableForRecord through useSafeTranslate, so no new i18n wiring was needed",
"summary": "DataTableBuiltinRowActionItem (data-table row menu built-in Edit / Delete) now passes its declared-disabledWhen verdict to the existing useDisabledReason hook (called ahead of the early return), and renders the generic actions.notAvailableForRecord sentence as a visible second line (DisabledReasonMenuLabel) plus accessible description (menuItemReasonAria), name staying the label: the overflow-entry face #35288 gave the record page. An item that is on (no predicate, or predicate not holding) renders exactly as before. No spec change, no new i18n key, no new export. Patch changeset for @object-ui/components.",
"files_changed": [
"ui/packages/components/src/renderers/complex/data-table.tsx (+16/-5)",
"ui/packages/components/src/renderers/complex/__tests__/data-table-builtin-row-action-predicates.test.tsx (+55)",
".changeset/35293-row-disabledwhen-reason.md (+12, new)"
],
"tests": "At 2170bf0b (after pnpm --workspace-concurrency=2 --filter '@object-ui/components^...' build, lock VERDICT command-exit 0): 4 data-table row-action files Test Files 4 passed (4), Tests 48 passed (48), VERDICT command-exit 0. Wider: 35 data-table*.test.tsx in components + 7 ui files outside it rendering built-in row predicates (plugin-detail, plugin-designer x2, plugin-view, app-shell x3): Test Files 42 passed (42), Tests 262 passed (262), VERDICT command-exit 0. pnpm --filter @object-ui/components run type-check (tsc --noEmit && tsc -p tsconfig.test.json): VERDICT command-exit 0. New pins (new top-level describe in the existing harness): edit and delete greyed by disabledWhen show the reason as visible second line + aria-describedby and keep menuitem name = label; CONTROL no predicate -> no reason; CONTROL predicate not holding -> no reason. Ablation via scripts/ablation-replace.mjs: useDisabledReason(disabled) -> useDisabledReason(false), anchor 1->0, blob d0f38ee7->07aaebe3; Tests 2 failed | 7 passed (9), the two red are the two positive pins, controls green; restored blob d0f38ee7 == HEAD blob, git diff HEAD empty. No dist step: the test imports the component by relative source path.",
"gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at 2170bf0b derived 38 families; all 38 run, each exit 0 (exit captured before any pipe); --ran reconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN (a DERIVED zero, every exit code recorded). Includes pnpm --dir ui exec vitest run scripts/ (run with --maxWorkers=2): Test Files 171 passed | 2 skipped (173), VERDICT command-exit 0. pnpm check:new-line-citations: 0 new citation(s). CI at report time on head 2170bf0b: Governed Surface Queue Guard=success; Check Changeset, Check PR Size, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling, CI/release/engine, scoped x3), PR-body guards, Type Check (consumer, debt, source, workspace), filter = in_progress; opt-in / queue-only jobs skipped. UI jobs not yet listed. Not awaited per os-dev.md.",
"line_budget": "n/a: no skills/** or ratcheted ledger touched; diff 78 changed lines (+73/-5, 3 files), under the 3000 human-merge threshold",
"deviations": [
"pnpm --dir ui exec vitest run scripts/ was run with --maxWorkers=2 added to the derived command (resource discipline).",
"test:repo not run locally: diff touches no repo-project test and no derived family names it; CI's (Test Core).",
"The foreground gate loop overran the ~10 min foreground cap and the harness moved it to the background; it was waited out in-turn with a foreground bounded wait, all 37 non-locked families read from their redirected logs."
],
"dogfood_battery": "n/a: no ! in the PR title and Clause-②: no without a (narrowing) arm",
"clause_2": "Clause-②: no · Metadata-protocol: none (measured: no spec, no authorable key, no accepted-value change)",
"mcp_calls": "0",
"api_writes": "3: git push (branch, 3 pushes, not REST); relay pr_create (repository_dispatch fw-20261119T050853Z-8a00ba -> POST pulls, assignees os-bill); post-stamped os-dev-report comment on #35293",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: a (UX, same family as #35135 / this card) · reach: named producer: examples/app-showcase invoice.object.ts declares userActions.edit.disabledWhen on record.status == 'paid'; its list view row menu goes through plugin-grid ObjectGrid -> RowActionMenu -> BuiltinRowActionItem (ui/packages/plugin-grid/src/components/RowActionMenu.tsx), which renders DropdownMenuItem disabled={disabled} with icon + label only, no reason (read in code at 00cfb78f, not driven live) · same fix shape applies (useDisabledReason; note its verdictPending leg must not earn the reason) · fold into the #35135 family, seat files · dedupe words: plugin-grid row action disabledWhen reason, BuiltinRowActionItem disabled reason, ObjectGrid row Edit greyed no reason"
]
}
MERGED through the merge queue as 3819afeca1 (Fixes #35293; this card closed completed)
contract record
none owed (Clause-②: no, reuses actions.notAvailableForRecord); L1-a ACCEPT 7000768398; route B per ruling 6996106574
Delivered: in the data-table list, a row's built-in Edit / Delete greyed by a declared disabledWhen shows the generic "not available for this record" sentence as a visible second line and as its accessible description; its accessible name stays the label; an item that is on renders as before.
Not done here: the same gap in the ObjectGrid row menu (plugin-grid) is follow-up #35334, nested under #35135, claimed by ux-2.
State: pm:dispatched removed; card closed.
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch (rules of #35223): area:ux · Bug · Cosmetic (a greyed Edit/Delete gives no reason on the list view, where the record page does since #35135) → p2 under the UX rule, as filed. Issue type set to Bug.
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
Claim: PM loop round 4 · area ux-2 (
lease:ux-2, leased by seat 5; route B per ruling 6996106574 on parent #35135) · 2026-11-19T04:24ZSession:
session_01Utp6CZrgaiMgTJCnswR6jQAccount:
os-billBranch:
claude/issue-35293-row-action-reasonWorktree:
objectstack-issue-35293Domain:
domain:uiSeat:
repo:objectstack#5File surface:
ui/packages/components/src/renderers/complex/data-table.tsx(the built-in row Edit/Delete item), its tests, root.changeset/. ⛔ Nopackages/spec/**, no new i18n key (reuseactions.notAvailableForRecord). Stop on breach and report.Container & model:
S,mode:subagent,model: default — no path-derived mandate,effort: highClause-②: no
Metadata-protocol: none
Responsibility: ui
componentsdata-table.tsxin objectstack greys the built-in row Edit/Delete underuserActions.*.disabledWhenwith no reason; no platform path covers it (#35135 fixed only the record page); every list reader of an object that declaresdisabledWhenThread-read: 6998151582
Premise: holds — on
origin/main:data-table.tsx:726-737evaluatesbuiltin:${name}:disabledWhenand renders<DropdownMenuItem disabled={disabled}>with no reason, title or descriptionSerial constraints cleared: none — no open PR touches
data-table.tsx(live read of all open PRs' files at claim time)Pre-claim lane:
domain:ui(ui/packages/components/**)Pre-claim deps: parent #35135 closed (PR #35288 merged
1b2cd80608)Prior rulings read: disabledWhen, disabledReason, notAvailableForRecord → ruling 6996106574 (route B, generic sentence, no new key) binds; #24034 B′; ADR-0137 (fail-soft, unchanged); none conflicts
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
os-dev-report
{ "issue": 35293, "status": "done", "branch": "claude/issue-35293-row-action-reason", "pr": "https://github.com/objectstack-ai/objectstack/pull/35331", "head": "2170bf0b", "session": "session_01Utp6CZrgaiMgTJCnswR6jQ", "premise_still_valid": true, "A1": "holds: on origin/main 00cfb78f, DataTableBuiltinRowActionItem rendered DropdownMenuItem disabled={disabled} with icon + label only, no reason, title or ARIA description", "A2": "holds: data-table.tsx already imports useDisabledReason / DisabledReasonMenuLabel / menuItemReasonAria from ../action/disabled-reason (used by DataTableRowActionItem); useDisabledReason reaches actions.notAvailableForRecord through useSafeTranslate, so no new i18n wiring was needed", "summary": "DataTableBuiltinRowActionItem (data-table row menu built-in Edit / Delete) now passes its declared-disabledWhen verdict to the existing useDisabledReason hook (called ahead of the early return), and renders the generic actions.notAvailableForRecord sentence as a visible second line (DisabledReasonMenuLabel) plus accessible description (menuItemReasonAria), name staying the label: the overflow-entry face #35288 gave the record page. An item that is on (no predicate, or predicate not holding) renders exactly as before. No spec change, no new i18n key, no new export. Patch changeset for @object-ui/components.", "files_changed": [ "ui/packages/components/src/renderers/complex/data-table.tsx (+16/-5)", "ui/packages/components/src/renderers/complex/__tests__/data-table-builtin-row-action-predicates.test.tsx (+55)", ".changeset/35293-row-disabledwhen-reason.md (+12, new)" ], "tests": "At 2170bf0b (after pnpm --workspace-concurrency=2 --filter '@object-ui/components^...' build, lock VERDICT command-exit 0): 4 data-table row-action files Test Files 4 passed (4), Tests 48 passed (48), VERDICT command-exit 0. Wider: 35 data-table*.test.tsx in components + 7 ui files outside it rendering built-in row predicates (plugin-detail, plugin-designer x2, plugin-view, app-shell x3): Test Files 42 passed (42), Tests 262 passed (262), VERDICT command-exit 0. pnpm --filter @object-ui/components run type-check (tsc --noEmit && tsc -p tsconfig.test.json): VERDICT command-exit 0. New pins (new top-level describe in the existing harness): edit and delete greyed by disabledWhen show the reason as visible second line + aria-describedby and keep menuitem name = label; CONTROL no predicate -> no reason; CONTROL predicate not holding -> no reason. Ablation via scripts/ablation-replace.mjs: useDisabledReason(disabled) -> useDisabledReason(false), anchor 1->0, blob d0f38ee7->07aaebe3; Tests 2 failed | 7 passed (9), the two red are the two positive pins, controls green; restored blob d0f38ee7 == HEAD blob, git diff HEAD empty. No dist step: the test imports the component by relative source path.", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at 2170bf0b derived 38 families; all 38 run, each exit 0 (exit captured before any pipe); --ran reconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN (a DERIVED zero, every exit code recorded). Includes pnpm --dir ui exec vitest run scripts/ (run with --maxWorkers=2): Test Files 171 passed | 2 skipped (173), VERDICT command-exit 0. pnpm check:new-line-citations: 0 new citation(s). CI at report time on head 2170bf0b: Governed Surface Queue Guard=success; Check Changeset, Check PR Size, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling, CI/release/engine, scoped x3), PR-body guards, Type Check (consumer, debt, source, workspace), filter = in_progress; opt-in / queue-only jobs skipped. UI jobs not yet listed. Not awaited per os-dev.md.", "line_budget": "n/a: no skills/** or ratcheted ledger touched; diff 78 changed lines (+73/-5, 3 files), under the 3000 human-merge threshold", "deviations": [ "pnpm --dir ui exec vitest run scripts/ was run with --maxWorkers=2 added to the derived command (resource discipline).", "test:repo not run locally: diff touches no repo-project test and no derived family names it; CI's (Test Core).", "The foreground gate loop overran the ~10 min foreground cap and the harness moved it to the background; it was waited out in-turn with a foreground bounded wait, all 37 non-locked families read from their redirected logs." ], "dogfood_battery": "n/a: no ! in the PR title and Clause-②: no without a (narrowing) arm", "clause_2": "Clause-②: no · Metadata-protocol: none (measured: no spec, no authorable key, no accepted-value change)", "mcp_calls": "0", "api_writes": "3: git push (branch, 3 pushes, not REST); relay pr_create (repository_dispatch fw-20261119T050853Z-8a00ba -> POST pulls, assignees os-bill); post-stamped os-dev-report comment on #35293", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: a (UX, same family as #35135 / this card) · reach: named producer: examples/app-showcase invoice.object.ts declares userActions.edit.disabledWhen on record.status == 'paid'; its list view row menu goes through plugin-grid ObjectGrid -> RowActionMenu -> BuiltinRowActionItem (ui/packages/plugin-grid/src/components/RowActionMenu.tsx), which renders DropdownMenuItem disabled={disabled} with icon + label only, no reason (read in code at 00cfb78f, not driven live) · same fix shape applies (useDisabledReason; note its verdictPending leg must not earn the reason) · fold into the #35135 family, seat files · dedupe words: plugin-grid row action disabledWhen reason, BuiltinRowActionItem disabled reason, ObjectGrid row Edit greyed no reason" ] }objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
Closed-out · area ux-2 · 2026-11-19T05:58Z
3819afeca1(Fixes #35293; this card closed completed)Clause-②: no, reusesactions.notAvailableForRecord); L1-a ACCEPT 7000768398; route B per ruling 6996106574Delivered: in the data-table list, a row's built-in Edit / Delete greyed by a declared
disabledWhenshows the generic "not available for this record" sentence as a visible second line and as its accessible description; its accessible name stays the label; an item that is on renders as before.Not done here: the same gap in the ObjectGrid row menu (plugin-grid) is follow-up #35334, nested under #35135, claimed by ux-2.
State:
pm:dispatchedremoved; card closed.