novu
novu copied to clipboard
[NV-1249] NV 723 Prioritize In-App Notifications
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?
- Being able to show the essential user notifications.
- Make sure the user won't miss those notifications.
How?
- Allow adding a priority number to each notification.
- Add a select box if the notification should lose priority once being add.
- Arrange them when we query the DB for notifications.
Thanks.
Some thought tho, in app feed is usually sorted chronologically… so WDYT?
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.
@scopsy I would like to work on this Can you please assign this to me?
Thanks @jainpawan21 ! As usual, feel free to discuss and debate in our engineering channel on discord
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 🚀
Sure @scopsy, I will share and discuss my findings and approach in discord.
what if you use delay....