diff --git a/frontend/src/component/project/ProjectList/ProjectGroup.tsx b/frontend/src/component/project/ProjectList/ProjectGroup.tsx
index 5bbfb0f3ad..11b3651d1a 100644
--- a/frontend/src/component/project/ProjectList/ProjectGroup.tsx
+++ b/frontend/src/component/project/ProjectList/ProjectGroup.tsx
@@ -8,7 +8,6 @@ import { UpgradeProjectCard } from '../ProjectCard/UpgradeProjectCard.tsx';
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
import type { ProjectsListView } from './hooks/useProjectsListState.ts';
import { ProjectsListTable } from './ProjectsListTable/ProjectsListTable.tsx';
-import { useUiFlag } from 'hooks/useUiFlag.ts';
const StyledGridContainer = styled('div')(({ theme }) => ({
display: 'grid',
@@ -47,11 +46,10 @@ export const ProjectGroup = ({
}: ProjectGroupProps) => {
const ProjectCard = ProjectCardComponent ?? DefaultProjectCard;
const { isOss } = useUiConfig();
- const projectListViewToggleEnabled = useUiFlag('projectListViewToggle');
const projectsToRender = loading ? loadingData : projects;
- if (!isOss() && projectListViewToggleEnabled && view === 'list') {
+ if (!isOss() && view === 'list') {
return ;
}
diff --git a/frontend/src/component/project/ProjectList/ProjectList.tsx b/frontend/src/component/project/ProjectList/ProjectList.tsx
index 33ddfaa8a7..580b3261a6 100644
--- a/frontend/src/component/project/ProjectList/ProjectList.tsx
+++ b/frontend/src/component/project/ProjectList/ProjectList.tsx
@@ -19,7 +19,6 @@ import { ProjectArchiveLink } from './ProjectArchiveLink/ProjectArchiveLink.tsx'
import { ProjectsListHeader } from './ProjectsListHeader/ProjectsListHeader.tsx';
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
import { TablePlaceholder } from 'component/common/Table/index.ts';
-import { useUiFlag } from 'hooks/useUiFlag.ts';
import { ProjectsListViewToggle } from './ProjectsListViewToggle/ProjectsListViewToggle.tsx';
const StyledApiError = styled(ApiError)(({ theme }) => ({
@@ -36,7 +35,6 @@ const StyledContainer = styled('div')(({ theme }) => ({
export const ProjectList = () => {
const { projects, loading, error, refetch } = useProjects();
const { isOss } = useUiConfig();
- const projectListViewToggleEnabled = useUiFlag('projectListViewToggle');
const isSmallScreen = useMediaQuery(theme.breakpoints.down('md'));
@@ -130,15 +128,14 @@ export const ProjectList = () => {
helpText='Favorite projects, projects you own, and projects you are a member of'
actions={
<>
- {projectListViewToggleEnabled &&
- !isOss() && (
-
- setState({ view })
- }
- />
- )}
+ {!isOss() && (
+
+ setState({ view })
+ }
+ />
+ )}
diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts
index 3701ac3696..fad9a1f7f0 100644
--- a/frontend/src/interfaces/uiConfig.ts
+++ b/frontend/src/interfaces/uiConfig.ts
@@ -92,7 +92,6 @@ export type UiFlags = {
lifecycleGraphs?: boolean;
addConfiguration?: boolean;
filterFlagsToArchive?: boolean;
- projectListViewToggle?: boolean;
};
export interface IVersionInfo {
diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts
index 94e77e7258..7257b00f85 100644
--- a/src/lib/types/experimental.ts
+++ b/src/lib/types/experimental.ts
@@ -60,7 +60,6 @@ export type IFlagKey =
| 'lifecycleGraphs'
| 'addConfiguration'
| 'filterFlagsToArchive'
- | 'projectListViewToggle'
| 'fetchMode'
| 'etagByEnv';
@@ -278,10 +277,6 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_FILTER_FLAGS_TO_ARCHIVE,
false,
),
- projectListViewToggle: parseEnvVarBoolean(
- process.env.UNLEASH_EXPERIMENTAL_PROJECT_LIST_VIEW_TOGGLE,
- false,
- ),
fetchMode: {
name: 'disabled',
feature_enabled: false,
diff --git a/src/server-dev.ts b/src/server-dev.ts
index 497fb0773b..7fc9690898 100644
--- a/src/server-dev.ts
+++ b/src/server-dev.ts
@@ -56,7 +56,6 @@ process.nextTick(async () => {
impactMetrics: true,
lifecycleGraphs: true,
addConfiguration: true,
- projectListViewToggle: true,
},
},
authentication: {