Skip to content
Snippets Groups Projects

Feature to create directly addressed Todos when mentioned in beginning

Compare and
13 files
+ 370
25
Compare changes
  • Side-by-side
  • Inline
Files
13
@@ -14,6 +14,7 @@ def todo_action_name(todo)
when Todo::BUILD_FAILED then 'The build failed for your'
when Todo::MARKED then 'added a todo for'
when Todo::APPROVAL_REQUIRED then 'set you as an approver for'
when Todo::DIRECTLY_ADDRESSED then 'directly addressed you on'
end
end
@@ -85,7 +86,8 @@ def todo_actions_options
[
{ id: '', text: 'Any Action' },
{ id: Todo::ASSIGNED, text: 'Assigned' },
{ id: Todo::MENTIONED, text: 'Mentioned' }
{ id: Todo::MENTIONED, text: 'Mentioned' },
{ id: Todo::DIRECTLY_ADDRESSED, text: 'Directly addressed' }
]
end
Loading