You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
A Screenplay table (core:table) draws a row for each row its host supplies for the read model it shows (typeName), and a summary (core:summary) draws the first row's value beside each field's label. A host supplies rows as query results keyed by the read model's name; with none supplied the table still draws only its headings, as before, so a running application whose host binds data its own way is unchanged.
The preview host gives each read model a Screenplay screen shows (the typeName of its data, table and summary elements) the rows of that read model from the sample data pack in effect - a pack's shapes are the rows of a read model by its name - and gives the query a data element names (core:dataquery) the same rows. A preview of the Acme Commerce screens now lists the sample products, orders and shipments instead of "Nothing here yet" over bare column headings. (collectTypeNames is exported beside collectQueryNames.)
Fixed
Lists and details of imported Screenplay screens showed only their column headings and labels in the Studio preview although the application's sample data pack held rows for the read model. (Cratis/StudioIssues#895)