Skip to content

Commit cc15387

Browse files
committed
PMM-14001 Add AI Chat Demo page to navigation (#829)
* Introduced AI Chat Demo page in PerconaNavigation.constants.ts * Updated PerconaNavigation.tsx to include AI Chat Demo in the navigation tree
1 parent 91975cc commit cc15387

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

public/app/percona/shared/components/PerconaBootstrapper/PerconaNavigation/PerconaNavigation.constants.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,3 +615,13 @@ export const PMM_NAV_QAN: NavModelItem = {
615615
sortWeight: WEIGHTS.dashboards,
616616
hideFromTabs: true,
617617
};
618+
619+
export const AI_CHAT_DEMO_PAGE: NavModelItem = {
620+
id: 'ai-chat-demo',
621+
icon: 'ai',
622+
text: 'AI Chat Demo',
623+
url: '/pmm-ui/ai-chat',
624+
subTitle: 'AI Chat Demo',
625+
sortWeight: WEIGHTS.dashboards,
626+
hideFromTabs: true,
627+
};

public/app/percona/shared/components/PerconaBootstrapper/PerconaNavigation/PerconaNavigation.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import {
3636
PMM_TICKETS_PAGE,
3737
PMM_DUMP_PAGE,
3838
PMM_EXPORT_DUMP_PAGE,
39+
AI_CHAT_DEMO_PAGE,
3940
} from './PerconaNavigation.constants';
4041
import {
4142
addAccessRolesLink,
@@ -98,6 +99,9 @@ const PerconaNavigation: FC = () => {
9899
// QAN
99100
updatedNavTree.push(PMM_NAV_QAN);
100101

102+
// Add AI Chat Demo after QAN
103+
updatedNavTree.push(AI_CHAT_DEMO_PAGE);
104+
101105
if (isPlatformUser) {
102106
updatedNavTree.push(PMM_ENTITLEMENTS_PAGE);
103107
updatedNavTree.push(PMM_TICKETS_PAGE);

0 commit comments

Comments
 (0)