Skip to content

Commit 921a1c5

Browse files
authored
Merge pull request #3316 from bluewave-labs/fix/settings-refactor
fix/settings refactor
2 parents 1c1474c + d45e6ec commit 921a1c5

File tree

187 files changed

+1452
-5285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+1452
-5285
lines changed

client/src/App.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@ import { useSelector } from "react-redux";
33
import "react-toastify/dist/ReactToastify.css";
44
import { ToastContainer } from "react-toastify";
55
import { ThemeProvider } from "@emotion/react";
6-
import lightTheme from "./Utils/Theme/lightTheme";
7-
import darkTheme from "./Utils/Theme/darkTheme";
86
import { CssBaseline, GlobalStyles } from "@mui/material";
97
import { Routes } from "./Routes";
10-
import AppLayout from "@/Components/v2/layout/AppLayout";
8+
import AppLayout from "@/Components/layout/AppLayout";
119
import type { RootState } from "@/Types/state";
10+
import { lightTheme, darkTheme } from "@/Utils/Theme/Theme";
1211

1312
function App() {
1413
const mode = useSelector((state: RootState) => state.ui.mode);
15-
1614
const theme = mode === "light" ? lightTheme : darkTheme;
1715

1816
return (
@@ -21,8 +19,7 @@ function App() {
2119
<GlobalStyles
2220
styles={{
2321
body: {
24-
// @ts-ignore
25-
backgroundColor: theme.palette.background.main,
22+
backgroundColor: theme.palette.background.default,
2623
},
2724
}}
2825
/>
File renamed without changes.

client/src/Components/v2/common/charts/HeatmapResponseTime.tsx renamed to client/src/Components/common/charts/HeatmapResponseTime.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Box from "@mui/material/Box";
22
import { useTheme } from "@mui/material/styles";
33
import type { CheckSnapshot } from "@/Types/Check";
44
import { getResponseColor } from "@/Utils/DataUtils";
5-
import { HeatmapResponseTimeTooltip } from "@/Components/v2/common/charts/HeatmapResponseTimeTooltip";
5+
import { HeatmapResponseTimeTooltip } from "@/Components/common/charts/HeatmapResponseTimeTooltip";
66
import type { SxProps } from "@mui/material/styles";
77
import type { ResponsiveStyleValue } from "@mui/system";
88

client/src/Components/v2/common/charts/HeatmapResponseTimeTooltip.tsx renamed to client/src/Components/common/charts/HeatmapResponseTimeTooltip.tsx

File renamed without changes.

client/src/Components/v2/common/charts/HistogramResponseTime.tsx renamed to client/src/Components/common/charts/HistogramResponseTime.tsx

File renamed without changes.

client/src/Components/v2/common/controls/HeaderCreate.tsx renamed to client/src/Components/common/controls/HeaderCreate.tsx

File renamed without changes.

client/src/Components/v2/common/controls/HeaderTimeRange.tsx renamed to client/src/Components/common/controls/HeaderTimeRange.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Stack from "@mui/material/Stack";
22
import Box from "@mui/material/Box";
33
import Typography from "@mui/material/Typography";
4-
import { ToggleButtonGroup, ToggleButton } from "@/Components/v2/inputs";
4+
import { ToggleButtonGroup, ToggleButton } from "@/Components/inputs";
55
import { useTheme } from "@mui/material/styles";
66
import CircularProgress from "@mui/material/CircularProgress";
77
import { useTranslation } from "react-i18next";
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export * from "./charts/HistogramResponseTime";
2+
export * from "./charts/HeatmapResponseTime";
3+
export * from "./charts/HeatmapResponseTimeTooltip";
4+
export * from "./controls/HeaderCreate";
5+
export * from "./controls/HeaderTimeRange";
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)