Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NV-1541: handle default novu layout #2551

Merged
merged 5 commits into from
Jan 20, 2023

Conversation

scopsy
Copy link
Contributor

@scopsy scopsy commented Jan 20, 2023

What change does this PR introduce?

When creating a new environment add default layout to it.

Why was this change needed?

Closes NV-1541 to make sure new organizations created are created with the default novu layout.

Other information (Screenshots)

@linear
Copy link

linear bot commented Jan 20, 2023

NV-1541 Handle default novu layout

create default layout per organization + environment.

show it in the layouts table. As editable/deletable?

if no layout - compile novuDefaultLayout only to editor

@scopsy scopsy changed the base branch from next to feat-layouts January 20, 2023 10:41
Comment on lines -23 to 28
"include": "app/content-templates/usecases/compile-template/templates/layout.handlebars",
"include": "app/layouts/usecases/get-novu-layout/templates/layout.handlebars",
"outDir": "dist/src"
},
{
"include": "app/content-templates/usecases/compile-template/templates/basic.handlebars",
"include": "app/content-templates/usecases/compile-email-template/templates/basic.handlebars",
"outDir": "dist/src"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactored the locaiton of those to live closely to the relevant parts where they belong to

Copy link
Contributor

@p-fernandez p-fernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments. Thanks for helping us with this.

@scopsy scopsy merged commit f102b65 into feat-layouts Jan 20, 2023
@scopsy scopsy deleted the nv-1541-handle-default-novu-layout branch January 20, 2023 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants