N
Novu9mo ago
niaz

How to manage "archived" for notification

I want to create a notification system where there will be three tabs "All", "Unread", "Archived" For each notification item I want to allow users to make it archived by clicking a button. In this scenario how it is suggested to manage it? Should I create a new feed called "Archived"? If so how could I manage a notification to go in that feed after click? Any live example would be best! Collaborate
9 Replies
niaz
niaz9mo ago
P.S: I'm using the headless library
Pawan Jain
Pawan Jain9mo ago
@niazmorshed Currently, we have two states read and seen. We don't have archived state. We do have option to delete the notification. But it will not be available to fetch again
niaz
niaz9mo ago
Can it be done via payload? Idk if we can update a notification after it's triggered
Pawan Jain
Pawan Jain9mo ago
Unfortunately, no after trigger, payload can not be updated
niaz
niaz9mo ago
So there is no way atm for supporting archived?
Pawan Jain
Pawan Jain9mo ago
Unfortunately, No
niaz
niaz9mo ago
How much time it can take for you guys to support archived state?
Pawan Jain
Pawan Jain9mo ago
I see it is a common use case We can definitely prioritize this can you please help us in adding/upvoting here in our roadmap? https://roadmap.novu.co/roadmap