Skip to content

fix: remove deployment bar info icon and adjust language #6537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions site/src/components/DeploymentBanner/DeploymentBannerView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { MONOSPACE_FONT_FAMILY } from "theme/constants"
import Tooltip from "@material-ui/core/Tooltip"
import { Link as RouterLink } from "react-router-dom"
import Link from "@material-ui/core/Link"
import InfoIcon from "@material-ui/icons/InfoOutlined"
import { VSCodeIcon } from "components/Icons/VSCodeIcon"
import DownloadIcon from "@material-ui/icons/CloudDownload"
import UploadIcon from "@material-ui/icons/CloudUpload"
Expand Down Expand Up @@ -118,21 +117,18 @@ export const DeploymentBannerView: FC<DeploymentBannerViewProps> = ({
</div>
<div className={styles.group}>
<Tooltip title={`Activity in the last ~${aggregatedMinutes} minutes`}>
<div className={styles.category}>
Transmission
<InfoIcon />
</div>
<div className={styles.category}>Transmission</div>
</Tooltip>

<div className={styles.values}>
<Tooltip title="Data sent through workspace workspaces">
<Tooltip title="Data sent to workspaces">
<div className={styles.value}>
<DownloadIcon />
{stats ? prettyBytes(stats.workspaces.rx_bytes) : "-"}
</div>
</Tooltip>
<ValueSeparator />
<Tooltip title="Data sent from workspace connections">
<Tooltip title="Data sent from workspaces">
<div className={styles.value}>
<UploadIcon />
{stats ? prettyBytes(stats.workspaces.tx_bytes) : "-"}
Expand Down Expand Up @@ -287,12 +283,6 @@ const useStyles = makeStyles((theme) => ({
category: {
marginRight: theme.spacing(2),
color: theme.palette.text.hint,

"& svg": {
width: 12,
height: 12,
marginBottom: 2,
},
},
values: {
display: "flex",
Expand Down