diff --git a/workspaces/frontend/src/app/pages/Workspaces/Form/image/WorkspaceFormImageList.tsx b/workspaces/frontend/src/app/pages/Workspaces/Form/image/WorkspaceFormImageList.tsx index ddf5c4aa..6fc0e84f 100644 --- a/workspaces/frontend/src/app/pages/Workspaces/Form/image/WorkspaceFormImageList.tsx +++ b/workspaces/frontend/src/app/pages/Workspaces/Form/image/WorkspaceFormImageList.tsx @@ -100,28 +100,30 @@ export const WorkspaceFormImageList: React.FunctionComponent 0 && ( - {filteredWorkspaceImages.map((image) => ( - - !image.hidden) + .map((image) => ( + - {image.displayName} - {image.id} - - - ))} + + {image.displayName} + {image.id} + + + ))} )} diff --git a/workspaces/frontend/src/app/pages/Workspaces/Form/kind/WorkspaceFormKindList.tsx b/workspaces/frontend/src/app/pages/Workspaces/Form/kind/WorkspaceFormKindList.tsx index bac0154f..daa8bdaf 100644 --- a/workspaces/frontend/src/app/pages/Workspaces/Form/kind/WorkspaceFormKindList.tsx +++ b/workspaces/frontend/src/app/pages/Workspaces/Form/kind/WorkspaceFormKindList.tsx @@ -95,43 +95,49 @@ export const WorkspaceFormKindList: React.FunctionComponent 0 && ( - {filteredWorkspaceKinds.map((kind) => ( - - !kind.hidden) + .map((kind) => ( + - - } + - {(validSrc) => ( - {`${kind.name} - )} - - - {kind.displayName} - {kind.description} - - ))} + + } + > + {(validSrc) => ( + {`${kind.name} + )} + + + {kind.displayName} + {kind.description} + + ))} )} diff --git a/workspaces/frontend/src/app/pages/Workspaces/Form/podConfig/WorkspaceFormPodConfigList.tsx b/workspaces/frontend/src/app/pages/Workspaces/Form/podConfig/WorkspaceFormPodConfigList.tsx index 87a36fec..ece2949e 100644 --- a/workspaces/frontend/src/app/pages/Workspaces/Form/podConfig/WorkspaceFormPodConfigList.tsx +++ b/workspaces/frontend/src/app/pages/Workspaces/Form/podConfig/WorkspaceFormPodConfigList.tsx @@ -96,28 +96,30 @@ export const WorkspaceFormPodConfigList: React.FunctionComponent< )} {filteredWorkspacePodConfigs.length > 0 && ( - {filteredWorkspacePodConfigs.map((podConfig) => ( - - !podConfig.hidden) + .map((podConfig) => ( + - {podConfig.displayName} - {podConfig.id} - - - ))} + + {podConfig.displayName} + {podConfig.id} + + + ))} )} diff --git a/workspaces/frontend/src/shared/mock/mockBuilder.ts b/workspaces/frontend/src/shared/mock/mockBuilder.ts index bb539c0f..cf9655ed 100644 --- a/workspaces/frontend/src/shared/mock/mockBuilder.ts +++ b/workspaces/frontend/src/shared/mock/mockBuilder.ts @@ -217,7 +217,7 @@ export const buildMockWorkspaceKind = ( { key: 'pythonVersion', value: '3.11' }, { key: 'jupyterlabVersion', value: '1.8.0' }, ], - hidden: true, + hidden: false, clusterMetrics: { workspacesCount: 0, }, @@ -257,7 +257,7 @@ export const buildMockWorkspaceKind = ( { key: 'pythonVersion', value: '3.12' }, { key: 'jupyterlabVersion', value: '2.0.0' }, ], - hidden: true, + hidden: false, redirect: { to: 'jupyterlab_scipy_210', message: { @@ -318,7 +318,7 @@ export const buildMockWorkspaceKind = ( id: 'large_cpu', displayName: 'Large CPU', description: 'Pod with 1 CPU, 1 Gb RAM', - hidden: false, + hidden: true, labels: [ { key: 'cpu', value: '1000m' }, { key: 'memory', value: '1Gi' },