Novu changelog
v2.2.0 Inbox - Customizing subscriber preferences and more!
You can now filter the subscriber preference list on our <Inbox /> component. This is very handy when you have multiple user types in your system, and they don't need to see specific notification workflows that are irrelevant to them.
This is achieved by passing the preferencesFilter
prop to the component and mentioning the workflow tags the current subscriber should see.
<Inbox
applicationIdentifier="YOUR_APPLICATION_IDENTIFIER"
subscriberId="YOUR_SUBSCRIBER_ID"
preferencesFilter={{ tags: ['mention', 'newsletter', 'security'] }}
/>
New popover animations
Added a new subtle and slick show and hide animation when opening the Inbox component.
Other notable changes
The shadows of the Inbox can now be controlled using the
colorShadow
variableImproved the spacing around the "Time Ago" label when long notification text is visible