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:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user