Skip to content

Commit 86fab98

Browse files
committed
Fix title and description
1 parent 41cc638 commit 86fab98

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

site/src/components/DAUChart/DAUChart.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,15 @@ export const DAUChart: FC<DAUChartProps> = ({ daus }) => {
115115
);
116116
};
117117

118-
export const DAUTitle = () => {
118+
export const ActiveUsersTitle = () => {
119119
return (
120120
<Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
121-
Daily Active Users
121+
Active Users
122122
<HelpTooltip size="small">
123-
<HelpTooltipTitle>
124-
How do we calculate daily active users?
125-
</HelpTooltipTitle>
123+
<HelpTooltipTitle>How do we calculate active users?</HelpTooltipTitle>
126124
<HelpTooltipText>
127125
When a connection is initiated to a user&apos;s workspace they are
128-
considered a daily active user. e.g. apps, web terminal, SSH
126+
considered an active user. e.g. apps, web terminal, SSH
129127
</HelpTooltipText>
130128
</HelpTooltip>
131129
</Box>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Box from "@mui/material/Box";
22
import { ClibaseOption, DAUsResponse } from "api/typesGenerated";
33
import { ErrorAlert } from "components/Alert/ErrorAlert";
4-
import { DAUChart, DAUTitle } from "components/DAUChart/DAUChart";
4+
import { DAUChart, ActiveUsersTitle } from "components/DAUChart/DAUChart";
55
import { Header } from "components/DeploySettingsLayout/Header";
66
import OptionsTable from "components/DeploySettingsLayout/OptionsTable";
77
import { Stack } from "components/Stack/Stack";
@@ -32,7 +32,7 @@ export const GeneralSettingsPageView = ({
3232
)}
3333
{deploymentDAUs && (
3434
<Box height={200} sx={{ mb: 3 }}>
35-
<ChartSection title={<DAUTitle />}>
35+
<ChartSection title={<ActiveUsersTitle />}>
3636
<DAUChart daus={deploymentDAUs} />
3737
</ChartSection>
3838
</Box>

site/src/pages/TemplatePage/TemplateInsightsPage/TemplateInsightsPage.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { styled, useTheme } from "@mui/material/styles";
44
import { BoxProps } from "@mui/system";
55
import { useQuery } from "@tanstack/react-query";
66
import { getInsightsTemplate, getInsightsUserLatency } from "api/api";
7-
import { DAUChart, DAUTitle } from "components/DAUChart/DAUChart";
7+
import { ActiveUsersTitle, DAUChart } from "components/DAUChart/DAUChart";
88
import { useTemplateLayoutContext } from "pages/TemplatePage/TemplateLayout";
99
import {
1010
HelpTooltip,
@@ -144,7 +144,7 @@ export const TemplateInsightsPageView = ({
144144
gap: (theme) => theme.spacing(3),
145145
}}
146146
>
147-
<DailyUsersPanel
147+
<ActiveUsersPanel
148148
sx={{ gridColumn: "span 2" }}
149149
data={templateInsights?.interval_reports}
150150
/>
@@ -162,7 +162,7 @@ export const TemplateInsightsPageView = ({
162162
);
163163
};
164164

165-
const DailyUsersPanel = ({
165+
const ActiveUsersPanel = ({
166166
data,
167167
...panelProps
168168
}: PanelProps & {
@@ -172,7 +172,7 @@ const DailyUsersPanel = ({
172172
<Panel {...panelProps}>
173173
<PanelHeader>
174174
<PanelTitle>
175-
<DAUTitle />
175+
<ActiveUsersTitle />
176176
</PanelTitle>
177177
</PanelHeader>
178178
<PanelContent>

0 commit comments

Comments
 (0)