Skip to content

Commit 4f077c0

Browse files
committed
Show license utilization in general settings
1 parent 592657a commit 4f077c0

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

site/src/pages/DeploymentSettingsPage/GeneralSettingsPage/GeneralSettingsPageView.tsx

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import AlertTitle from "@mui/material/AlertTitle";
2+
import LinearProgress from "@mui/material/LinearProgress";
23
import type {
34
DAUsResponse,
45
Entitlements,
@@ -10,7 +11,6 @@ import {
1011
ActiveUsersTitle,
1112
} from "components/ActiveUserChart/ActiveUserChart";
1213
import { ErrorAlert } from "components/Alert/ErrorAlert";
13-
import { Gauge } from "components/Gauge/Gauge";
1414
import { SettingsHeader } from "components/SettingsHeader/SettingsHeader";
1515
import { Stack } from "components/Stack/Stack";
1616
import type { FC } from "react";
@@ -64,9 +64,14 @@ export const GeneralSettingsPageView: FC<GeneralSettingsPageViewProps> = ({
6464
{licenseUtilizationPercentage && (
6565
<div css={{ marginBottom: 24, height: 200 }}>
6666
<ChartSection title="License Utilization">
67-
<Gauge
67+
<LinearProgress
68+
variant="determinate"
6869
value={licenseUtilizationPercentage * 100}
69-
label="License Usage"
70+
css={{
71+
height: 24,
72+
borderRadius: 4,
73+
marginBottom: 8,
74+
}}
7075
/>
7176
<span
7277
css={{

0 commit comments

Comments
 (0)