Skip to content

Commit fcc50b6

Browse files
fix(adoption-insights): update permission page documentation link to product docs (#2740)
1 parent a80eb73 commit fcc50b6

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@red-hat-developer-hub/backstage-plugin-adoption-insights': patch
3+
---
4+
5+
The Adoption Insights "Missing Permission" page was linking to GitHub repository documentation. This has been updated to point to the official Red Hat Developer Hub product documentation instead.

workspaces/adoption-insights/plugins/adoption-insights/src/components/Common/PermissionRequiredState.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const PermissionRequiredState = () => {
4747
variant="outlined"
4848
color="primary"
4949
target="_blank"
50-
href="https://github.com/redhat-developer/rhdh-plugins/blob/main/workspaces/adoption-insights/plugins/adoption-insights/README.md#permission-framework-support"
50+
href="https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/adoption_insights_in_red_hat_developer_hub/assembly-adoption-insights#proc-customize-adoption-insights_title-adoption-insights"
5151
>
5252
{t('common.readMore')} &nbsp; <OpenInNewIcon />
5353
</Button>

workspaces/adoption-insights/plugins/adoption-insights/src/components/Common/__tests__/PermissionRequiredState.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('PermissionRequiredState', () => {
6464
expect(readMoreLink).toBeInTheDocument();
6565
expect(readMoreLink).toHaveAttribute(
6666
'href',
67-
'https://github.com/redhat-developer/rhdh-plugins/blob/main/workspaces/adoption-insights/plugins/adoption-insights/README.md#permission-framework-support',
67+
'https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/adoption_insights_in_red_hat_developer_hub/assembly-adoption-insights#proc-customize-adoption-insights_title-adoption-insights',
6868
);
6969

7070
// OpenInNewIcon

0 commit comments

Comments
 (0)