Repository navigation
Release v4.46.4
The VS Code board now draws everything a model says about who uses it and what its automations, translations and read models do, and can be explored the way Studio's board can.
Added
- Each persona gets its own row on the board, with its description shown when hovering its name. A slice's screens are drawn in the rows of the personas whose policies satisfy the slice's
authorizegates. A screen nothing gates, or that no persona may use, stays with the generic user. - Clicking a prototype thumbnail opens it full size, and hovering a slice's name says what type of slice it is.
- The TypeScript compiler (
@cratis/screenplay-compiler) reads personas,authorizeon modules, features, commands and queries, captures, the events a reaction trigger produces and the commands it invokes, and projection mappings and automap settings. It reports the same diagnostics as the C# compiler.
Fixed
- Slices, features and modules collapse and expand on the board again, with a normal pointer instead of the drag hand.
- The lines view draws the lines between a slice's artifacts.
- Automation slices show their cogwheel, trigger, the events they produce and the command they invoke, instead of nothing. Only automations and translations show a cogwheel.
- Translation slices show the system their capture reads from and every event it appends, including from children and nested objects.
- A read model with no
readmodeldeclaration gets the properties its projection sets: automapped event properties, mapped properties, counters, children and nested objects.