Skip to content

Commit

Permalink
1-3125: Update project navigation for the simplified view
Browse files Browse the repository at this point in the history
The changes are:
- Change "Flags" to "Overview"
- Also hide "Insights" and "Health"
- Change "Project settings" to "Settings"
  • Loading branch information
thomasheartman committed Nov 15, 2024
1 parent 0465731 commit 8e0d2ea
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions frontend/src/component/project/Project/Project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,23 +144,23 @@ export const Project = () => {

const tabs: ITab[] = [
{
title: 'Flags',
title: simplifyProjectOverview ? 'Overview' : 'Flags',
path: basePath,
name: 'flags',
},
{
title: 'Insights',
path: `${basePath}/insights`,
name: 'insights',
},
{
title: 'Health',
path: `${basePath}/health`,
name: 'health',
},
...(simplifyProjectOverview
? []
: [
{
title: 'Insights',
path: `${basePath}/insights`,
name: 'insights',
},
{
title: 'Health',
path: `${basePath}/health`,
name: 'health',
},
{
title: 'Archived flags',
path: `${basePath}/archive`,
Expand All @@ -185,7 +185,7 @@ export const Project = () => {
name: 'logs',
},
{
title: 'Project settings',
title: simplifyProjectOverview ? 'Settings' : 'Project settings',
path: `${basePath}/settings`,
ossPath: `${basePath}/settings/api-access`,
name: 'settings',
Expand Down

0 comments on commit 8e0d2ea

Please sign in to comment.