Skip to content

Commit a578d48

Browse files
committed
Add info section for notifications
1 parent 88afff1 commit a578d48

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

ai-harvest-timesheet/src/components/notifications/NotificationSettingsDialog.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
FormControlLabel,
1010
Switch,
1111
Typography,
12+
Alert,
1213
} from '@mui/material';
1314
import { TimePicker } from '@mui/x-date-pickers/TimePicker';
1415
import { LocalizationProvider } from '@mui/x-date-pickers';
@@ -62,6 +63,20 @@ export const NotificationSettingsDialog: React.FC<NotificationSettingsDialogProp
6263
Configure daily time logging reminders. Notifications will be shown on weekdays only.
6364
</Typography>
6465

66+
{process.platform === 'darwin' && (
67+
<Alert severity="info" sx={{ mb: 3 }}>
68+
<Typography variant="body2">
69+
To receive notifications on macOS, you need to allow them in System Settings:
70+
</Typography>
71+
<ol style={{ marginTop: 8, marginBottom: 0, paddingLeft: 16 }}>
72+
<li>Open System Settings</li>
73+
<li>Go to "Notifications"</li>
74+
<li>Find "Harvest Timesheet" in the list</li>
75+
<li>Enable notifications for the app</li>
76+
</ol>
77+
</Alert>
78+
)}
79+
6580
<FormControlLabel
6681
control={
6782
<Switch

0 commit comments

Comments
 (0)