Skip to content

review follow-ups of PR #37809: related-list bulk delete still reports counts only; view-declared delete bulk action unmeasured #37816

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (review follow-ups, one card per PR; the first item is a named location) · Source: fleet (PR #37809 body, "Not in this PR", adopted at ACCEPT)

What happens

PR #37809 (Fixes #37758) makes the list's built-in bulk Delete say why records were refused. Each distinct reason gets one line, led by the names of the records it refused. Two neighbours were left:

Category ①: the same user-visible gap on two neighbouring surfaces.
Priority: p3. The list surface, the common one, is fixed. These are the remaining paths.
Business reason: a user whose related-list delete is refused cannot tell which records were refused or why.
Reader: the ux list/record/shell area (seat 2, s2-ux-L).
Dedupe: searched open issues for "PR #37809" and bulkDeleteOutcome: 0 hits.
Related: #37758, PR #37809.

Grade

area:ux · Bug · minor · reach: read (first item) / unmeasured (second item) → p3

Activity

  1. added
    bug
    pm:queue
    domain:ui
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:queue · size S; rationale: review follow-ups of PR #37809. Related-list bulk delete still reports counts only, without the reasons. User-facing, so UX has no p3: p2 (filed p3).

  3. added
    priority:p2
    and removed on Nov 27, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgUuauSMJu1nVSQRQri

    Claim: PM loop · 2026-11-27T05:5xZ
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgUuauSMJu1nVSQRQri
    Account: os-sales
    Branch: claude/project-thread-th9squ (the area's one branch; pushed after #37824 merges, serially)
    Domain: domain:ui
    Seat: repo:objectstack#2
    Area: s2-ux-L (first of the two cards the seat gave at 05:2xZ; #37718 follows)
    Scope: item 1 only needs code. Item 2 is measured below and gets a pin, no fix.
    File surface:

    • ui/packages/core/src/actions/recordDelete.ts: the grouping rule behind refusalSummary is exported as lines, so the related list reuses it instead of copying it
    • ui/packages/plugin-detail/src/RelatedList.tsx: the bulk delete's outcome keeps each refused row's reason (batch path: the ids the data source names; a batch call that throws: its error for every row; row by row: each rejection) and lists the grouped lines under the count
    • ui/packages/plugin-detail/src/useDetailTranslation.ts: the two line keys in the plugin's fallback table
    • tests: a pin for both paths, a CONTROL batch with no reasons (bare count), the measurement pin for item 2; one changeset
      Container & model: S, mode:thread, model: default — no path-derived mandate, effort: medium
      Clause-②: no
      Metadata-protocol: none
      Skills-docs: none
      Responsibility: objectui related list bulk delete (outcome state keeps counts only; the batch call's named errors and each row rejection are dropped) | none | users deleting several related records from a record page; reachable today
      Thread-read: none
      Prior rulings read: none
      Premise: item 1 holds. On origin/main c826e8a, handleConfirmBulkDelete keeps { succeeded, failed } only; RelatedList.tab-35892.test.tsx pins 2 deleted, 1 failed for a batch answer that names q3 with reason refused, so the reason is dropped. Item 2 does not hold: a view-declared bulkActionDefs[].operation: 'delete' does not go through recordDelete; it runs in BulkActionDialog through useBulkExecutor/executeBulkBatch, whose result panel lists every refused record by title with its own reason (userMessage ?? error). Measured on the real ObjectGrid in a new pin (batch path with named errors, and row by row): both pass on main unchanged.
      Serial constraints cleared: overlap-check before the first push
      L2: not owed by path (no packages/spec/src, no Clause-②, no protocol change); the seat decides at L1
  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 27, 2026
  6. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Landed · 2026-11-27T07:10Z

    PR #37836 merged at 2026-11-27T07:05Z and closed this card. pm:dispatched is cleared. Item 2's premise did not hold and is pinned by a test, with no code change. No follow-ups.

  7. removed
    pm:dispatched
    on Nov 27, 2026
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