@cratis/pi 7.138.0 → 7.139.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/corpus/hooks/README.md +14 -4
- package/package/corpus/hooks/scripts/cratis-guard-shell-writes.sh +24 -6
- package/package/corpus/hooks/scripts/cratis-guard-writes.sh +48 -14
- package/package/corpus/skills/cratis-application-slice-conformance/references/worked-example.md +2 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +2 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/statemachines-and-workflows.md +12 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +2 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +2 -0
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +4 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +2 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/constraints-produces-concurrency.md +2 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/date-comparisons.md +2 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/described-handlers.md +2 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +2 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +2 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/operations.md +2 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +2 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/protected-reads.md +2 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +4 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/uuid-equality.md +6 -0
- package/package/corpus/skills/cratis-screenplay-discovery/references/event-naming.md +2 -0
- package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +2 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/invoicing-example.md +2 -0
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/intent-example.md +4 -0
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/re-entry-and-passes.md +4 -0
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +2 -0
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +2 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +28 -25
- package/package/corpus/skills/cratis-screenplay-model-review/references/walkthrough.md +2 -0
- package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +8 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +5 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/version-migration.md +50 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +2 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/verification.json +2 -0
- package/package/corpus/skills/cratis-screenplay-projections/references/reducer-identity.md +4 -0
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +5 -4
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +2 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/berth-reservations.md +6 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +7 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +9 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +8 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/references/command-inventory.md +2 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +2 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/references/model-reasoning.md +2 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +2 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +2 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +2 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +2 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/persona-callers-and-cases.md +2 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +2 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/whitespace-rules.md +4 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/worked-example.md +2 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +6 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +2 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +8 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +1 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/automation-translate-example.md +2 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/cheat-sheet-example.md +6 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostic-arguments.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-example.md +2 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +4 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generation-strategies-example.md +4 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/language-admission.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +16 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/production-routes-and-filters.md +2 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +6993 -2979
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/sources-and-streams.md +2 -0
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +55 -70
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/action-subjects.md +4 -1
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/application-shell.md +304 -136
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +46 -31
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/ui-profile-and-theme.md +2 -2
- package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +9 -9
- package/package/corpus/skills/cratis-specification-by-example/SKILL.md +2 -0
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/case-tables-and-whole-numbers.md +4 -0
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +4 -0
- package/package.json +1 -1
package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6.0.0
|
|
@@ -28,7 +28,7 @@ Markdown in project documentation; `.play` is the single flow model.
|
|
|
28
28
|
## Product sources
|
|
29
29
|
|
|
30
30
|
Tool versions: toolchain `SKILL.md`. UI statements come from Screenplay
|
|
31
|
-
`screens.md`, `contributions.md`, `navigation.md`, `sample-data.md`, `forms.md`, `templates.md`, `ui-profile.md`,
|
|
31
|
+
`screens.md`, `outlets.md`, `contributions.md`, `navigation.md`, `sample-data.md`, `forms.md`, `templates.md`, `ui-profile.md`,
|
|
32
32
|
`fixtures/screen-release-ui.play`, `layout-arrangement.md`, `interactions.md`, `theme.md`,
|
|
33
33
|
`internationalization.md` and `file-references.md` under `Documentation/screenplay/`. Scene
|
|
34
34
|
runtime sources: scaffold Scene tag, `Source/JavaScript/**`. See
|
|
@@ -41,7 +41,7 @@ information `PLAY0269`: it never blocks binding, and it is not evidence that a
|
|
|
41
41
|
target renders it.
|
|
42
42
|
|
|
43
43
|
The screens-release surface adds component data-context bindings,
|
|
44
|
-
exposed template configuration, package/icon catalogs, manual form columns, hierarchical
|
|
44
|
+
exposed template configuration, package/icon catalogs, manual form columns, hierarchical slots,
|
|
45
45
|
routes, toolbars and dialog destinations, each with a separate support level
|
|
46
46
|
(authoring accepted, executable admitted, runtime implemented). Discover the
|
|
47
47
|
installed shape through MCP `syntax-schema`; details:
|
|
@@ -90,10 +90,12 @@ A complete example:
|
|
|
90
90
|
layout AppShell
|
|
91
91
|
category application
|
|
92
92
|
topbar
|
|
93
|
-
navigation
|
|
94
|
-
content
|
|
93
|
+
navigation panel
|
|
94
|
+
content page routed primary
|
|
95
95
|
footer
|
|
96
96
|
|
|
97
|
+
outlet Navigation of navigation in navigation
|
|
98
|
+
|
|
97
99
|
arrangement flow
|
|
98
100
|
column
|
|
99
101
|
topbar height 56
|
|
@@ -103,8 +105,13 @@ layout AppShell
|
|
|
103
105
|
footer height 32
|
|
104
106
|
```
|
|
105
107
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
+
Requires Screenplay 6.0 or later; migrate a Screenplay 5 model first (`cratis-screenplay-modeling-lifecycle`).
|
|
109
|
+
|
|
110
|
+
A **slot** is a region content is placed in: each plain line, optionally followed by a role (`page`, `pane`,
|
|
111
|
+
`panel`), `routed [by <param>]`, `primary` and `optional`, in that order. An **outlet** is a list of items the
|
|
112
|
+
layout or a template offers: `outlet <name> of actions|filters|tabs|stats|navigation [for item|for screen] [in <slot>]`.
|
|
113
|
+
The Screenplay 5 forms (a region `outlet`, `destination outlet`, `contributes`, `navigation topbar|sidebar`, a
|
|
114
|
+
feature or module `toolbar`) are errors `PLAY0890`-`PLAY0896` that name the migration.
|
|
108
115
|
|
|
109
116
|
## `arrangement` — responsive `flow` or pixel-precise `freeform`
|
|
110
117
|
|
|
@@ -125,14 +132,18 @@ screen template MasterDetail
|
|
|
125
132
|
main grow
|
|
126
133
|
|
|
127
134
|
dialog template RegisterInvoiceDialog
|
|
135
|
+
category Dialog
|
|
128
136
|
body
|
|
129
|
-
|
|
137
|
+
footer
|
|
138
|
+
outlet actions of actions in footer
|
|
139
|
+
default cancel title "Cancel" runs close
|
|
140
|
+
default register title "Register" emphasis primary runs submit
|
|
130
141
|
```
|
|
131
142
|
|
|
132
143
|
`fits slot <name>` says which slot of its parent the template fills. **A dialog
|
|
133
144
|
template is a screen template in everything but one respect: it declares no
|
|
134
145
|
`fits slot`, because a dialog occupies no slot of the structure it opens over** —
|
|
135
|
-
writing one is an error.
|
|
146
|
+
writing one is an error. Its buttons are an actions outlet (`runs close|submit` need no slice).
|
|
136
147
|
|
|
137
148
|
A screen fills a template by naming it and providing slot bodies; a dialog is
|
|
138
149
|
filled exactly the same way, because from the screen's side there is no
|
|
@@ -149,6 +160,8 @@ form RegisterInvoiceForm for RegisterInvoice
|
|
|
149
160
|
field invoiceNumber label "Invoice #"
|
|
150
161
|
field customerId from item
|
|
151
162
|
field total compose using TotalCalculator
|
|
163
|
+
field category
|
|
164
|
+
choose from query AllCategories show name
|
|
152
165
|
on submit navigate to InvoiceList
|
|
153
166
|
```
|
|
154
167
|
|
|
@@ -156,6 +169,8 @@ form RegisterInvoiceForm for RegisterInvoice
|
|
|
156
169
|
`populate from item`.
|
|
157
170
|
- `field <property>` takes at most one of `from <source>` or `compose using
|
|
158
171
|
<Callback>`, plus an optional `label`.
|
|
172
|
+
- `choose from query <Query> show <field>` makes a field a picker over a list query's rows (`PLAY0913`).
|
|
173
|
+
A field whose concept keys one list query's read model is a picker without it.
|
|
159
174
|
- At most one `on submit navigate to <Screen> [by <param>]`, the one-line form.
|
|
160
175
|
Any other `on` in a form body is a behavior attached to the form.
|
|
161
176
|
|
|
@@ -164,75 +179,44 @@ directive tree the way a `table` or `summary` does — it is found by its
|
|
|
164
179
|
`for <Command>` binding wherever that command is invoked. A form sits at module
|
|
165
180
|
level, so it disambiguates by module rather than by feature or slice.
|
|
166
181
|
|
|
167
|
-
##
|
|
168
|
-
|
|
169
|
-
Excerpt, inside a `module` or `feature`; `Navigation` is the contribution point
|
|
170
|
-
the layout above declares.
|
|
171
|
-
|
|
172
|
-
```screenplay excerpt
|
|
173
|
-
contribute to Navigation
|
|
174
|
-
navigate to InvoiceList
|
|
175
|
-
label "Invoices"
|
|
176
|
-
order 20
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
All three directives are optional and appear at most once each.
|
|
182
|
+
## The application shell: slots, outlets, hooks, blueprint references, sample data
|
|
180
183
|
|
|
181
|
-
|
|
182
|
-
`
|
|
183
|
-
outward to the nearest enclosing structure that declares a matching point. Three
|
|
184
|
-
tiers exist — application-wide (the layout declares the point), cross-module, and
|
|
185
|
-
module-level.
|
|
184
|
+
This covers navigation outlets (topbar/sidebar, inherit/extend/override), outlets of actions, filters, tabs and stats,
|
|
185
|
+
`contribute to`, hooks and placement, alongside blueprint references and sample data.
|
|
186
186
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
⚠️ A navigation contribution also carries `id`, `icon`, `presentation`, `group` and
|
|
191
|
-
`destination outlet <name> | dialog <DialogTemplate> | external "<route>"`; its `navigate to` takes
|
|
192
|
-
`route`, `outlet` and `parameter` lines, and an undeclared outlet or dialog target is `PLAY0654`
|
|
193
|
-
(`contributions.md`).
|
|
194
|
-
|
|
195
|
-
Requires Screenplay 4.133.0 or later (`screenplay --version`) for `PLAY0654` on an undeclared outlet or dialog target.
|
|
196
|
-
|
|
197
|
-
An explicit override for when nearest-enclosing is not the point you mean is
|
|
198
|
-
not in the language. The screens-release vector
|
|
199
|
-
(canonical `ScreenComposition` corpus v1) adds typed screen composition; a
|
|
200
|
-
renderer that admits it renders it and passes the browser run. Report a refused form as a
|
|
201
|
-
capability gap, never a flat-list fallback; Studio production proof is separate.
|
|
202
|
-
|
|
203
|
-
## The application shell: regions, slice buttons, blueprint references, sample data
|
|
204
|
-
|
|
205
|
-
This covers application navigation regions (topbar/sidebar, module inherit/extend/override)
|
|
206
|
-
and toolbar slice buttons alongside blueprint references and sample data.
|
|
207
|
-
|
|
208
|
-
The shell's navigation is declared in the `layout` (`navigation topbar` / `navigation sidebar`, with `logo` and nested
|
|
209
|
-
`item` lines) and each `module` states how it relates to a region: **inherit** (the default), **extend** (the
|
|
210
|
-
application's items plus its own) or **override** (its own only). Toolbars gain `button <id> title "<text>" slice
|
|
211
|
-
<Module>.<Feature>.<Slice>`, which opens a **State Change** slice as a dialog (a State View or Automation slice is
|
|
212
|
-
`PLAY0762`). A screen takes a template from a blueprint with `template blueprint <Blueprint> <Name> version "<range>"`,
|
|
213
|
-
and the `ui profile` selects the one active sample data pack (design and preview only, never in production).
|
|
187
|
+
The layout declares its navigation outlets with `default` items and one `logo`; a module, feature or screen
|
|
188
|
+
**inherits** an outlet (the default), **extends** it (inherited items, then its own) or **overrides** it (its own only).
|
|
214
189
|
|
|
215
190
|
```screenplay
|
|
216
191
|
layout AppShell
|
|
217
192
|
category application
|
|
218
|
-
content
|
|
193
|
+
content page routed primary
|
|
219
194
|
|
|
220
|
-
|
|
221
|
-
|
|
195
|
+
outlet sidebar of navigation
|
|
196
|
+
default sales title "Sales" target Sales
|
|
222
197
|
item orders title "Orders" target Sales.Orders
|
|
223
198
|
|
|
224
199
|
module Sales
|
|
225
|
-
|
|
200
|
+
outlet sidebar extends
|
|
226
201
|
item customers title "Customers" target Sales.Customers
|
|
227
202
|
|
|
228
203
|
feature Orders
|
|
229
204
|
feature Customers
|
|
230
205
|
```
|
|
231
206
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
207
|
+
- `contribute to <outlet>` adds an entry from any module or feature, next to the screens it belongs to
|
|
208
|
+
(`navigate to <Screen> [by <param>]`, `label`, `order`, `destination slot|dialog|external`, or item lines of the
|
|
209
|
+
outlet's kind). `by <param>` is a typed binding, never string interpolation.
|
|
210
|
+
- **Placement.** The template offers places, the slice says which it fits, the hook picks one. A slice's screen lists
|
|
211
|
+
its fits in order of preference (`fits dialog, drawer, pane`). A **hook** - a `button` naming a State Change `slice` -
|
|
212
|
+
opens it in its first fit the page has free; write `opens dialog|drawer|in slot <name>` only when this hook needs
|
|
213
|
+
another place. `runs` issues the command without a form.
|
|
214
|
+
- `show <Screen> by <param> from <element>.selection` in a template slot shows another screen for the selected row.
|
|
215
|
+
|
|
216
|
+
Read [references/application-shell.md](references/application-shell.md) before writing any of it: slot roles, outlet
|
|
217
|
+
kinds and modes, `hide`/`before`/`after`, contribution resolution, the module-only target rule (`PLAY0750`), hooks
|
|
218
|
+
(`runs`, `opens`, `for item|for screen`, `enabled when`, `confirm`), `fits` and `show`, blueprint ranges, sample data,
|
|
219
|
+
MCP editing and the review checklist.
|
|
236
220
|
|
|
237
221
|
## Interactions — what a click does
|
|
238
222
|
|
|
@@ -294,21 +278,21 @@ A `ui profile` selects the application shell with `root template` (an own layout
|
|
|
294
278
|
Symptom: a rendered app titled "Cratis Stage" whose buttons and dialogs show raw command names. The renderer
|
|
295
279
|
defaults to those when the model is silent, so declare, in every deliverable app:
|
|
296
280
|
|
|
297
|
-
- the layout's `logo image "<path>" title "<text>"` inside
|
|
281
|
+
- the layout's `logo image "<path>" title "<text>"` inside a navigation outlet (the
|
|
298
282
|
application title the shell shows; `logo initials` is only valid in a profile's `identity`);
|
|
299
283
|
- a `ui profile` with `root template`, shell `option` lines such as `option showFooter false`, and an `identity`
|
|
300
284
|
block (`name`, `logo initials`);
|
|
301
|
-
- a `title "<text>"` in each screen and a navigation
|
|
285
|
+
- a `title "<text>"` in each screen and a navigation item `<id> title "<text>" target <Module.Feature>` per screen;
|
|
302
286
|
- `label "<text>"` on **every** `action`.
|
|
303
287
|
|
|
304
288
|
```screenplay excerpt
|
|
305
289
|
layout AppShell
|
|
306
290
|
category application
|
|
307
|
-
content
|
|
291
|
+
content page routed primary
|
|
308
292
|
|
|
309
|
-
|
|
293
|
+
outlet sidebar of navigation
|
|
310
294
|
logo image "/assets/solocrm.svg" title "SoloCRM"
|
|
311
|
-
|
|
295
|
+
default organizations title "Organizations" target Crm.Organizations
|
|
312
296
|
|
|
313
297
|
ui profile Desktop
|
|
314
298
|
target platform web
|
|
@@ -343,8 +327,9 @@ Localized text lives in companion `.strings` files and is referenced unquoted as
|
|
|
343
327
|
`SKILL.md`).
|
|
344
328
|
- [ ] Every screen in the flow has Level 1 reviewed before any layout, and every
|
|
345
329
|
form field and screen field traces to a command or read-model property.
|
|
346
|
-
- [ ] Every
|
|
347
|
-
|
|
330
|
+
- [ ] Every outlet a `contribute to` or an `outlet <name> extends` names is declared by a layout or template;
|
|
331
|
+
no Screenplay 5 form (`navigation topbar|sidebar`, `contributes`, feature `toolbar`, region `outlet`) remains.
|
|
332
|
+
- [ ] Every State Change screen says what it `fits`; a hook names a place only when the automatic choice is wrong.
|
|
348
333
|
- [ ] No `dialog template` declares `fits slot`.
|
|
349
334
|
- [ ] Each `ui profile` names its shell with `root template`, not the legacy `layout` line (`PLAY0791`); a blueprint shell is listed under `packages` and its `version` pin is deliberate.
|
|
350
335
|
- [ ] `packages` are ordered deliberately — later shadows earlier.
|
|
@@ -357,8 +342,8 @@ Localized text lives in companion `.strings` files and is referenced unquoted as
|
|
|
357
342
|
- [ ] No `file` reference is doing work the declaration should be doing.
|
|
358
343
|
- [ ] Every click, submit and screen entry that does something has an `on` or
|
|
359
344
|
`uses`; continuations sit only on actions that can fail.
|
|
360
|
-
- [ ] Navigation
|
|
361
|
-
- [ ] Component bindings, exposed template values, manual form columns, toolbar items,
|
|
345
|
+
- [ ] Navigation outlets, hooks, blueprint references and sample data follow `references/application-shell.md`: each level's outlet mode is deliberate, no module item targets another module, every hook names a State Change slice, buttons shared by a feature's screens extend the template's actions outlet once (`confirm` on destructive ones), every template has a `category`, and the active sample data pack is chosen once in the `ui profile`.
|
|
346
|
+
- [ ] Component bindings, exposed template values, manual form columns, toolbar items, outlet items and routes all trace to typed data; no runtime fallback counts as delivery. Report authoring acceptance, executable admission and runtime
|
|
362
347
|
implementation separately.
|
|
363
348
|
|
|
364
349
|
## Route near misses
|
package/package/corpus/skills/cratis-screenplay-ui-composition/references/action-subjects.md
CHANGED
|
@@ -12,7 +12,10 @@ A plain or toolbar `action` states whether it acts on one chosen record or on th
|
|
|
12
12
|
create something or that the user fills in through the form.
|
|
13
13
|
|
|
14
14
|
The clause follows the command name, before an inline `label`. Only action toolbar items
|
|
15
|
-
accept it.
|
|
15
|
+
accept it. A hook (an outlet or toolbar `button` naming a State Change `slice`) takes the same
|
|
16
|
+
`for item` or `for screen` part on its line, and an actions outlet can set it for every button
|
|
17
|
+
(`outlet rowActions of actions for item`); a hook's `enabled when` that reads `item` while it
|
|
18
|
+
acts `for screen` is `PLAY0915` (Requires Screenplay 6.0 or later).
|
|
16
19
|
|
|
17
20
|
```screenplay
|
|
18
21
|
concept TaskId : Uuid
|