Repository navigation
Release v4.35.0
Stage runs the same ApplicationHost the preview does (Cratis/Stage#407), but it needs its data, its command dispatcher and its chrome state around both the screen and the dialogs, and its own backdrop and keyboard handling around a dialog template. Neither was possible without re-implementing the host.
Added
ApplicationHost.scope(navigation, children): what a host provides around everything that renders - the screen on the page and the dialog over it - inside the navigation providers.ApplicationHost.renderDialogTemplate(template, content, navigation): the host draws a dialog template the document declares, in place of the plain one; called insidescope.- What a host draws through
renderScreenandrenderDialogTemplateruns as part of the application, so a hook it uses runs under the providersscopeput in place.
Part of #106