Merge pull request #2411 from Shivansh-22866/fix/remove_future_features

Fix/remove future features
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-06-09 09:39:46 +08:00
commit 1cdb3d1ef7
1 file changed
+6 -4
@@ -366,14 +366,15 @@ const PageSpeedConfigure = () => {
</Box> </Box>
<Stack gap={theme.spacing(6)}> <Stack gap={theme.spacing(6)}>
<Typography component="p">{t("whenNewIncident")}</Typography> <Typography component="p">{t("whenNewIncident")}</Typography>
<Checkbox {/* Future Feature: Notify via SMS */}
{/* <Checkbox
id="notify-sms" id="notify-sms"
label={t("notifySMS")} label={t("notifySMS")}
isChecked={false} isChecked={false}
value="" value=""
onChange={() => logger.warn("disabled")} onChange={() => logger.warn("disabled")}
isDisabled={true} isDisabled={true}
/> /> */}
<Checkbox <Checkbox
id="notify-email-default" id="notify-email-default"
label={`Notify via email (to ${user.email})`} label={`Notify via email (to ${user.email})`}
@@ -385,14 +386,15 @@ const PageSpeedConfigure = () => {
value={user?.email} value={user?.email}
onChange={(event) => handleChange(event)} onChange={(event) => handleChange(event)}
/> />
<Checkbox {/* Future Feature: Notify via Email */}
{/* <Checkbox
id="notify-email" id="notify-email"
label={t("notifyEmails")} label={t("notifyEmails")}
isChecked={false} isChecked={false}
value="" value=""
onChange={() => logger.warn("disabled")} onChange={() => logger.warn("disabled")}
isDisabled={true} isDisabled={true}
/> /> */}
{monitor?.notifications?.some( {monitor?.notifications?.some(
(notification) => notification.type === "emails" (notification) => notification.type === "emails"
) ? ( ) ? (