novuhq / novu

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

feat(api): inbox - update the notification status endpoint #5836

Open LetItRock opened 5 days ago

LetItRock commented 5 days ago

What changed? Why was the change needed?

In this PR: 1) Validation for forbidden filtering flags like { read: false, archived: true } in:

2) The new "mark as" endpoints:

3) The new update notification action endpoints:

4) E2E and unit tests

Screenshots

1) Screenshot 2024-06-28 at 23 56 22 Screenshot 2024-06-28 at 23 56 38

2) Screenshot 2024-06-28 at 23 54 50 Screenshot 2024-06-28 at 23 55 25 Screenshot 2024-06-28 at 23 55 39 Screenshot 2024-06-28 at 23 55 52

3) Screenshot 2024-06-28 at 23 56 59 Screenshot 2024-06-28 at 23 57 12 Screenshot 2024-06-28 at 23 59 49 Screenshot 2024-06-28 at 23 57 34

linear[bot] commented 5 days ago

COM-69 The endpoint to update the notification status or buttons click status

netlify[bot] commented 5 days ago

Deploy Preview for dev-web-novu ready!

Name Link
Latest commit db386d0f7e6d5d276deddeee322ac6f7016c7c62
Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/667f2f8a90536500083d0e49
Deploy Preview https://deploy-preview-5836--dev-web-novu.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.

netlify[bot] commented 5 days ago

Deploy Preview for novu-design failed. Why did it fail? →

Name Link
Latest commit db386d0f7e6d5d276deddeee322ac6f7016c7c62
Latest deploy log https://app.netlify.com/sites/novu-design/deploys/667f2f8a97b414000824f2a9