#Syncing changes to email template overwrites email components added in dashboard

1 messages · Page 1 of 1 (latest)

junior basin
#

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. 💙

unborn marten
#

Hi @junior basin 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?

junior basin
#

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.

junior basin
#

So should the behaviour I am seeing be seen as a bug? @unborn marten

unborn marten
#

@junior basin I'm trying to run the reproduction steps internally as we speak

junior basin
#

Thank you, let me know if you need any more details.

unborn marten
#

The team is currently working on resolving the issue as soon as possible

junior basin
#

Thank you @unborn marten 💙

unborn marten
#

@junior basin a fix was deployed, could you please verify? 🙏

junior basin
#

It's working now, thanks for the quick update 💙