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

feat(api,dashboard): Require either subject or body for in-app #8050

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

desiprisg
Copy link
Contributor

What changed? Why was the change needed?

Screenshots

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

@desiprisg desiprisg self-assigned this Apr 2, 2025
Copy link

linear bot commented Apr 2, 2025

Copy link

netlify bot commented Apr 2, 2025

Deploy Preview for dashboard-v2-novu-staging canceled.

Name Link
🔨 Latest commit 5d7e80d
🔍 Latest deploy log https://app.netlify.com/sites/dashboard-v2-novu-staging/deploys/67f3bf5c904f4b000817dad6

@desiprisg desiprisg force-pushed the nv-5614-require-email-subject-in-email-step branch from d42a8bf to d38d64e Compare April 3, 2025 12:25
@desiprisg desiprisg force-pushed the nv-5614-require-email-subject-in-email-step branch from d38d64e to 78c219e Compare April 3, 2025 12:26
@desiprisg desiprisg marked this pull request as ready for review April 3, 2025 12:26
@desiprisg desiprisg force-pushed the nv-5614-require-email-subject-in-email-step branch from 78c219e to 4af57c7 Compare April 4, 2025 09:26
@desiprisg desiprisg force-pushed the nv-5614-require-email-subject-in-email-step branch from 4af57c7 to 14621d0 Compare April 4, 2025 13:14
@@ -23,7 +23,7 @@ const redirectUrlRegex =

const redirectZodSchema = z.object({
url: z.string().regex(redirectUrlRegex),
target: z.enum(['_self', '_blank', '_parent', '_top', '_unfencedTop']).default('_blank'),
target: z.enum(['_self', '_blank', '_parent', '_top', '_unfencedTop']),
Copy link
Contributor Author

@desiprisg desiprisg Apr 4, 2025

Choose a reason for hiding this comment

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

Need to remove this for ajv to work correctly with anyOf. It seemed to be doing nothing anyway, either on creation or update, since placeholder is _self.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@LetItRock Btw, do you know why this was there in the first place? It didn't seem to play a role in creation.

@desiprisg desiprisg force-pushed the nv-5614-require-email-subject-in-email-step branch from 14621d0 to 9921414 Compare April 4, 2025 13:31
@desiprisg desiprisg force-pushed the nv-5614-require-email-subject-in-email-step branch from d33b0eb to cd369f3 Compare April 4, 2025 14:22
@desiprisg desiprisg changed the title feat(api): Require either subject or body for in-app feat(api,dashboard): Require either subject or body for in-app Apr 4, 2025
@desiprisg desiprisg force-pushed the nv-5614-require-email-subject-in-email-step branch from cd369f3 to a350704 Compare April 4, 2025 14:51
@desiprisg desiprisg force-pushed the nv-5614-require-email-subject-in-email-step branch from a350704 to 54bc907 Compare April 7, 2025 10:38
@SokratisVidros SokratisVidros force-pushed the nv-5614-require-email-subject-in-email-step branch from 54bc907 to 871c424 Compare April 7, 2025 10:46
@SokratisVidros SokratisVidros force-pushed the nv-5614-require-email-subject-in-email-step branch from 871c424 to 5d7e80d Compare April 7, 2025 12:04
@SokratisVidros SokratisVidros merged commit 6653ead into next Apr 7, 2025
27 of 29 checks passed
@SokratisVidros SokratisVidros deleted the nv-5614-require-email-subject-in-email-step branch April 7, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants