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:
7
modules/cabana/testdata/roster/models/person/columns.yaml
vendored
Normal file
7
modules/cabana/testdata/roster/models/person/columns.yaml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
columns:
|
||||
name:
|
||||
label: acme.roster::lang.people.name
|
||||
searchable: true
|
||||
email:
|
||||
label: acme.roster::lang.people.email
|
||||
searchable: true
|
||||
9
modules/cabana/testdata/roster/models/person/fields.yaml
vendored
Normal file
9
modules/cabana/testdata/roster/models/person/fields.yaml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
fields:
|
||||
name:
|
||||
label: acme.roster::lang.people.name
|
||||
type: text
|
||||
span: left
|
||||
email:
|
||||
label: acme.roster::lang.people.email
|
||||
type: text
|
||||
span: right
|
||||
Reference in New Issue
Block a user