Dashboard badge handler
Summary
- Making API call to delete task alerts for current user when user lands up on "edits" (Manuscript I'm editor of) tab
- Updating task alerts when there is a change in task status (we call a different mutation on task status dropdown change)
-
createNewTaskAlerts
that is triggered via cron has updated checks for non-null due date & only in-progress tasks -
updateAlertsUponTeamUpdate
that is triggered when team update happens for a manuscript also has updated checks -
updateAlertsForTask
that was getting triggered fromupdateTask
mutation also has updated checks