Repository navigation
Release v4.21.0
A screen now records where it sits in the application hierarchy, a navigation item records the hierarchy it was declared in, and the core package renders the toolbars a document authors - so a host can lay out and run the modeled application instead of a flat list of screens.
Added
Screen.path(Screen.Pathin .NET): the modules and features, outermost first, a screen was declared in. A destination'smodule/featureidentity resolves against it and a host can group an unlisted screen by it. (part of #74)NavigationItem.hierarchy(NavigationItem.Hierarchyin .NET): the modules and features a navigation contribution was declared in. (part of #74)core:toolbarandcore:toolbarItemin thecorepackage. AnActionitem announces its command with its parameters resolved;NavigateandDialogitems execute their destination through the Scene navigation host (a screen in an outlet, a dialog) and are announced withcratis.scene.navigateoutside one.presentationis honoured:modeisicon,textorboth, and every hint is exposed asdata-scene-presentation-<name>. See the application hierarchy and toolbars. (part of #74)
Changed
extractNavigationItemreads the whole authored item -id,icon,presentation,destinationandhierarchy- instead of only the label, target, order and group. (part of #74)