N
Novuβ€’8mo ago
BeardyWeird

Custom Notification Items and Conditional Rendering

I was working on in-app notification and I have two types of notifications one in which no action is to be performed and in other I want to create a custom item with two buttons like "Accept" and "Cancel" and perform actions accordingly. How can I achieve this? I explored the doc but unable to find a way
14 Replies
BeardyWeird
BeardyWeirdOPβ€’8mo ago
@DevRel
Pawan Jain
Pawan Jainβ€’8mo ago
@BeardyWeird In-app editor, we have CTA actions button, that can be added. So you can create two workflows one with in-app step without action buttons and other with action buttons
BeardyWeird
BeardyWeirdOPβ€’8mo ago
Ohk thanks for helping
Pawan Jain
Pawan Jainβ€’8mo ago
@BeardyWeird let me know if you face any issue
Pawan Jain
Pawan Jainβ€’8mo ago
Checkout this doc to learn how to handle action click from client side https://docs.novu.co/notification-center/client/react/get-started#onactionclick
Novu
React Get Started - Novu
Learn how to add novu powered In-App notification center to your React app
BeardyWeird
BeardyWeirdOPβ€’8mo ago
Great thanks πŸ‘
BeardyWeird
BeardyWeirdOPβ€’8mo ago
Hi @Pawan Jain I'm getting multiple warnings like this I tried reinstalling the package why's that?
No description
BeardyWeird
BeardyWeirdOPβ€’8mo ago
Hi @Support any update on this?
Pawan Jain
Pawan Jainβ€’8mo ago
@BeardyWeird What is @novu/notification-center package version?
BeardyWeird
BeardyWeirdOPβ€’8mo ago
"@novu/notification-center": "^0.24.0",
Pawan Jain
Pawan Jainβ€’8mo ago
@BeardyWeird Are these warnings preventng you from using our notification center ?
BeardyWeird
BeardyWeirdOPβ€’8mo ago
No but they are being flagged out again and again I just wanted to know if I'm missing anything as this is affecting the developer experience I use a concurrent terminal so I'm unable to see my console outputs in the terminal due to these warnings
Pawan Jain
Pawan Jainβ€’8mo ago
I agree these warnings are annoying We have open issue for this https://github.com/novuhq/novu/issues/3400 I will prioritize this issue with team πŸ™‚
BeardyWeird
BeardyWeirdOPβ€’8mo ago
Great thanks
Want results from more Discord servers?
Add your server