novuhq / novu

Open-Source Notification Platform. Embeddable Notification Center, E-mail, Push and Slack Integrations.
https://novu.co
Other
35.43k stars 3.92k forks source link

fix(api): Add human friendly error messages for control and payload issues. #7026

Closed rifont closed 4 days ago

rifont commented 6 days ago

What changed? Why was the change needed?

Screenshots

Editor canvas - better error message image

Editor side panel - better error message image

Expand for optional sections ### Related enterprise PR ### Special notes for your reviewer
linear[bot] commented 6 days ago

NV-4768 🐛 [UX] - New step error hover message is confusing and badly formatted with `[]` wrapper

pkg-pr-new[bot] commented 6 days ago

Open in Stackblitz

@novu/client

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/client@7026 ```

@novu/headless

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/headless@7026 ```

@novu/framework

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/framework@7026 ```

@novu/js

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/js@7026 ```

@novu/nextjs

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/nextjs@7026 ```

@novu/node

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/node@7026 ```

@novu/notification-center

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/notification-center@7026 ```

novu

``` pnpm add https://pkg.pr.new/novuhq/novu@7026 ```

@novu/providers

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/providers@7026 ```

@novu/react

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/react@7026 ```

@novu/react-native

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/react-native@7026 ```

@novu/shared

``` pnpm add https://pkg.pr.new/novuhq/novu/@novu/shared@7026 ```

commit: 2920b40

netlify[bot] commented 6 days ago

Deploy Preview for novu-stg-vite-dashboard-poc ready!

Name Link
Latest commit 4a9d53eb8214f0add9cf2adfb8a6bdecb3b9b791
Latest deploy log https://app.netlify.com/sites/novu-stg-vite-dashboard-poc/deploys/673a7d247ef1550008f3af22
Deploy Preview https://deploy-preview-7026--novu-stg-vite-dashboard-poc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.