feat: add nudge functionality to chore cards and action menu; enhance user notifications

fix Filtering when imposing user to respect the sort and grouping order
This commit is contained in:
Mo Tarbin
2025-09-18 01:14:51 -04:00
parent 707ba55e1d
commit eded4b2e16
5 changed files with 137 additions and 7 deletions

View File

@@ -9,6 +9,7 @@ import {
MoreVert,
NextWeek,
Nfc,
Notifications,
NoteAdd,
RecordVoiceOver,
SwitchAccessShortcut,
@@ -40,6 +41,7 @@ const ChoreActionMenu = ({
onChangeAssignee,
onChangeDueDate,
onWriteNFC,
onNudge,
onDelete,
onOpen,
onMouseEnter,
@@ -315,6 +317,16 @@ const ChoreActionMenu = ({
<RecordVoiceOver />
Delegate to someone else
</MenuItem>
<MenuItem
onClick={e => {
e.stopPropagation()
onNudge?.()
handleMenuClose()
}}
>
<Notifications />
Send nudge
</MenuItem>
<Divider />
<MenuItem
onClick={e => {