feat: Ability to choose the custom time for snooze conversation (#7257)

This commit is contained in:
Muhsin Keloth
2023-06-19 18:23:35 +05:30
committed by GitHub
parent c410fe333a
commit 9bb455ec2d
6 changed files with 149 additions and 30 deletions

View File

@@ -93,6 +93,15 @@ const SNOOZE_CONVERSATION_ACTIONS = [
handler: () =>
bus.$emit(CMD_SNOOZE_CONVERSATION, SNOOZE_OPTIONS.UNTIL_NEXT_MONTH),
},
{
id: SNOOZE_OPTIONS.UNTIL_CUSTOM_TIME,
title: 'COMMAND_BAR.COMMANDS.CUSTOM',
section: 'COMMAND_BAR.SECTIONS.SNOOZE_CONVERSATION',
parent: 'snooze_conversation',
icon: ICON_SNOOZE_CONVERSATION,
handler: () =>
bus.$emit(CMD_SNOOZE_CONVERSATION, SNOOZE_OPTIONS.UNTIL_CUSTOM_TIME),
},
];
const RESOLVED_CONVERSATION_ACTIONS = [