Dima_hat
NNovu
•Created by Dima_hat on 9/24/2024 in #💬│support
Having subscribers without last name
I have one small question on how to handle actors without lastName (we have some such users)
We are using
{{actor.lastName}}
directly in some of our i18n strings and it works perfectly to any actors who contain lastName. If it is not provided - the template code appears directly in the notifications.
Trying to call
and checking subscriber data afterwards - doesn't show lastName
in the object. Only after setting it to a single space we were able to remove the template appearing in the notifications, but storing a space there may be not the best thing as it can appear unexpectedly somewhere. Is there a better way to provide such empty variable or just not to show the template variable?1 replies
NNovu
•Created by Dima_hat on 8/5/2024 in #💬│support
Using nested translation variables
We want to create some complex notification massages that require to have nested translated messages/variables.
We want to have two translations of same message:
"{{firstName}} has changed the status to {{newStatus}}." (English)
"{{firstName}} hat den Status auf {{newStatus}} geändert." (German)
And here we have a problem of properly setting text for "newStatus".
I haven't found a way to store possible statuses as different texts in same i18n file and to reference them in any way
Setting such in-app text
Results in error "Failed to extract variables"
Without putting
newStatus
variable - everything works as expected.
Is it possible to somehow use i18n messages in another message? Or what would be your advice regarding such messages?16 replies
NNovu
•Created by Dima_hat on 7/15/2024 in #💬│support
Digest do not provide actor data of an event sender
After the digest step it seems like {{actor.firstName}} (and another properties of an actor, who triggered event) - cannot be accessed inside of the {{#each step.events}} block inside of the email step
Is it possible to access such data?
14 replies
NNovu
•Created by Dima_hat on 3/28/2024 in #💬│support
Is there some cache of the actors data?
Stumbled upon such issue:
We are using actor.firstName and actor.lastName in some of our workflows.
I've created new development subscriber. Triggered notification. Saw that accidentally subscriber was created with empty firstName and lastName. Updated subscriber information using bulkCreate. Tried to trigger new notifications and still subscriber information is empty (I've updated subscriber info more than 20 minutes ago).
It all happened in development environment.
Is there some sort of cache on subscribers information or what can be an issue?
14 replies
NNovu
•Created by Dima_hat on 3/12/2024 in #💬│support
Angular component is showing only 10 notifications
We are using Angular and everything seems to be working fine, but we are not getting all the notifications in the notifications center. It seems to be showing only 10 notifications from the first call to
notifications/feed
endpoint, but doesn't care about the hasMore
flag
Is there a way to get more than 10 notifications?10 replies
NNovu
•Created by Dima_hat on 3/6/2024 in #💬│support
Subscribers with same ids
For some reason we have several subscribers that have exactly same
subscriberId
in our environment.
How is this possible and what should we do about it?
The Ids were shared privately for this one
It's not the only one such subscriber, so happened several times6 replies
NNovu
•Created by Dima_hat on 3/6/2024 in #💬│support
Activity feed between two tabs
If you open the first tab as activity feed for development and after that open a second tab with activity feed for production both tabs will be showing the same (production) activity feed. The switch on the first tab continues to be "Development", but the data shown an the page - is from "Production".
Not usre if it happens in other places as well
5 replies
NNovu
•Created by Dima_hat on 3/6/2024 in #💬│support
Production activity appear in development
For some reason several of the events that were triggered in our production environment seems to appear in development environment as well.
The data sent for both notifications is the same and time is also same.
It happened 04.03.2024 at 15:39:06 and at 16:00:00.
Only several of such events appeared in both environments.
Not sure how safe is to share full transaction ids, so will share only the starting part
Production transaction
15:39
20b20984
16:00
dbf2c3c4
Corresponding development
15:39
888ad373
16:00
b03ea9f2
What can be the reason of having these data in both environments?
6 replies