Syncing changes to email template overwrites email components added in dashboard
I am new to Novu, so appoligies if I am a bit of on the terminology. Trying to understand if the ability to have components being editable in the Novu Dashboard by non dev members makes any sense.
As I understand I can in my code define an email template, along with a custom defined list of "components", e.g. "title, text, image".
If I in the dashboard make changes and add a component, eg a heading and save.
I would expect this to still be there after syncing a new email template.
However the components has been reset.
Is there a way to ensure that the components configuration made in the dashboard stays even when syncing updates to email templates? If not then I see the feature as not usable, as devs would risk deleting non devs work when making changes (or just when a production deployment is made a github action runs to sync)...
Thank you for your insights. π
9 Replies
Hi @FuzzyLlama sync should not delete those controls that were saved on the UI dashboard previously. This only could happen if you: Changed the workflow id, or changed the structure of your Control Schema .
Is this happening to you consistently?
I don't change the workflow id or the control schema, it's just if I make changes to the react email template.
Yes it is consistent.
So should the behaviour I am seeing be seen as a bug? @Dima Grossman
@FuzzyLlama I'm trying to run the reproduction steps internally as we speak
Thank you, let me know if you need any more details.
The team is currently working on resolving the issue as soon as possible
Thank you @Dima Grossman π
@FuzzyLlama a fix was deployed, could you please verify? π
It's working now, thanks for the quick update π
@FuzzyLlama, you just advanced to level 1!