SuPP
NNovu
•Created by SuPP on 10/6/2023 in #💬│support
novu/headless how to destroy session?
for init Novu session we use
when user logout we use:
9 replies
NNovu
•Created by SuPP on 10/6/2023 in #💬│support
novu/headless how to destroy session?
We have a problem in such a case:
- the first user logs in, performs some actions on the site that should later display a notification to him
- logout
- the second user logs in and receives notifications from the first user
9 replies
NNovu
•Created by SuPP on 9/24/2023 in #💬│support
Modificate message object
We know that we can just describe JSON inside content, but perhaps there is a better solution
8 replies
NNovu
•Created by SuPP on 9/24/2023 in #💬│support
Modificate message object
We see the solution to this issue as follows:
- there is still a content field in the message object, where the message is formed as before
- but also in addition, a field with additional variables of the message object will appear in the message object, where there will be a field with an array of users, which is usually available at the stage of message formation
8 replies
NNovu
•Created by SuPP on 9/24/2023 in #💬│support
Modificate message object
An example of what we want to implement:
we use the digest engine and want to get full information about
step.events
on the frontend....
for example, show the user a message:
Several people liked your postand add the ability to open additional information about the message where there would be a list of users who have put reactions to the post and for this implementation we need an array of these users who have put a reaction
8 replies
NNovu
•Created by SuPP on 9/22/2023 in #💬│support
Custom handlebars helper
okay, thank you very match
14 replies
NNovu
•Created by SuPP on 9/22/2023 in #💬│support
Custom handlebars helper
Mike and 1 user wrote you a message
Mike and 2 user's wrote you a message
Mike and 5 user's wrote you a message
but in russian its 3 variants
Майк и 1 пользователь написал вам сообщение
Майк и 2 пользователя написали вам сообщение
Майк и 5 пользователей написали вам сообщение
14 replies
NNovu
•Created by SuPP on 9/22/2023 in #💬│support
Custom handlebars helper
1 пользователь
2 пользователя
5 пользователей
these are the subtleties of the Russian language and that's why we wanted to manually write our helper, I hope you understand what I mean
14 replies
NNovu
•Created by SuPP on 9/22/2023 in #💬│support
Custom handlebars helper
something like - pluralize step.events "пользователь" "пользователя" "пользователей"
14 replies
NNovu
•Created by SuPP on 9/22/2023 in #💬│support
Custom handlebars helper
as in the i18n library
14 replies
NNovu
•Created by SuPP on 9/22/2023 in #💬│support
Custom handlebars helper
We would like to extend the current plural for the features of the Russian language
14 replies
NNovu
•Created by SuPP on 9/22/2023 in #💬│support
Custom handlebars helper
and where is the plural handlebars helper? from older version
14 replies
NNovu
•Created by SuPP on 9/20/2023 in #💬│support
Whats the problem with Email Channel?
yeah... i just removed from layout
<style type="text/css"></style>
and it work thx10 replies
NNovu
•Created by SuPP on 9/20/2023 in #💬│support
Whats the problem with Email Channel?
u mean this?
https://discord.com/channels/895029566685462578/1147163478369517608/1147223825927385129
10 replies
NNovu
•Created by SuPP on 9/20/2023 in #💬│support
Whats the problem with Email Channel?
our email layout:
10 replies