Repository navigation
Release v4.14.0
Scene's navigation host now works with the browser history, the default blueprint previews its templates through the real packages in populated, empty, loading and error states, and one custom package set is proven to render identically in the embedded and standalone hosts.
Added
SceneNavigationHostrecords every navigation as a history entry. WithcreateBrowserSceneHistory(window, basePath), route overrides and their parameters reach the address bar, deep links open the matching screen with its parameters, a refresh restores the entry, and the browser's back and forward buttons step through screens.createMemorySceneHistorygives embedded hosts the same behavior. See Navigation diagnostics. (part of #74)- Dialog destinations open as their own history entry.
closeDialog(result)returns to the screen that opened the dialog and exposes the result asdialogResult, and the browser's back button also closes the dialog. (part of #74) matchSceneRouteandsceneRoutesFrommatch a URL to a screen route, capturing{name}path segments and query parameters; a URL that matches nothing is reported asunresolvedUrl. (part of #74)- A
MasterDetailscreen template in@cratis/scene.blueprint.default: a list beside the selected record, with a detail outlet that acceptsDetailscreens, stacking at a compact width. (part of #73) GalleryScreenPreviewtakes astate(populated,empty,loadingorerror), applied byapplyTemplatePreviewStateto data-bearing elements only, so a template can be previewed in each data state. (part of #73)- The PrimeReact
dataTableacceptsloadinganderror: it announces a loading status or an error alert in place of its rows and keeps its column headers. (part of #73) - A pattern-to-template coverage matrix compares the MUI Store, Creative Tim, React Themes and ThemeForest business patterns with the templates that implement each, with priorities and deferred patterns: Business pattern coverage. (part of #73)
Changed
- The PrimeReact text, textarea, password, number, date, dropdown and checkbox components use
ariaLabelas the control's accessible name, and every form field in the default blueprint's templates is named by its label. (part of #73) - The default blueprint's tables now pass their records as
rowswith anemptyMessage, so they show their data when rendered with PrimeReact. (part of #73)