Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1584 Removed Checkboxes for Notification : SMS & Multi Email #1587

Merged
merged 7 commits into from
Jan 20, 2025
13 changes: 7 additions & 6 deletions Client/src/Pages/Uptime/Configure/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,14 +376,15 @@ const Configure = () => {
</Box>
<Stack gap={theme.spacing(6)}>
<Typography component="p">When there is a new incident,</Typography>
<Checkbox
{/* {Leaving components commented for future funtionality implimentation} */}
{/* <Checkbox
id="notify-sms"
label="Notify via SMS (coming soon)"
isChecked={false}
value=""
onChange={() => logger.warn("disabled")}
isDisabled={true}
/>
/> */}
<Checkbox
id="notify-email-default"
label={`Notify via email (to ${user.email})`}
Expand All @@ -395,15 +396,15 @@ const Configure = () => {
value={user?.email}
onChange={(event) => handleChange(event)}
/>
<Checkbox
{/* <Checkbox
id="notify-email"
label="Also notify via email to multiple addresses (coming soon)"
isChecked={false}
value=""
onChange={() => logger.warn("disabled")}
isDisabled={true}
/>
{monitor?.notifications?.some(
/> */}
{/* {monitor?.notifications?.some(
(notification) => notification.type === "emails"
) ? (
<Box mx={theme.spacing(16)}>
Expand All @@ -420,7 +421,7 @@ const Configure = () => {
</Box>
) : (
""
)}
DMJain marked this conversation as resolved.
Show resolved Hide resolved
)} */}
</Stack>
</ConfigBox>
<ConfigBox>
Expand Down