commenting out checkboxs and input box instead of deleting for future implementations

This commit is contained in:
Darshan Jain
2025-01-20 13:26:29 +05:30
parent 6ed8f93688
commit d8b1d63faa

View File

@@ -376,6 +376,14 @@ const Configure = () => {
</Box>
<Stack gap={theme.spacing(6)}>
<Typography component="p">When there is a new incident,</Typography>
{/* <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})`}
@@ -387,6 +395,32 @@ const Configure = () => {
value={user?.email}
onChange={(event) => handleChange(event)}
/>
{/* <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(
(notification) => notification.type === "emails"
) ? (
<Box mx={theme.spacing(16)}>
<TextInput
id="notify-email-list"
type="text"
placeholder="name@gmail.com"
value=""
onChange={() => logger.warn("disabled")}
/>
<Typography mt={theme.spacing(4)}>
You can separate multiple emails with a comma
</Typography>
</Box>
) : (
""
)} */}
</Stack>
</ConfigBox>
<ConfigBox>