Skip to content

RHDHBUGS-3277: Missing prerequisites and configuration details for Scorecard Aggregation cards#2346

Open
rh-tokeefe wants to merge 15 commits into
redhat-developer:mainfrom
rh-tokeefe:RHDHBUGS-3277
Open

RHDHBUGS-3277: Missing prerequisites and configuration details for Scorecard Aggregation cards#2346
rh-tokeefe wants to merge 15 commits into
redhat-developer:mainfrom
rh-tokeefe:RHDHBUGS-3277

Conversation

@rh-tokeefe

Copy link
Copy Markdown
Member

IMPORTANT: Do Not Merge - To be merged by Docs Team Only

Version(s):
release 1.10
Issue:
https://redhat.atlassian.net/browse/RHDHBUGS-3277
Preview:

@rhdh-bot

rhdh-bot commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

PR Build Results

Build passed -- 35/35 titles | 78s
Preview: https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/pr-2346/


Content Quality Assessment

CQA Report

  • CQA-00a: Orphaned modules
  • CQA-00b: Directory structure
  • CQA-01: Vale AsciiDoc DITA compliance
  • CQA-02: Verify assembly structure
  • CQA-03: Verify content type metadata
  • CQA-04: Verify module templates
  • CQA-05: Verify required modular elements
  • CQA-06: Verify assemblies follow official template (one user story)
  • CQA-07: Verify TOC depth (max 3 levels)
  • CQA-08: Verify short description content quality
  • CQA-09: Verify short description format
  • CQA-10: Verify titles are brief, complete, and descriptive
  • CQA-11: Verify procedure prerequisites
  • CQA-12: Verify grammar and style (Vale)
  • CQA-13: Verify content matches declared type
  • CQA-14: Verify no broken links
  • CQA-15: Check redirects
  • CQA-16: Verify official product names
  • CQA-17: Verify legal disclaimers for preview features

Summary

Checks: 19 total, 19 pass, 0 fail

19 checks: 19 pass, 0 fail

Run node build/scripts/cqa/index.js --all --fix locally to review and auto-fix issues.


Updated 2026-06-12 20:35:11 UTC

xs: { w: 12, h: 6 }
xxs: { w: 12, h: 6 }
plugins:
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-scorecard:bs_1.45.3__2.3.5

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please fix the outdated 1.45 reference

@dzemanov dzemanov Jun 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

To make sure user knows that he should only add new mountpoint (we are not repeating configuration for other keys like entityTabs, we should update the 3. step of the procedure
from:
3. Update the configuration to use the aggregationId property with an established system metric name:

to:
3. Add a new item to the mountPoints array, setting aggregationId to your preferred metric ID.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

@dzemanov just to confirm, this is the location where I can obtain that correct?

https://github.com/redhat-developer/rhdh-plugin-export-overlays/blob/release-1.10/workspaces/scorecard/metadata/rhdh-backstage-plugin-scorecard.yaml

that way I can bookmark it and know where to look in the future.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, there you can obtain correct frontend scorecard plugin version for RHDH 1.10

+
where:

`aggregationId`:: Specifies the ID in the mount point configuration, which is derived from the `metricId` of the installed scorecard module.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
`aggregationId`:: Specifies the ID in the mount point configuration, which is derived from the `metricId` of the installed scorecard module.
`aggregationId`:: The aggregation identifier used in the mount point configuration, for default aggregation must match the `metricId` from your installed Scorecard module.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

done

.Prerequisites

* The scorecard plugin is installed and configured in your {product} instance.
* You have installed and configured Scorecard backend and frontend plugins, and at least one Scorecard plugin module.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please update this prerequisites also for all other sections that need it, as specified in the ticket?
Sections:
Configure a default scorecard aggregation card, Configure an aggregation card with a status-grouped tracking type, Configure an aggregation card with an average tracking type.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

done

@dzemanov dzemanov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@rh-tokeefe can you please also address in this PR bullet points of the issue: 3, 4, 5?

For bullet point 5, specify where user can locate mountpoint configuration, I see you updated mountpoint for default aggregation, but it needs to be updated also in status-grouped and average scorecards. To simplify, we could only specify where to locate mountpoints in text (should be under scorecard mountpoints key) and link to 1 full example in 9.4. Configure portfolio health on a customizable home page for customizable homepage and
9.5. Configure portfolio health on a read-only home page for read only homepage. This will be useful also for bullet point 3 of the jira ticket, to specify that mountpoint examples for defautl scorecard aggregation, status grouped and average aggregation are only showing how to configue it for read-only homepage and customizable homepage can be found in 9.4.

. Navigate to your scorecard card block under the `home.page/cards` mount point.

. Update the configuration to use the `aggregationId` property with an established system metric name:
. Add a new item to the `mountpointsarray`, `settingaggregationId` to your preferred metric ID.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
. Add a new item to the `mountpointsarray`, `settingaggregationId` to your preferred metric ID.
. Add a new item to the `mountPoints` array, setting `aggregationId` to your preferred metric ID.

…metric-ids

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…e type clarification

- Clarify mountpoint location in all three aggregation card procedures
- Add notes indicating examples show read-only homepage configuration
- Link to sections 9.4 and 9.5 for customizable and read-only homepage examples
- Apply changes consistently across default, status-grouped, and average aggregation cards

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changed the two steps for finding Backstage and plugin versions from
numbered list items to lettered sub-steps, which will render more cleanly
as nested instructions under the tag parameter definition.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

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.

4 participants