mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
chore: update project overview to flags (#7247)
This PR changes the project screen by calling the main tab "flags" instead of "overview". There isn't really an overview available on that tab anymore, only a list of flags.
This commit is contained in:
parent
cadf3fb061
commit
048d604518
@ -20,7 +20,7 @@ import useQueryParams from 'hooks/useQueryParams';
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import ProjectEnvironment from '../ProjectEnvironment/ProjectEnvironment';
|
import ProjectEnvironment from '../ProjectEnvironment/ProjectEnvironment';
|
||||||
import { ProjectFeaturesArchive } from './ProjectFeaturesArchive/ProjectFeaturesArchive';
|
import { ProjectFeaturesArchive } from './ProjectFeaturesArchive/ProjectFeaturesArchive';
|
||||||
import ProjectOverview from './ProjectOverview';
|
import ProjectFlags from './ProjectFlags';
|
||||||
import ProjectHealth from './ProjectHealth/ProjectHealth';
|
import ProjectHealth from './ProjectHealth/ProjectHealth';
|
||||||
import PermissionIconButton from 'component/common/PermissionIconButton/PermissionIconButton';
|
import PermissionIconButton from 'component/common/PermissionIconButton/PermissionIconButton';
|
||||||
import { UPDATE_FEATURE } from 'component/providers/AccessProvider/permissions';
|
import { UPDATE_FEATURE } from 'component/providers/AccessProvider/permissions';
|
||||||
@ -85,9 +85,9 @@ export const Project = () => {
|
|||||||
|
|
||||||
const tabs: ITab[] = [
|
const tabs: ITab[] = [
|
||||||
{
|
{
|
||||||
title: 'Overview',
|
title: 'Flags',
|
||||||
path: basePath,
|
path: basePath,
|
||||||
name: 'overview',
|
name: 'flags',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Insights',
|
title: 'Insights',
|
||||||
@ -323,7 +323,7 @@ export const Project = () => {
|
|||||||
/>
|
/>
|
||||||
<Route path='settings/*' element={<ProjectSettings />} />
|
<Route path='settings/*' element={<ProjectSettings />} />
|
||||||
<Route path='applications' element={<ProjectApplications />} />
|
<Route path='applications' element={<ProjectApplications />} />
|
||||||
<Route path='*' element={<ProjectOverview />} />
|
<Route path='*' element={<ProjectFlags />} />
|
||||||
</Routes>
|
</Routes>
|
||||||
<ImportModal
|
<ImportModal
|
||||||
open={modalOpen}
|
open={modalOpen}
|
||||||
|
Loading…
Reference in New Issue
Block a user