N
Novu15mo 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
niazOP15mo ago
P.S: I'm using the headless library
Pawan Jain
Pawan Jain15mo 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
niazOP15mo ago
Can it be done via payload? Idk if we can update a notification after it's triggered
Pawan Jain
Pawan Jain15mo ago
Unfortunately, no after trigger, payload can not be updated
niaz
niazOP15mo ago
So there is no way atm for supporting archived?
Pawan Jain
Pawan Jain15mo ago
Unfortunately, No
niaz
niazOP15mo ago
How much time it can take for you guys to support archived state?
Pawan Jain
Pawan Jain15mo 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
Want results from more Discord servers?
Add your server