Skip to content

Commit fd184be

Browse files
author
Marc Monchablon
committed
feat(iam): add 'changelog' links in tag-manager
ref: #MAIAM-43 Signed-off-by: Marc Monchablon <[email protected]>
1 parent f89d413 commit fd184be

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { ChangelogLinks } from '@ovh-ux/manager-react-components';
2+
3+
export const CHANGELOG_LINKS: ChangelogLinks = {
4+
roadmap:
5+
'https://github.com/orgs/ovh/projects/16/views/1?pane=info&sliceBy%5Bvalue%5D=Baremetal',
6+
changelog:
7+
'https://github.com/orgs/ovh/projects/16/views/1?pane=info&sliceBy%5Bvalue%5D=Baremetal',
8+
'feature-request':
9+
'https://github.com/orgs/ovh/projects/16/views/1?pane=info&sliceBy%5Bvalue%5D=Baremetal',
10+
};
11+
12+
export const CHANGELOG_CHAPTERS = [
13+
'identity-security-operation',
14+
'identity-access-management',
15+
'identity-access-management',
16+
];

packages/manager/apps/identity-access-management/src/pages/tagManager/TagManager.page.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@ import React from 'react';
22
import { useTranslation } from 'react-i18next';
33
import {
44
BaseLayout,
5+
ChangelogButton,
56
HeadersProps,
67
Notifications,
78
} from '@ovh-ux/manager-react-components';
89
import TagsListDatagrid from './components/tagsListDatagrid/TagsListDatagrid.component';
910
import { TagManagerContextProvider } from './TagManagerContext';
11+
import { CHANGELOG_LINKS, CHANGELOG_CHAPTERS } from '@/constants';
1012

1113
export default function TagManager() {
1214
const { t } = useTranslation('tag-manager');
1315

1416
const header: HeadersProps = {
1517
title: t('title'),
1618
description: t('description'),
19+
changelogButton: (
20+
<ChangelogButton links={CHANGELOG_LINKS} chapters={CHANGELOG_CHAPTERS} />
21+
),
1722
};
1823

1924
return (

0 commit comments

Comments
 (0)