# @spotify/backstage-plugin-insights

## 0.12.3

### Patch Changes

- Surveys are now only checked for once the user has signed in, and the hourly check for new surveys stops when Backstage unloads the survey prompt instead of continuing in the background.
- Node.js and TypeScript version ranges updated to match core Backstage: the plugin bundle is now built with Node.js 24 or 26 and TypeScript 5.9.
- Updated dependency `backstage` to `1.57.0`.
- Type-level fixes for compatibility with TypeScript 5.9 (no runtime behavior changes), plus a Node.js version update in a soundcheck-common documentation example.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.24
  - @spotify/backstage-plugin-analytics-module-insights@0.10.14
  - @spotify/backstage-plugin-insights-common@0.5.3
  - @spotify/backstage-plugin-insights-react@0.3.1

## 0.12.2

### Patch Changes

- The user group filter now shows group display names instead of raw entity refs, and truncated names can be seen in full on hover.
- An "Origin" filter is now visible in the Usage tab when multiple origins are detected.
- Updated dependency `backstage` to `1.56.1`.
- Updated dependencies
  - @spotify/backstage-plugin-insights-react@0.3.0
  - @spotify/backstage-plugin-analytics-module-insights@0.10.13
  - @spotify/backstage-plugin-core@0.8.23
  - @spotify/backstage-plugin-insights-common@0.5.2

## 0.12.1

### Patch Changes

- Updated dependency `backstage` to `1.55.0`.
- Updated dependencies
  - @spotify/backstage-plugin-analytics-module-insights@0.10.12
  - @spotify/backstage-plugin-core@0.8.22
  - @spotify/backstage-plugin-insights-common@0.5.1
  - @spotify/backstage-plugin-insights-react@0.2.7

## 0.12.0

### Minor Changes

- Added a permanently dismissable option for feedback surveys. When enabled, closing a survey pop-up permanently hides it for the respondent. The option is editable while a survey is live and defaults to enabled for all surveys.

### Patch Changes

- Updated dependency `backstage` to `1.54.0`.
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.5.0
  - @spotify/backstage-plugin-analytics-module-insights@0.10.11
  - @spotify/backstage-plugin-core@0.8.21
  - @spotify/backstage-plugin-insights-react@0.2.6

## 0.11.1

### Patch Changes

- Tooltip positioning in chart
- Fixed Users dashboard trend chart to display active user count instead of event count.
- Updated dependency `backstage` to `1.53.0`.
- Visual updates to the usage dashboards
- Fixed incorrect unit label in the Explore usage table — value columns now display event counts instead of the grouping dimension name.
- Updated dependencies
  - @spotify/backstage-plugin-analytics-module-insights@0.10.10
  - @spotify/backstage-plugin-core@0.8.20
  - @spotify/backstage-plugin-insights-common@0.4.21
  - @spotify/backstage-plugin-insights-react@0.2.5

## 0.11.0

### Minor Changes

- Improved visual design across usage dashboards.
  Added support for filtering usage data by origin.
  Improved accessibility of usage page dashboards.

## 0.10.0

### Minor Changes

- Add support for a new Insights usage card type: Donut Charts.

### Patch Changes

- Add support for a new Insights usage card type: KPI Charts
- Updated dependency `backstage` to `1.52.0`.
- Updated dependencies
  - @spotify/backstage-plugin-analytics-module-insights@0.10.9
  - @spotify/backstage-plugin-core@0.8.19
  - @spotify/backstage-plugin-insights-common@0.4.20
  - @spotify/backstage-plugin-insights-react@0.2.4

## 0.9.3

### Patch Changes

- Updated plugins for compatibility with Backstage v1.51.0. Migrated from removed `NavItemBlueprint` to `PageBlueprint` params for nav item discovery, and updated `PermissionPolicy.handle()` to accept the new `PolicyQueryUser` type.
- Update API reports
- Updated dependencies
  - @spotify/backstage-plugin-analytics-module-insights@0.10.8
  - @spotify/backstage-plugin-core@0.8.18
  - @spotify/backstage-plugin-insights-common@0.4.19
  - @spotify/backstage-plugin-insights-react@0.2.3

## 0.9.2

### Patch Changes

- Changes supporting experimental features
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.4.18
  - @spotify/backstage-plugin-insights-react@0.2.2

## 0.9.1

### Patch Changes

- Updated dependency `backstage` to `1.50.0`.
- Updated dependencies
  - @spotify/backstage-plugin-analytics-module-insights@0.10.7
  - @spotify/backstage-plugin-core@0.8.17
  - @spotify/backstage-plugin-insights-common@0.4.17
  - @spotify/backstage-plugin-insights-react@0.2.1

## 0.9.0

### Minor Changes

- **BREAKING New Frontend System**: If you were previously using Backstage New Frontend System features to configure Insights tabs, you will need to update any extension configurations targeting those extensions to reference the `sub-page` kind (e.g. `backstage-insights-content:backstage-insights/headlines` -> `sub-page:backstage-insights/headlines`).

  If you are not yet using the New Frontend System and/or have not configured Insights plugin tabs, no action is necessary.

### Patch Changes

- Updated dependency `backstage` to `1.49.0`.
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-insights-react@0.2.0
  - @spotify/backstage-plugin-analytics-module-insights@0.10.6
  - @spotify/backstage-plugin-core@0.8.16
  - @spotify/backstage-plugin-insights-common@0.4.16

## 0.8.6

### Patch Changes

- Added URL synchronization for Insights filters, allowing filter state (facets, date range, and dates) to persist in URL query parameters. Users can now share filtered views via URL and maintain filter state when navigating between segments.
- Updated dependency `backstage` to `1.48.0`.
- Updated dependencies
  - @spotify/backstage-plugin-analytics-module-insights@0.10.5
  - @spotify/backstage-plugin-core@0.8.15
  - @spotify/backstage-plugin-insights-common@0.4.15
  - @spotify/backstage-plugin-insights-react@0.1.6

## 0.8.5

### Patch Changes

- Updated dependency `backstage` to `1.47.0`.
- Updated dependencies
  - @spotify/backstage-plugin-analytics-module-insights@0.10.4
  - @spotify/backstage-plugin-core@0.8.14
  - @spotify/backstage-plugin-insights-common@0.4.14
  - @spotify/backstage-plugin-insights-react@0.1.5

## 0.8.4

### Patch Changes

- Updated dependency `backstage` to `1.46.0`.
- Updated dependencies
  - @spotify/backstage-plugin-analytics-module-insights@0.10.3
  - @spotify/backstage-plugin-core@0.8.13
  - @spotify/backstage-plugin-insights-common@0.4.13
  - @spotify/backstage-plugin-insights-react@0.1.4

## 0.8.3

### Patch Changes

- Truncates long filter labels to improve readability
- Updated dependency `backstage` to `1.45.0`.
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.12
  - @spotify/backstage-plugin-analytics-module-insights@0.10.2
  - @spotify/backstage-plugin-insights-common@0.4.12
  - @spotify/backstage-plugin-insights-react@0.1.3

## 0.8.2

### Patch Changes

- Fixed an issue where the export button was missing under certain circumstances.

## 0.8.1

### Patch Changes

- Fixed an issue where the plugin header icon was misaligned.

## 0.8.0

### Minor Changes

- This plugin now uses a more compact header style. Note: the [@backstage/ui](https://ui.backstage.io/install) package must be installed and available in your Backstage instance.

### Patch Changes

- Updated dependency `backstage` to `1.44.1`.
- Updated dependencies
  - @spotify/backstage-plugin-analytics-module-insights@0.10.1
  - @spotify/backstage-plugin-core@0.8.11
  - @spotify/backstage-plugin-insights-common@0.4.11
  - @spotify/backstage-plugin-insights-react@0.1.2

## 0.7.4

### Patch Changes

- Minor fixes and improvements.
- Added a `search.root` default target for the `searchPage` external route. This
  means it's no longer necessary to include a binding for this route in
  `bindRoutes` when setting up your Backstage frontend app, unless you want to
  override this binding to point at a different route.
- Improvements to Insights tabs in the new frontend system
- Updated dependencies
  - @spotify/backstage-plugin-insights-react@0.1.1

## 0.7.3

### Patch Changes

- The ability to configure the Backstage Insights plugin using keys under the `app.analytics.backstageInsights` object in app configuration is deprecated and will be removed in a future release. Please place your config directly under `backstageInsights` at the root of your config YAML.
- If you are using the New Backstage Frontend System, this plugin now provides the Analytics Implementation previously provided by `@spotify/backstage-plugin-analytics-module-insights`. Users of the new frontend system should uninstall `@spotify/backstage-plugin-analytics-module-insights` when upgrading.
- If you've annotated your Scaffolder Templates with the [`backstage.io/time-saved`](https://backstage.io/docs/features/software-catalog/descriptor-format/#metadataannotationsbackstageiotime-saved-optional) annotation, the Backstage Insights plugin will aggregate and display time savings metrics in the Headlines and Usage tabs.
- The ability to configure event collection via the Backstage proxy backend has been deprecated and will be removed in a future release. Please remove `backstageInsights.useProxy` or `app.analytics.backstageInsights.useProxy` from your app config.
- Introduces the ability to configure tabs on the Insights page using the new frontend system.
- Updated dependency `backstage` to `1.42.0`.
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.10
  - @spotify/backstage-plugin-analytics-module-insights@0.10.0
  - @spotify/backstage-plugin-insights-common@0.4.10
  - @spotify/backstage-plugin-insights-react@0.1.0

## 0.7.2

### Patch Changes

- Updated dependency `@react-spring/web` to `^10.0.0`.
- Updated dependency `backstage` to `1.41.1`.
- Updated dependencies
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.9
  - @spotify/backstage-plugin-insights-common@0.4.9

## 0.7.1

### Patch Changes

- Instrumented the Insights and RBAC plugins with additional analytics events.
- Instrumented the Insights plugin with additional events.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.8

## 0.7.0

### Minor Changes

- The ability to export raw data in CSV form is now in beta.

### Patch Changes

- Minor style updates to the filter UI.
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.4.8

## 0.6.0

### Minor Changes

- Fix issue with fetching catalog metadata for entities in trend tables
- It's now possible to explore arbitrary actions taken by users in Backstage,
  filtering and grouping them by plugin and/or action.

  This is now the "default" view of the "Usage" tab and can also be found by
  de-selecting a segment in the filter pane when viewing a particular segment.

- The deprecated `externalRoutes.searchPageRouteRef` route binding has now been removed.

### Patch Changes

- Fixed an issue where the `Users` segment wasn't rendering correctly in Firefox.
- Update to Backstage `v1.37.0`
- Links throughout the Insights UI now respect `ctrl` and `command` clicks where appropriate.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.7
  - @spotify/backstage-plugin-insights-common@0.4.7

## 0.5.8

### Patch Changes

- Update to Backstage `v1.36.0`
- In line with the open source Backstage framework, support for React 16 has been dropped.
- Fixed an issue where the input for survey locations was not being sanitized.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.6
  - @spotify/backstage-plugin-insights-common@0.4.6

## 0.5.7

### Patch Changes

- Package metadata cleanup.
- Updated dependency `@floating-ui/react` to `^0.27.0`.
- Update to Backstage `v1.35.0`
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.4.5
  - @spotify/backstage-plugin-core@0.8.5

## 0.5.6

### Patch Changes

- Update to Backstage `v1.34.0`
- Minor fixes and improvements
- Fixed an issue where the wrong title was shown for the bottom results in the usuage tab
- Fixed an issue where time series charts were producing warnings in the browser console.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.4
  - @spotify/backstage-plugin-insights-common@0.4.4

## 0.5.5

### Patch Changes

- Update to Backstage `v1.33.3`
- Updated dependencies
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.3
  - @spotify/backstage-plugin-insights-common@0.4.3

## 0.5.4

### Patch Changes

- Update to Backstage v1.32.0
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.2
  - @spotify/backstage-plugin-insights-common@0.4.2

## 0.5.3

### Patch Changes

- Fixes an issue on the users dashboard where changing the segmentation option from non entity data to entity data would throw an error

## 0.5.2

### Patch Changes

- Update to Backstage v1.31.1
- Minor fixes and improvements
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.1
  - @spotify/backstage-plugin-insights-common@0.4.1

## 0.5.1

### Patch Changes

- Fixed a bug that could sometimes prevent survey owners from validating that their survey was set up correctly.
- Fixed a bug that could cause survey ownership to inadvertantly change when editing live surveys.
- Fixed a bug that could cause some groups and users to be missing from the survey owner field when creating or editing a survey.

## 0.5.0

### Minor Changes

- Upgraded Backstage to `v1.30.3`.

### Patch Changes

- Add peerDependency on react-dom
- Fix an issue that prevented entity names from being displayed correctly when viewing user engagement data segmented by user group.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.8.0
  - @spotify/backstage-plugin-insights-common@0.4.0

## 0.4.1

### Patch Changes

- Upgraded Backstage to v1.29.1
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.3.1
  - @spotify/backstage-plugin-core@0.7.3

## 0.4.0

### Minor Changes

- Introducing **Feedback**, a way to get qualitative insights about your Backstage instance. Note that feedback is collected and stored in your database, so make sure you're providing the Insights backend with a database manager.

### Patch Changes

- Fixed a bad link in the user engagement headline card.
- The `externalRoutes.searchPageRouteRef` route binding is deprecated and will be removed in a future release. It's recommended that you update your `App.tsx` route binding to use `externalRoutes.searchPage` instead:

  ```diff
  const app = createApp({
    // ...
    bindRoutes({ bind }) {
      // ...
      bind(insightsPlugin.externalRoutes, {
  -     searchPageRouteRef: searchPlugin.routes.root,
  +     searchPage: searchPlugin.routes.root,
      });
    },
  });
  ```

- Fixes an issue where the names of entities are not being output correctly using the presentation API
- Added additional plugin metadata to `package.json`.
- Upgraded Backstage to v1.28.2
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.3.0
  - @spotify/backstage-plugin-core@0.7.2

## 0.3.0

### Minor Changes

- Introducing **Headlines**, a new start page for the Backstage Insights plugin that surfaces the most important high-level trends, while still giving you a way to dive deeper into your usage data.
- Visualizations in this plugin are now better optimized for the default Backstage theme and should better respect theme customizations.

### Patch Changes

- Improved readability of tables in usage dashboards
- Bug fixes in percentage formatting
- Updates to experimental functionality.
- The plugin now leverages the [`EntityPresentationApi`](https://backstage.io/docs/reference/plugin-catalog-react.entitypresentationapi/)
  when displaying entity refs.
- Introduce standard tooltips across plugins.
- Added data and chart utilities
- Consolidated the 'Users', 'Catalog', 'Templates' and 'Search' pages under a single 'Usage' page.
- Updated backstage dependencies to `v1.26.0`
- Updated dependencies
  - @spotify/backstage-plugin-core@0.7.1
  - @spotify/backstage-plugin-insights-common@0.2.9

## 0.2.1

### Patch Changes

- Added details to the rows of each dashboard about how that segmented data compares to the overall data for the selected period.
- Fixed a bug that could prevent entity names from being used in place of entity refs in the UI.
- Added tooltips to clarify the meaning of trend displays in the UI.
- Updated dashboards to render group _names_ wherever possible, rather than group entity refs.
- Updated backstage dependencies to `v1.24.0`
- Updated dependencies
  - `@spotify/backstage-plugin-core` to `^0.7.0`
  - `@spotify/backstage-plugin-insights-common` to `^0.2.8`

## 0.2.0

### Minor Changes

- Added compatibility for React 18. You do not need to upgrade your Backstage App to use React 18, but this plugin is now built and tested against it.

### Patch Changes

- Corrected labels to match the aggregations used on displayed values
- Changed the curve smoothing on the Insights charts to better represent the data being shown
- Added tooltips to the main charts to help inspect the datapoints
- Minor improvements to the trend label to indicate when there is no change
- Upgraded to Backstage `v1.23.0`
- Updated dependencies
  - `@spotify/backstage-plugin-core` to `^0.6.0`
  - `@spotify/backstage-plugin-insights-common` to `^0.2.7`
  - `framer-motion` to `^11.0.0`.
  - Removed `@backstage/theme` as a dependency

## 0.1.7

### Patch Changes

- Upgraded Backstage to v1.22.0
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.2.6
  - @spotify/backstage-plugin-core@0.5.9

## 0.1.6

### Patch Changes

- Added note to the `README` to mention adding the plugin to the `permissionedPlugins` list for RBAC integration

## 0.1.5

### Patch Changes

- Upgraded Backstage to `v1.20.3`.
- Updated dependency `cross-fetch` to `^4.0.0`.
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.2.5
  - @spotify/backstage-plugin-core@0.5.8

## 0.1.4

### Patch Changes

- Upgraded Backstage to v1.19.0
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.2.4
  - @spotify/backstage-plugin-core@0.5.7

## 0.1.3

### Patch Changes

- Mark package as being free of side effects, allowing more optimized Webpack builds.
- Fixed an issue in Safari where table text was inadvertently hidden.
- Updated dependency `@testing-library/jest-dom` to `^6.0.0`.
- Upgraded Backstage to v1.18.1
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.2.3
  - @spotify/backstage-plugin-core@0.5.6

## 0.1.2

### Patch Changes

- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.2.2

## 0.1.1

### Patch Changes

- Upgraded Backstage to `v1.17.0`.
- Updated dependencies
  - @spotify/backstage-plugin-core@0.5.5
  - @spotify/backstage-plugin-insights-common@0.2.1

## 0.1.0

### Minor Changes

- Introducing the new Backstage Insights! Now available in your Backstage instance. To get started, check the installation instructions at https://www.npmjs.com/package/@spotify/backstage-plugin-insights.

### Patch Changes

- Upgraded Backstage to `v1.16.0`
- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.2.0
  - @spotify/backstage-plugin-core@0.5.4

## 0.0.1

### Patch Changes

- Updated dependencies
  - @spotify/backstage-plugin-insights-common@0.1.1
