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

Add tooltip for on-call notification clarity #4219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
Radio,
RadioGroup,
TextField,
Tooltip,
Typography,
} from '@mui/material'
import makeStyles from '@mui/styles/makeStyles'
Expand All @@ -20,6 +21,7 @@ import { EVERY_DAY, NO_DAY } from './util'
import { useSchedOnCallNotifyTypes } from '../../util/RequireConfig'
import { DestinationInput, WeekdayFilter } from '../../../schema'
import DestinationField from '../../selection/DestinationField'
import { Info } from '@mui/icons-material'

const days = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']

Expand Down Expand Up @@ -100,7 +102,14 @@ export default function ScheduleOnCallNotificationsForm(
<FormControlLabel
data-cy='notify-on-change'
disabled={props.disabled}
label='Notify when on-call changes'
label={
<React.Fragment>
Notify when on-call changes{' '}
<Tooltip title='When multiple rules are configured, including timed notifications, only a single message will be sent to each destination when a change occurs.'>
<Info />
</Tooltip>
</React.Fragment>
}
value='on-change'
control={<Radio />}
/>
Expand Down
Loading