diff --git a/pkg/app/web/src/components/environment-list-item.tsx b/pkg/app/web/src/components/environment-list-item.tsx index 1d737a968d..99a35321a9 100644 --- a/pkg/app/web/src/components/environment-list-item.tsx +++ b/pkg/app/web/src/components/environment-list-item.tsx @@ -5,13 +5,13 @@ import { DialogContent, DialogTitle, IconButton, - ListItem, - ListItemSecondaryAction, - ListItemText, makeStyles, Menu, MenuItem, + TableCell, + TableRow, TextField, + Typography, } from "@material-ui/core"; import { MoreVert as MoreVertIcon } from "@material-ui/icons"; import { EntityId } from "@reduxjs/toolkit"; @@ -83,22 +83,25 @@ export const EnvironmentListItem: FC = memo( return ( <> - - - {/** TODO: Remove this style after implemented editing environment's desc API */} - + + + + {env.name} + + + {env.desc || TEXT_NO_DESCRIPTION} + {env.id} + - - + + ({ - main: { - overflow: "auto", - }, - listItem: { - backgroundColor: theme.palette.background.paper, - }, -})); - export const SettingsEnvironmentPage: FC = memo( function SettingsEnvironmentPage() { - const classes = useStyles(); const dispatch = useDispatch(); const [isOpenForm, setIsOpenForm] = useState(false); const projectName = useSelector((state) => @@ -66,13 +61,27 @@ export const SettingsEnvironmentPage: FC = memo( -
- - {envIds.map((envId) => ( - - ))} - -
+ + + + + Name + Description + ID + + + + + + {envIds.map((envId) => ( + + ))} + +
+