From 57e13446f0709827cd5cb90cd8fb145021fb0b16 Mon Sep 17 00:00:00 2001 From: Jenny <32821331+jenny-s51@users.noreply.github.com> Date: Fri, 21 Nov 2025 15:20:53 -0500 Subject: [PATCH] fix: workspace kind icon proportions and position Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com> --- .../pages/WorkspaceKinds/WorkspaceKinds.tsx | 19 +++++++++++-------- workspaces/frontend/src/app/types.ts | 1 - 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/workspaces/frontend/src/app/pages/WorkspaceKinds/WorkspaceKinds.tsx b/workspaces/frontend/src/app/pages/WorkspaceKinds/WorkspaceKinds.tsx index 0ebef489..b9f40362 100644 --- a/workspaces/frontend/src/app/pages/WorkspaceKinds/WorkspaceKinds.tsx +++ b/workspaces/frontend/src/app/pages/WorkspaceKinds/WorkspaceKinds.tsx @@ -57,7 +57,6 @@ export const WorkspaceKinds: React.FunctionComponent = () => { // Table columns const columns: WorkspaceKindsColumns = useMemo( () => ({ - icon: { name: '', label: 'Icon', id: 'icon' }, name: { name: 'Name', label: 'Name', id: 'name' }, description: { name: 'Description', label: 'Description', id: 'description' }, deprecated: { name: 'Status', label: 'Status', id: 'status' }, @@ -87,20 +86,18 @@ export const WorkspaceKinds: React.FunctionComponent = () => { const getSortableRowValues = useCallback( (workspaceKind: WorkspacekindsWorkspaceKind): (string | boolean | number)[] => { const { - icon, name, description, deprecated, numOfWorkspaces: numberOfWorkspaces, } = { - icon: '', name: workspaceKind.name, description: workspaceKind.description, deprecated: workspaceKind.deprecated, // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition numOfWorkspaces: workspaceCountPerKind[workspaceKind.name]?.count ?? 0, }; - return [icon, name, description, deprecated, numberOfWorkspaces]; + return [name, description, deprecated, numberOfWorkspaces]; }, [workspaceCountPerKind], ); @@ -424,7 +421,7 @@ export const WorkspaceKinds: React.FunctionComponent = () => { filteredWorkspaceKinds.map((workspaceKind, rowIndex) => (