From a55163de56cef94c0d59455584d254e15860ea10 Mon Sep 17 00:00:00 2001 From: gorkem-bwl Date: Sat, 24 Jan 2026 11:03:47 -0500 Subject: [PATCH] fix: resolve monitorUtils naming conflict on case-insensitive filesystems ## Changes - Rename monitorUtils.js to monitorUtilsLegacy.js to avoid conflict with MonitorUtils.ts - Update imports in IncidentActionsMenu, JobTable, FailedJobTable, and PageSpeed/Create --- .../Incidents/Components/IncidentTable/IncidentActionsMenu.jsx | 2 +- client/src/Pages/Logs/Queue/components/FailedJobTable/index.jsx | 2 +- client/src/Pages/Logs/Queue/components/JobTable/index.jsx | 2 +- client/src/Pages/PageSpeed/Create/index.jsx | 2 +- client/src/Utils/{monitorUtils.js => monitorUtilsLegacy.js} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename client/src/Utils/{monitorUtils.js => monitorUtilsLegacy.js} (100%) diff --git a/client/src/Pages/Incidents/Components/IncidentTable/IncidentActionsMenu.jsx b/client/src/Pages/Incidents/Components/IncidentTable/IncidentActionsMenu.jsx index 53b0adb11..d125a9fdb 100644 --- a/client/src/Pages/Incidents/Components/IncidentTable/IncidentActionsMenu.jsx +++ b/client/src/Pages/Incidents/Components/IncidentTable/IncidentActionsMenu.jsx @@ -9,7 +9,7 @@ import ResolveIncidentDialog from "../ResolveIncidentDialog/index.jsx"; import { useState } from "react"; import { useTheme } from "@emotion/react"; import { useTranslation } from "react-i18next"; -import { TypeToPathMap } from "@/Utils/monitorUtils.js"; +import { TypeToPathMap } from "@/Utils/monitorUtilsLegacy.js"; import { useNavigate } from "react-router-dom"; import PropTypes from "prop-types"; diff --git a/client/src/Pages/Logs/Queue/components/FailedJobTable/index.jsx b/client/src/Pages/Logs/Queue/components/FailedJobTable/index.jsx index 7af738473..49f6317bf 100644 --- a/client/src/Pages/Logs/Queue/components/FailedJobTable/index.jsx +++ b/client/src/Pages/Logs/Queue/components/FailedJobTable/index.jsx @@ -4,7 +4,7 @@ import DataTable from "@/Components/v1/Table/index.jsx"; import { useNavigate } from "react-router-dom"; import { useTheme } from "@emotion/react"; -import { TypeToPathMap } from "../../../../../Utils/monitorUtils.js"; +import { TypeToPathMap } from "../../../../../Utils/monitorUtilsLegacy.js"; import PropTypes from "prop-types"; import { useTranslation } from "react-i18next"; diff --git a/client/src/Pages/Logs/Queue/components/JobTable/index.jsx b/client/src/Pages/Logs/Queue/components/JobTable/index.jsx index 25414da85..33636b6f5 100644 --- a/client/src/Pages/Logs/Queue/components/JobTable/index.jsx +++ b/client/src/Pages/Logs/Queue/components/JobTable/index.jsx @@ -5,7 +5,7 @@ import Typography from "@mui/material/Typography"; import PropTypes from "prop-types"; import { useTheme } from "@emotion/react"; import { useNavigate } from "react-router-dom"; -import { TypeToPathMap } from "../../../../../Utils/monitorUtils.js"; +import { TypeToPathMap } from "../../../../../Utils/monitorUtilsLegacy.js"; import { useTranslation } from "react-i18next"; import { createHeaderFactory } from "@/Components/v1/Table/TableUtils.js"; diff --git a/client/src/Pages/PageSpeed/Create/index.jsx b/client/src/Pages/PageSpeed/Create/index.jsx index b218ff381..6a786eb00 100644 --- a/client/src/Pages/PageSpeed/Create/index.jsx +++ b/client/src/Pages/PageSpeed/Create/index.jsx @@ -16,7 +16,7 @@ import Radio from "@/Components/v1/Inputs/Radio/index.jsx"; import { useState, useEffect } from "react"; import { useSelector } from "react-redux"; import { monitorValidation } from "../../../Validation/validation.js"; -import { parseDomainName } from "../../../Utils/monitorUtils.js"; +import { parseDomainName } from "../../../Utils/monitorUtilsLegacy.js"; import { useTranslation } from "react-i18next"; import { useGetNotificationsByTeamId } from "../../../Hooks/useNotifications.js"; import { useTheme } from "@emotion/react"; diff --git a/client/src/Utils/monitorUtils.js b/client/src/Utils/monitorUtilsLegacy.js similarity index 100% rename from client/src/Utils/monitorUtils.js rename to client/src/Utils/monitorUtilsLegacy.js