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

@@ -55,6 +55,15 @@ list:
filter_from: Od
filter_to: Do
pagination: Stronicowanie
bulk_actions: Działania masowe
bulk_confirm: "Wykonać „:action” na zaznaczonych (:count)?"
bulk_done:
one: "Wykonano akcję dla :count rekordu."
few: "Wykonano akcję dla :count rekordów."
many: "Wykonano akcję dla :count rekordów."
other: "Wykonano akcję dla :count rekordów."
bulk_stale: Część zaznaczonych rekordów nie jest już dostępna. Lista została odświeżona; zaznacz rekordy ponownie.
action_forbidden: Nie masz uprawnień do wykonania tej akcji.
form:
save: Zapisz
save_and_close: Zapisz i zamknij