novu icon indicating copy to clipboard operation
novu copied to clipboard

[NV-1249] NV 723 Prioritize In-App Notifications

Open nevo-david opened this issue 2 years ago • 7 comments

What?

Not all notifications are born equal; some are more important than others. For example, a "friend request" on Facebook is more important than a "like" on a picture. So, we need to allow to add a priority number to notifications for sorting. For example: Friend request - 1 Like on a picture - 2

So my In-app feed would look like friend request friend request friend request like on a picture like on a picture ...more notifications without priority

Also, let the user choose if the notification loses priority once it's being read

Why?

  1. Being able to show the essential user notifications.
  2. Make sure the user won't miss those notifications.

How?

  1. Allow adding a priority number to each notification.
  2. Add a select box if the notification should lose priority once being add.
  3. Arrange them when we query the DB for notifications.

NV-1249

nevo-david avatar Jul 31 '22 07:07 nevo-david

Thanks.

Some thought tho, in app feed is usually sorted chronologically… so WDYT?

oba2311 avatar Aug 03 '22 12:08 oba2311

The notifications with the priority should ignore the date order. They should have their on-date order inside the priority. For example, if you give two notifications the same priority.

nevo-david avatar Aug 04 '22 06:08 nevo-david

@scopsy I would like to work on this Can you please assign this to me?

jainpawan21 avatar Aug 11 '22 16:08 jainpawan21

Thanks @jainpawan21 ! As usual, feel free to discuss and debate in our engineering channel on discord

ainouzgali avatar Aug 11 '22 17:08 ainouzgali

Thanks @ainouzgali for the intro, as Gali mentioned this one is not really ready for work yet because we need to understand where it sits with functionality and what API will manage it and how exactly it will be configured. Let me know if you had a chance to think about a way to solve this and we can brainstorm on how this can be achieved here or Discord 🚀

scopsy avatar Aug 12 '22 09:08 scopsy

Sure @scopsy, I will share and discuss my findings and approach in discord.

jainpawan21 avatar Aug 13 '22 07:08 jainpawan21

what if you use delay....

matigumma avatar Sep 16 '22 23:09 matigumma