diff --git a/client/src/Components/Fallback/FallBackActionButtons.jsx b/client/src/Components/Fallback/FallBackActionButtons.jsx
index fbe8fe807..144b16501 100644
--- a/client/src/Components/Fallback/FallBackActionButtons.jsx
+++ b/client/src/Components/Fallback/FallBackActionButtons.jsx
@@ -17,6 +17,7 @@ const FallbackActionButtons = ({ link, type }) => {
diff --git a/client/src/Pages/Auth/components/AuthHeader.jsx b/client/src/Pages/Auth/components/AuthHeader.jsx
index c6ad46a47..ce454c065 100644
--- a/client/src/Pages/Auth/components/AuthHeader.jsx
+++ b/client/src/Pages/Auth/components/AuthHeader.jsx
@@ -9,7 +9,7 @@ import ThemeSwitch from "../../../Components/ThemeSwitch";
import { useTheme } from "@mui/material/styles";
import { useTranslation } from "react-i18next";
-const AuthHeader = () => {
+const AuthHeader = ({ hideLogo = false }) => {
// Hooks
const theme = useTheme();
const { t } = useTranslation();
@@ -27,8 +27,12 @@ const AuthHeader = () => {
alignItems="center"
gap={theme.spacing(4)}
>
-
- {t("common.appName")}
+ {!hideLogo && (
+ <>
+
+ {t("common.appName")}
+ >
+ )}
({
style: {
backgroundColor: theme.palette.accent.main,
color: theme.palette.primary.contrastTextSecondaryDarkBg,
- fontWeight: 700,
letterSpacing: "0.5px",
textShadow: "0 0 1px rgba(0, 0, 0, 0.15)",
"&:hover": {
@@ -724,6 +723,14 @@ const baseTheme = (palette) => ({
},
],
},
+
+ MuiTooltip: {
+ styleOverrides: {
+ tooltip: () => ({
+ fontSize: typographyLevels.m,
+ }),
+ },
+ },
},
shape: {
borderRadius: 2,
diff --git a/client/src/locales/en.json b/client/src/locales/en.json
index 97aa761d1..605a50fa0 100644
--- a/client/src/locales/en.json
+++ b/client/src/locales/en.json
@@ -154,7 +154,7 @@
"incorrect": "The password you provided does not match our records"
}
},
- "heading": "Log In",
+ "heading": "Log in to continue",
"links": {
"forgotPassword": "Forgot password?",
"forgotPasswordLink": "Reset password",
@@ -168,7 +168,8 @@
"toasts": {
"incorrectPassword": "Incorrect password",
"success": "Welcome back! You're successfully logged in."
- }
+ },
+ "welcome": "Welcome back to Checkmate!"
},
"registration": {
"description": {
diff --git a/server/src/service/business/monitorService.js b/server/src/service/business/monitorService.js
index c52b5cadf..32f7d1ebe 100644
--- a/server/src/service/business/monitorService.js
+++ b/server/src/service/business/monitorService.js
@@ -71,7 +71,7 @@ class MonitorService {
};
createMonitor = async ({ teamId, userId, body }) => {
- const monitor = await this.db.createMonitor({
+ const monitor = await this.db.monitorModule.createMonitor({
body,
teamId,
userId,
@@ -122,7 +122,7 @@ class MonitorService {
await createMonitorsBodyValidation.validateAsync(enrichedData);
- const monitors = await this.db.createBulkMonitors(enrichedData);
+ const monitors = await this.db.monitorModule.createBulkMonitors(enrichedData);
await Promise.all(
monitors.map(async (monitor) => {
@@ -141,14 +141,14 @@ class MonitorService {
deleteMonitor = async ({ teamId, monitorId }) => {
await this.verifyTeamAccess({ teamId, monitorId });
- const monitor = await this.db.deleteMonitor({ teamId, monitorId });
+ const monitor = await this.db.monitorModule.deleteMonitor({ teamId, monitorId });
await this.jobQueue.deleteJob(monitor);
await this.db.statusPageModule.deleteStatusPagesByMonitorId(monitor._id);
return monitor;
};
deleteAllMonitors = async ({ teamId }) => {
- const { monitors, deletedCount } = await this.db.deleteAllMonitors(teamId);
+ const { monitors, deletedCount } = await this.db.monitorModule.deleteAllMonitors(teamId);
await Promise.all(
monitors.map(async (monitor) => {
try {
@@ -171,19 +171,19 @@ class MonitorService {
editMonitor = async ({ teamId, monitorId, body }) => {
await this.verifyTeamAccess({ teamId, monitorId });
- const editedMonitor = await this.db.editMonitor({ monitorId, body });
+ const editedMonitor = await this.db.monitorModule.editMonitor({ monitorId, body });
await this.jobQueue.updateJob(editedMonitor);
};
pauseMonitor = async ({ teamId, monitorId }) => {
await this.verifyTeamAccess({ teamId, monitorId });
- const monitor = await this.db.pauseMonitor({ monitorId });
+ const monitor = await this.db.monitorModule.pauseMonitor({ monitorId });
monitor.isActive === true ? await this.jobQueue.resumeJob(monitor._id, monitor) : await this.jobQueue.pauseJob(monitor);
return monitor;
};
addDemoMonitors = async ({ userId, teamId }) => {
- const demoMonitors = await this.db.addDemoMonitors(userId, teamId);
+ const demoMonitors = await this.db.monitorModuleaddDemoMonitors(userId, teamId);
await Promise.all(demoMonitors.map((monitor) => this.jobQueue.addJob(monitor._id, monitor)));
return demoMonitors;
};