Skip to content

Bulk actions declared on the action (selection) with a selection arm in the object action layout, moved from view bulkActions #36496

Description

@objectstack-fleet

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Blocked-by: #36495
(Seat repo:objectstack#3, 2026-11-27: maintainer ruling 7213534162 on #36495 — #36495 first, this card after its PR merges, both before 19.0.0 GA.)

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

Step 2, after the vocabulary card: actions that act on many records declare it on the action, with a selection location value, and the object layout gains a third selection arm { pinned, more } that orders the bar shown after multi-select. View bulkActions lists move onto the actions; bulkActionDefs (inline field-update definitions on a view) stay on the view.

Measured (analysis thread, by file, not per object)

  • 28 non-test bulkActions declarations in 15 files, 12 of them in HotCRM.
  • No object found whose views list different bulk sets.
  • Objects where only some views list bulk actions would gain the bar on their other views after the move. The card lists each such object before the conversion is written.

Done when

  • Multi-select shows the same actions on every view of an object, in the selection arm's order.
  • The conversion moves every existing view list without losing an action.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:spec (bulk actions) · pm:queue; rationale: area:ux · Feature · bulk actions are declared on the action (selection) with a selection arm in the object action layout → p2 as filed · size M.

  3. added
    pm:queue
    on Nov 22, 2026
  4. added
    pm:blocked
    and removed
    pm:queue
    on Nov 27, 2026
  5. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Unlock · pm:blocked → pm:queue · every line-leading Blocked-by: / Restart-when: on this card (body and thread) was read at 2026-11-29T00:17Z, and each target is done: #36495 closed as completed. Grade unchanged. Before dispatch, re-check the card's file surface on the merged ref.

    Recorded 2026-11-29T00:17Z.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oz5vp6AYi9MqMxvmK
    Claim: PM loop round 1
    Session: session_01FEkQ5oz5vp6AYi9MqMxvmK
    Thread session: session_01FEkQ5oz5vp6AYi9MqMxvmK
    Account: os-project-manager
    Branch: claude/project-thread-kko9wu
    Worktree: objectstack-issue-36496
    Domain: domain:spec
    Seat: repo:objectstack#5
    Area: o5-ux
    File surface: packages/spec/src/ui/action.zod.ts (the selection location), packages/spec/src/data/object-action-layout.ts (the selection arm), packages/spec/src/ui/view.zod.ts (retire list view bulkActions; bulkActionDefs stays), packages/spec/src/ui/component.zod.ts and packages/spec/src/ui/bulk-action.zod.ts (only where they reference the view key), packages/spec/src/ui/action.metadata-form.ts, a new ADR-0087 conversion under packages/spec/src/conversions/entries/19/ plus packages/spec/src/conversions/registry.ts, a new semantic entry under packages/spec/src/migrations/entries/semantic/, packages/spec/liveness/{action,view,object}.json, the bulk readers in ui/packages/plugin-grid/src/ (resolveBulkActions.ts, ObjectGrid.tsx, components/SelectionBar.tsx), ui/packages/plugin-list/src/ListView.tsx, ui/packages/plugin-view/src/ObjectView.tsx, ui/packages/app-shell/src/views/ (objectViewListRenderer.tsx, objectViewHeaderToolbar.ts, objectViewTabs.ts, metadata-admin/inspectors/ActionDefaultInspector.tsx), ui/packages/types/src/ (objectql.ts, ui-action.ts), the bulk lint rules in packages/lint/src/ (validate-action-dispatch-contract.ts, validate-action-name-refs.ts, validate-action-locations.ts, validate-object-action-layout.ts, validate-list-view-field-refs.ts, i18n-walk.ts, rule-explanations.ts), the declarations in examples/app-showcase/src/ui/ (views task, field-zoo; actions index.ts, predicate-matrix.action.ts), content/docs/** that teaches the key, generated references, new test files named for the card, .changeset/36496-*.md. NOT skills/** (a domain:skills follow-up card) and NOT HotCRM (a hotcrm follow-up card through its 19 pin bump). Stop on breach; explain in the report.
    Container & model: M, mode:thread, model: default tier (dispatch-gates.mjs --tier on the surface: "no path-derived mandate"), effort: high (a contract change with a lossless conversion and a reader move, design judgement in the arm and the bar order)
    Clause-②: yes (narrowing)
    Metadata-protocol: narrowed
    Responsibility: n/a — not a defect card
    Thread-read: 7248010032
    Premise: holds on main d89d3e2 — ACTION_LOCATIONS is list, record, record_page, record_row, record_related, record_section (no selection); OBJECT_ACTION_LAYOUT_SCOPES is ['list', 'record']; ListViewSchema.bulkActions is z.array(z.string()) in view.zod.ts. Census of authored bulkActions: lists on main: 3 in objectstack (examples/app-showcase field-zoo default + gated_columns, task bulk_actions), 8 in HotCRM at 0a20569 (opportunity 6 via GRID_BULK, contact 1, lead 1); the card's 28 / 15 files was an earlier count. No object lists different bulk sets on two views. Only grid views draw the selection bar (plugin-grid).
    Prior rulings read: bulkActions,actionLayout,selection-bar,bulkActionDefs → 0 ADR hits; card body: maintainer 2026-11-22 「放在对象上,分列表和记录」 and 「三类都由动作声明,分两步做」; Ruling-ref: 7213534162 (#36495 letter A: 「现在开,#36495 先做」, this card after #36495, before 19.0.0 GA); object-action-layout.ts cites the maintainer's ruling on #36635 (the layout sits on the object); thread: none
    Serial constraints cleared: #36495 merged (PR #37929, 58b513a) and #36366 closed. check-handover --inflight on the file-level surface: OVERLAP — 1 claim, #35143 (repo:objectstack#6) by its packages/lint/** claim width; its open PR #38241 shares only packages/lint/src/rule-explanations.ts with this surface (a different rule's text). overlap-check.mjs runs before the first push and before every push; a textual conflict with #38241 queues this branch behind it.
    Pre-claim lane: area:ux · domain:spec (paths packages/spec/src/ui/action.zod.ts, packages/spec/src/data/object-action-layout.ts) · Feature · p2
    Pre-claim deps: #36495 closed completed (PR #37929 merged); #36366 closed.

    Window: before 19.0.0 GA. L2 at the contract-review tier (published schema and a narrowing). Lands like Tier H: after L1 and a same-head PASS the PR goes to the seat for hand-off.

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:uxdomain:specenhancementpm:dispatchedpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions