Skip to content

feat(adoption-insights): add NFS support to frontend and analytics plugin#2309

Merged
karthikjeeyar merged 4 commits intoredhat-developer:mainfrom
rohitkrai03:nfs-adoption-insights
Feb 16, 2026
Merged

feat(adoption-insights): add NFS support to frontend and analytics plugin#2309
karthikjeeyar merged 4 commits intoredhat-developer:mainfrom
rohitkrai03:nfs-adoption-insights

Conversation

@rohitkrai03
Copy link
Contributor

Hey, I just made a Pull Request!

Fixes - https://issues.redhat.com/browse/RHIDP-11627
Fixes - https://issues.redhat.com/browse/RHIDP-11856

Migrates adoption-insights and analytics-module-adoption-insights plugins to Backstage's new frontend system via /alpha entry points. Legacy system remains fully backward compatible.

  • New frontend plugin with PageBlueprint, NavItemBlueprint, and ApiBlueprint
  • Analytics provider using AnalyticsImplementationBlueprint with dual-interface support (LegacyAnalyticsApi + AnalyticsImplementation)
  • Translation support via TranslationBlueprint in a separate app module
  • New packages/app-next test app for the new frontend system
  • Unit tests for both alpha exports
Screen.Recording.2026-02-11.at.2.19.44.PM.mov

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

@rhdh-gh-app
Copy link

rhdh-gh-app bot commented Feb 11, 2026

Important

This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.

Changed Packages

Package Name Package Path Changeset Bump Current Version
app-legacy workspaces/adoption-insights/packages/app-legacy none v0.0.0
app workspaces/adoption-insights/packages/app none v0.0.0
@red-hat-developer-hub/backstage-plugin-adoption-insights workspaces/adoption-insights/plugins/adoption-insights minor v0.6.2
@red-hat-developer-hub/backstage-plugin-analytics-module-adoption-insights workspaces/adoption-insights/plugins/analytics-module-adoption-insights minor v0.6.2

@rohitkrai03 rohitkrai03 force-pushed the nfs-adoption-insights branch 4 times, most recently from e11130e to bed7389 Compare February 12, 2026 07:22
@jrichter1
Copy link
Contributor

you will also need to update this path for the tests to run
https://github.com/redhat-developer/rhdh-plugins/blob/main/workspaces/adoption-insights/playwright.config.ts#L20

Copy link
Contributor

@HusneShabbir HusneShabbir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the missing ja and it locale support, everything looks good to me.

We should merge rohitkrai03#1
once it has a green CI and QE approval, and only then proceed with merging this PR.

Comment on lines +36 to +37
export default createFrontendPlugin({
pluginId: 'analytics-module-adoption-insights',
Copy link
Member

@karthikjeeyar karthikjeeyar Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This AnalyticsImplementationBlueprint belongs to app plugin and since this is a frontend-module-plugin we need to use createFrontendModule instead of createFrontendPlugin

Suggested change
export default createFrontendPlugin({
pluginId: 'analytics-module-adoption-insights',
export default createFrontendModule({
pluginId: 'app',

Copy link
Contributor Author

@rohitkrai03 rohitkrai03 Feb 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Earlier I had the same implementation but when i looked at this Segment plugin migration which was done by the guy who implemented the AnalyticsImplementationBlueprint, I changed it - https://github.com/backstage/community-plugins/pull/5286/changes#diff-86871a93214ea4e28e8fcd2e794fd161b14de984049d711e8a771ded3fdb1cd1R45.

…ugin

Signed-off-by: Rohit Rai <rohitkrai03@gmail.com>
@rohitkrai03 rohitkrai03 force-pushed the nfs-adoption-insights branch 2 times, most recently from b5d4d8e to e3e697e Compare February 16, 2026 10:05
@rohitkrai03 rohitkrai03 force-pushed the nfs-adoption-insights branch from e3e697e to 23c42bb Compare February 16, 2026 11:05
Signed-off-by: Rohit Rai <rohitkrai03@gmail.com>
@rohitkrai03 rohitkrai03 force-pushed the nfs-adoption-insights branch from 23c42bb to 8b1ed88 Compare February 16, 2026 11:08
HusneShabbir and others added 2 commits February 16, 2026 17:07
@sonarqubecloud
Copy link

Copy link
Member

@karthikjeeyar karthikjeeyar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

Copy link
Contributor

@HusneShabbir HusneShabbir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@karthikjeeyar karthikjeeyar merged commit b58b43d into redhat-developer:main Feb 16, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants