Skip to content

Row menu and right-click menu follow the object action layout's record order (after #36366) #36494

Description

@objectstack-fleet

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Source: the maintainer's two decisions in the action-format analysis thread on 2026-11-22 (14:27Z 「放在对象上,分列表和记录」; 14:33Z 「三类都由动作声明,分两步做」), filed by the seat. Builds after #36366 lands. Not claimed.

What changes

#36366 adds an object-level action layout (actionLayout, working name) with a record arm { pinned, more } that orders the record header, side preview and phone bar. The grid's row menu (⋯) and right-click menu still use today's default order.

What should happen

The row menu and the right-click menu read the same record arm order: pinned first, then more, in the arm's order; an action in neither list goes last in today's default order. #36289's lower half (the whole-row actions in the cell right-click menu) uses the same order.

Done when

  • On an object with a record arm, the row ⋯ menu and the right-click menu list actions in the arm's order.
  • An object without the arm draws exactly as today (pinned).

Activity

  1. added
    enhancement
    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 · pm:queue; rationale: area:ux · Feature · the row menu and right-click menu follow the object action layout's record order, after #36366 → p2 as filed · size S.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzhoBbwh8URjwQHde8v

    Claim: PM loop round 1 (area ux-B)
    Session: session_01WGufzhoBbwh8URjwQHde8v
    Account: os-support-ai
    Branch: claude/issue-36494-row-menu-action-layout-order
    Worktree: objectstack-issue-36494
    Domain: domain:ui
    Seat: repo:objectstack#3
    Area: ux-B
    File surface: ui/packages/plugin-grid/src/** (row ⋯ menu components/RowActionMenu.tsx, right-click components/RowContextMenu.tsx, ObjectGrid.tsx, resolveLegacyRowActions.ts), plus the list host in ui/packages/plugin-list/src/ListView.tsx only if the object's actionLayout.record must be handed down from there; tests and one changeset
    Container & model: S, not mechanical (merge order is a judgment) ⇒ M treatment, mode:subagent, model: default (dispatch-gates --tier at 844218f5: "no path-derived mandate"), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7080846665
    Premise: holds
    Serial constraints cleared: #36366 (the actionLayout it builds on) is closed and its reader is on main (RecordDetailView.tsx reads objectPins.record); #36289 closed and PR #36790 (cell right-click menu) merged at bbc7e03; no open PR touches ui/packages/plugin-grid/** except the Version Packages PR #35129 (CHANGELOG/package.json only); none
    Pre-claim lane: domain:ui — the fix lands in ui/packages/plugin-grid/** (row and right-click menus read objectDef.actions filtered by locations.includes('list_item'), ObjectGrid.tsx:1347, resolveLegacyRowActions.ts:16), this lane
    Pre-claim deps: #36366 closed (merged), #36289 closed, PR #36790 merged — all landed
    Prior rulings read: the card's maintainer decisions, verbatim — 2026-11-22 14:27Z 「放在对象上,分列表和记录」 and 14:33Z 「三类都由动作声明,分两步做」; ADR-0146 D10 (the object/extension actionLayout leaf, cited in packages/spec/src/data/object.zod.ts:6853); check-prior-rulings.mjs --card 36494 at 844218f: no ruling comment on the card's own thread besides the decisions quoted; no conflict with the route (the row menu adopts the record arm's order; an object without the arm draws as today)

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzhoBbwh8URjwQHde8v
    os-dev-report

    {
      "issue": 36494,
      "status": "done",
      "branch": "claude/issue-36494-row-menu-action-layout-order",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36815",
      "head": "7c31bfda0",
      "session": "session_01WGufzhoBbwh8URjwQHde8v",
      "premise_still_valid": true,
      "summary": "Both row menus (the row's ⋮ menu and its right-click menu, plus the list page's one-record selection-bar menu, all reading planRowActionMenu) now list the actions the served object's actionLayout.record names first: pinned, then more, in the arm's order, then the rest in today's order. Ranking is done once in ObjectGrid (rankRowActionDefs, reading the arm with readActionLayoutArm from @object-ui/types, the header's reader); the plan orders its menu-bound list (orderRowMenuActions). No arm: defs returned by reference, menus unchanged. No public type or prop added.",
      "tests": "plugin-grid suite at 7c31bfda0: Test Files 310 passed (310), Tests 2750 passed (2750); new pins: rowActionArrangement-36494.test.ts (5) and a top-level objectstack#36494 describe in rowContextMenu-28434.test.tsx (arm order in both menus; no arm / list-only arm = today). Ablation via ablation-replace.mjs (orderRowMenuActions call replaced by identity, anchor 1 to 0): arm pin red (1 failed | 19 passed), restore blob == HEAD, git diff HEAD empty.",
      "gates": "type-check @object-ui/plugin-grid exit 0; eslint on touched files 0 errors; dispatch-gates --commands 39 commands all exit 0, --ran 39 derived / 39 run / 0 unrun; overlap-check VERDICT clean exit 0. CI check-runs: in_progress at report time.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (POST pulls + POST issues/36815/assignees), this report comment",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  7. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzhoBbwh8URjwQHde8v

    Claim amendment · 2026-11-24T02:13Z · file surface of claim 7118489383 gains content/docs/ui/actions.mdx (one sentence in "Choose the header's buttons": the record arm also orders a row's ⋮ menu and right-click menu; the inline button is unchanged), owed by L1 REWORK 7119889919 S1 on PR #36815. Everything else in the claim stands.

  8. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzhoBbwh8URjwQHde8v
    os-dev-report

    Delta for REWORK 7119889919. Round 2, S1 only.

    {
      "issue": 36494,
      "status": "done",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36815",
      "head": "8587bcb447053d54c447c7feba907abe5bb0d82c",
      "summary": "S1: content/docs/ui/actions.mdx, bullet 'The record arm is a scope, not a page' gains one sentence. The arm also orders a list row's menu and right-click menu (named actions first, pinned then more, then the rest as before), and the row's button is unchanged. N1/N2/N3 not addressed, as directed. One docs commit on 7c31bfda; main not merged.",
      "gates": "Docs families derived for the path: 28 of 33 ran locally, exit 0. 5 NOT MEASURED locally, reason: they need a built spec/lint dist, and the build twice hit the shared verify-lock queue-timeout (exit 99): spec check:docs, check:skill-examples, lint check:doc-formula-expressions, check:doc-security-posture, check:docs-transcript-drift. Covered by CI at 8587bcb4: Lint & Repo Gates success, Lint · docs & code guards success. overlap-check VERDICT clean. CI: 48 success / 10 skipped / 0 failure; mergeable_state clean.",
      "mcp_calls": "0",
      "api_writes": "1 — this comment",
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  9. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzhoBbwh8URjwQHde8v

    Close-out · 2026-11-24T03:08Z · area ux-B: PR #36815 merged at 2026-11-24T03:08Z (L1 ACCEPT 7120343877), closing this card as completed. pm:dispatched removed. Nit follow-ups (the actionLayout.record describe; a design-mode staged order not previewed in row menus) went to triage through the seat.

  10. removed
    pm:dispatched
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions