@@ -113,7 +109,7 @@ export default function ProjectOverview({
)}
-
+
tabs={tabs}
selectedTab={selectedTab}
onTabChange={setSelectedTab}
diff --git a/frontend/src/components/projects/[projectId]/applications/[applicationId]/application-prompt-configs-table.tsx b/frontend/src/components/projects/[projectId]/applications/[applicationId]/application-prompt-configs-table.tsx
index 886e5661..0fac1e7a 100644
--- a/frontend/src/components/projects/[projectId]/applications/[applicationId]/application-prompt-configs-table.tsx
+++ b/frontend/src/components/projects/[projectId]/applications/[applicationId]/application-prompt-configs-table.tsx
@@ -2,8 +2,7 @@ import { useRouter } from 'next/navigation';
import { useTranslations } from 'next-intl';
import { CheckCircle, Front, PencilFill, Search } from 'react-bootstrap-icons';
-import { PromptConfigPageTab } from '@/app/[locale]/projects/[projectId]/applications/[applicationId]/configs/[promptConfigId]/page';
-import { Navigation } from '@/constants';
+import { Navigation, PromptConfigPageTab } from '@/constants';
import {
modelTypeToLocaleMap,
modelVendorToLocaleMap,
diff --git a/frontend/src/components/projects/[projectId]/project-applications-list-table.tsx b/frontend/src/components/projects/[projectId]/project-applications-list-table.tsx
index 08ff8f7f..7fed2a28 100644
--- a/frontend/src/components/projects/[projectId]/project-applications-list-table.tsx
+++ b/frontend/src/components/projects/[projectId]/project-applications-list-table.tsx
@@ -2,8 +2,7 @@ import { useRouter } from 'next/navigation';
import { useTranslations } from 'next-intl';
import { PencilFill } from 'react-bootstrap-icons';
-import { applicationPageTabNames } from '@/app/[locale]/projects/[projectId]/applications/[applicationId]/page';
-import { Navigation } from '@/constants';
+import { ApplicationPageTabNames, Navigation } from '@/constants';
import { Application, PromptConfig } from '@/types';
import { setRouteParams } from '@/utils/navigation';
@@ -80,7 +79,7 @@ export function ProjectApplicationsListTable({
applicationId,
projectId,
},
- applicationPageTabNames.SETTINGS,
+ ApplicationPageTabNames.SETTINGS,
),
);
}}
diff --git a/frontend/src/constants/navigation.ts b/frontend/src/constants/navigation.ts
index fc29426d..9838af9b 100644
--- a/frontend/src/constants/navigation.ts
+++ b/frontend/src/constants/navigation.ts
@@ -16,3 +16,22 @@ export enum Navigation {
}
export const DISCORD_INVITE_LINK = 'https://discord.gg/Urxchkcq';
export const SUPPORT_EMAIL = 'support@basemind.ai';
+
+export enum PromptConfigPageTab {
+ OVERVIEW,
+ TESTING,
+ SETTINGS,
+}
+
+export enum ApplicationPageTabNames {
+ OVERVIEW,
+ API_KEYS,
+ SETTINGS,
+}
+
+export enum ProjectPageTabNames {
+ OVERVIEW,
+ MEMBERS,
+ PROVIDER_KEYS,
+ SETTINGS,
+}