Files
backstage/.changeset/shiny-zoos-film.md
T
Patrik Oldsberg 5add8e1aec signals: add SignalsDisplay to simplify installation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-25 16:38:58 +02:00

489 B

@backstage/plugin-signals
@backstage/plugin-signals
patch

Added a SignalsDisplay extension to allows the signals plugin to be installed in an app as follows:

export default app.createRoot(
  <>
    <AlertDisplay transientTimeoutMs={2500} />
    <OAuthRequestDialog />
    <SignalsDisplay />
    <AppRouter>
      <VisitListener />
      <Root>{routes}</Root>
    </AppRouter>
  </>,
);

With this in place you can remove the explicit installation via the plugins option for createApp.