Khong
NNovu
•Created by Khong on 12/17/2023 in #🚀│general
Cancelling Delayed Jobs Edge Case
Hi @Pawan Jain !
I understand. The point I was trying to make was that if the cancel event endpoint was called too soon, some delayed jobs won't be cancelled.
3 replies
NNovu
•Created by Khong on 12/16/2023 in #🚀│general
Make QUEUE_CHUNK_SIZE configurable via env var?
Yes! I'll make one and tag you. Thanks.
7 replies
NNovu
•Created by PidginEnemy on 11/9/2023 in #💬│support
Got error after trying to use novu.broadcast
For anyone stumbling upon this thread. We had this error as well. The error was fixed on 0.22.
https://github.com/novuhq/novu/commit/69ed7fd6541998dfae7a9703626a5b03e3698d08#r134600445
6 replies
NNovu
•Created by Khong on 12/9/2023 in #🚀│general
No Notification When Running Novu from Source
Hi! Yes I have Redis running.
7 replies
NNovu
•Created by Khong on 12/9/2023 in #🚀│general
No Notification When Running Novu from Source
7 replies
NNovu
•Created by Khong on 10/25/2023 in #💬│support
Obtaining Digest Data
@Pawan Jain Hello!
Is there a way to obtain those info without making an extra API call?
Let me lay out the full context, perhaps I'm missing something. We are developing a friend request notification feature with digest. You know, the standard
Person sent you a friend request
or Person and x people ...
. The thing is, if it's just one person, we will show an accept button in the notification toast UI, otherwise, we don't show anything.
I have looked into both @novu/headless and @novu/headless-center (using react). I went with using socket.on(WebSocketEventEnum.RECEIVED, () => {...})
. The problem is that the data is of type IMessage and does not contain the digest data and an additional API call to get the notification entity data is necessary.
So my question is: is there a different way of getting the digest data? Am I missing something here?5 replies
NNovu
•Created by dmgarland on 9/4/2023 in #💬│support
Writing dynamic workflow template based on digest count
That's clever! I'll try that right away. Thank you!
11 replies
NNovu
•Created by dmgarland on 9/4/2023 in #💬│support
Writing dynamic workflow template based on digest count
Is there a way to subtract one from the step count? For example, if I do "John and {{step.total_count}} people liked your photo", the step.total_count would be off by one because one of them, "John", is already mentioned.
11 replies