N
Novu6mo ago
JohnLatte

Is there a pattern for notification status?

If I want to report on a status of something e.g. bulk upload, and I want to notify the user of the progress from 0 to 100%, what is the best pattern to achieve this?
5 Replies
Ask Inkeep
Ask Inkeep6mo ago
Hi @JohnLatte, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question. ----------------------------- While I generate an answer, here are some sources that might be helpful: * How to Add Digest to Email Notifications * How to batch product notifications via code * How to use Headless Notification Center * What is Novu ----------------------------- Answer Sorry, I wasn't able to find any information about your question. However, here are some potentially relevant resources that might be helpful: 1. How to Add Digest to Email Notifications 2. How to batch product notifications via code 3. Best Practices - How to Not Over Notify Your Users - Novu These resources might provide some insights into notification patterns and best practices, although they don't directly address progress reporting from 0 to 100%. You might want to click on the "Ask for help" button to tag a team member who can review your specific question about progress notification patterns. Feel free to tag @Ask Inkeep with additional questions.
Pawan Jain
Pawan Jain6mo ago
@JohnLatte Do you want to notify user when upload starts, in progress and gets completed?
Dima Grossman
Dima Grossman6mo ago
@JohnLatte one suggestion, is to render a custom notification item component, and query your API for the status of the upload and render it dynamically in React.
JohnLatte
JohnLatteOP6mo ago
@Pawan Jain, yup. @Dima Grossman, do you mean avoid using Novu altogether? I was thinking we can use novu, and have some kind of filter with a limit: 1 to return the latest notification for a particular type. And render that in our own component. That way we won't need to create our own API and can leverage the realtime notifications that comes with novu.
Dima Grossman
Dima Grossman6mo ago
Yep, so my suggestion is only use novu to fire one notificaiton when the process starts, but use your api to make it dynamic. Is this notificaiton will be visible in the notification center or some sort of a banner?
Want results from more Discord servers?
Add your server