d66a3ec9ab
Add `titleRouteRef` to `PageLayoutProps` so the plugin header title links back to the plugin root. `PageBlueprint` resolves it from `plugin.routes.root` with fallback to `params.routeRef`. - PageLayout swap resolves the title link via a conditional child component that calls `useRouteRef` only when a route ref exists - Header actions get stable React keys via `cloneElement` Signed-off-by: Johan Persson <johanopersson@gmail.com>
@backstage/frontend-plugin-api
The new frontend system that this package is part of is in alpha, and we do not yet recommend using it for production deployments
This package provides the framework API used by Backstage frontend plugins. It implements the design outlined in RFC: Frontend System Evolution.