Skip to content

feat(adoption-insights): add Est. Time Saved column to Top Templates card#3707

Open
rajin-kichannagari wants to merge 3 commits into
redhat-developer:mainfrom
rajin-kichannagari:feat/time-saved-adoption-insights
Open

feat(adoption-insights): add Est. Time Saved column to Top Templates card#3707
rajin-kichannagari wants to merge 3 commits into
redhat-developer:mainfrom
rajin-kichannagari:feat/time-saved-adoption-insights

Conversation

@rajin-kichannagari

Copy link
Copy Markdown
Contributor

Read the rhdh.redhat.com/time-saved annotation from template entities and display a calculated Est. Time Saved column (annotation × execution count) on the Top Templates card. Templates without the annotation show —.

RHDHPLAN-1553 / RHIDP 15188

image

✔️ Checklist

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

Rajin Kichannagari and others added 2 commits July 7, 2026 15:16
…card

Read the rhdh.redhat.com/time-saved annotation from template entities
and display a calculated Est. Time Saved column (annotation × execution
count) on the Top Templates card. Templates without the annotation show —.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rhdh-gh-app

rhdh-gh-app Bot commented Jul 7, 2026

Copy link
Copy Markdown

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
@red-hat-developer-hub/backstage-plugin-adoption-insights workspaces/adoption-insights/plugins/adoption-insights minor v0.8.3

@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
351 1 350 0
View the top 1 failed test(s) by shortest run time
Constants TEMPLATE_TABLE_HEADERS should have correct headers
Stack Traces | 0.004s run time
Error: expect(received).toEqual(expected) // deep equality

- Expected  - 0
+ Received  + 4

@@ -5,6 +5,10 @@
    },
    Object {
      "id": "executions",
      "titleKey": "table.headers.executions",
    },
+   Object {
+     "id": "estTimeSaved",
+     "titleKey": "table.headers.estTimeSaved",
+   },
  ]
    at Object.toEqual (.../utils/__tests__/constants.test.tsx:63:36)
    at Promise.finally.completed (.../jest-circus/build/jestAdapterInit.js:1557:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../jest-circus/build/jestAdapterInit.js:1497:10)
    at _callCircusTest (.../jest-circus/build/jestAdapterInit.js:1007:40)
    at processTicksAndRejections (node:internal/process/task_queues:104:5)
    at _runTest (.../jest-circus/build/jestAdapterInit.js:947:3)
    at .../jest-circus/build/jestAdapterInit.js:849:7
    at _runTestsForDescribeBlock (.../jest-circus/build/jestAdapterInit.js:862:11)
    at _runTestsForDescribeBlock (.../jest-circus/build/jestAdapterInit.js:857:11)
    at run (.../jest-circus/build/jestAdapterInit.js:761:3)
    at runAndTransformResultsToJestFormat (.../jest-circus/build/jestAdapterInit.js:1918:21)
    at jestAdapter (.../jest-circus/build/runner.js:101:19)
    at runTestInternal (.../jest-runner/build/testWorker.js:275:16)
    at runTest (.../jest-runner/build/testWorker.js:343:7)
    at Object.worker (.../jest-runner/build/testWorker.js:497:12)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant