Mark notifications as read when the corresponding action is performed #147
Labels
enhancement
Related to improvements of existing features and/or addition of new ones
full stack
Requires work on both the front and back ends of the application
Right now, almost all the the notifications are marked as read when the page they link to is visited, but it would be better to mark them as read when the corresponding action is performed (if it makes sense, as there can be cases where it's better to leave the current behavior). The only notification that currently behaves like this is the email confirmation one.
An example: the initial notification that asks the user to upload an avatar gets marked as read when the user visits
/users/:userId/edit
, but it would be better to mark it as read when the user actually uploads an avatar.The text was updated successfully, but these errors were encountered: