feat(12.1-01): declared bulk actions on admin lists

- pact.HasAdminBulkActions with AdminBulkAction, its input and result
- config_list.yaml bulkActions, compiled fail-loud, needs showCheckboxes
- POST .../{controller}/bulk/{action}: ids resolved and locked through the
  list scope in one transaction; partial selection is 409
- list schema offers declared actions per principal, with confirm text
- admin SPA bulk actions menu with confirm, busy state and failure toasts
- acme.roster fixture, tracer test, OpenAPI, TS types, dist, READMEs, docs
This commit is contained in:
Jakub Zych
2026-10-04 23:28:30 +02:00
parent ca9e9c0557
commit a879d6388c
45 changed files with 2007 additions and 38 deletions

View File

@@ -51,6 +51,13 @@ list:
filter_from: From
filter_to: To
pagination: Pagination
bulk_actions: Bulk actions
bulk_confirm: "Run “:action” on the selected (:count)?"
bulk_done:
one: "Action completed for :count record."
other: "Action completed for :count records."
bulk_stale: Some of the selected records are no longer available. The list has been refreshed; select the records again.
action_forbidden: You do not have permission to run this action.
form:
save: Save
save_and_close: Save and close