novuhq / novu

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

feat(api): Add Error Handling 2XX issues #6884

Closed tatarco closed 2 weeks ago

tatarco commented 2 weeks ago

What changed? Why was the change needed?

Added Issues to error handling,

  1. Added issues field on the workflows.
  2. Added issues field on the steps, supports step + content.
  3. Issues are persisted as a part of the upsert so it's available in the get as well

Screenshots

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

NV-4535 Workflow Editor - error handling logic

pkg-pr-new[bot] commented 2 weeks ago

Open in Stackblitz

@novu/client

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

@novu/headless

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

@novu/framework

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

@novu/js

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

@novu/nextjs

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

@novu/node

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

@novu/notification-center

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

novu

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

@novu/providers

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

@novu/react

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

@novu/react-native

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

@novu/shared

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

commit: 7165f83

netlify[bot] commented 2 weeks ago

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

Name Link
Latest commit 7165f837acb6d5926b429328a2cd9ce6e6c6327a
Latest deploy log https://app.netlify.com/sites/novu-stg-vite-dashboard-poc/deploys/672d3890dac3d6000812f3bc
Deploy Preview https://deploy-preview-6884--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.