Closed wmnnd closed 2 years ago
@panoramix360, @gbottari: I’d really appreciate it if you could give this PR a look and let me know what you think! :pray:
@panoramix360 Excellent! I’ve added some more details of what the PR changes in the PR description.
I think there are some bugs in the editor in this branch, but I’m already working on fixing those.
HI @wmnnd, I looked into your PR, sorry for the delay, the PR is very long hehe
Pretty nice feature! I think that will be good to have this on Keila! Congrats!
Some suggestions:
I tested and found some minor bugs:
I noticed something strange too, I'll try to write the steps so you can reproduce:
Maybe don't letting a campaign being created if the user has not configured any senders will be a better choice, I don't know.
Sorry for the extense reply haha
Tomorow, me and @gbottari will begin looking into the rate limiter issue.
But if you want I can help you tackle this issues above!
Let me know what you think :)
Hi guys! I think @panoramix360 made some great points. I also think this PR is great because it will enable the personalization of newsletters.
I noticed that JsonField
does not allow JSON arrays. But it's not clear to me why that is. I think it is a valid use case. Imagine one wishes to reference a contact recommended products, like ['apples', 'oranges', 'bananas']
.
I also think it is worth limiting the maximum size of contact.data
and campaign.data
to prevent abuse (maybe adding a constraint).
Hey @panoramix360 and @gbottari, thanks for this very useful feedback!
campaign.data
is always an object. If users want to use an array, they could easily just do something like {"my_array": ["foo", "bar"]}
So here are the things that still need fixing as a takeaway from your comments:
I'm glad that you liked our feedback, if you need any more help with this PR, just let us know
We'll now focus our efforts in the send rate issue
I’m working on a new modal for adding Liquid tags, this should make things a bit easier! What do you think?
I think this is a great opportunity to show the user what the feature can do!
The Liquid dialog is now ready! Let me know what you think, I think this PR is ready to merge :partying_face:
I tested and now I think it's pretty nice, well done
It'll be a great addition to the project :)
@panoramix360 Thanks for testing it and all the feedback you’ve given, that’s been really helpful!
Implements #103
Here is campaign data in action:
This PR does the following:
JsonField
type forcampaign.data
andcontact.data
data
data field to campaigns