trycourier / courier-react

MIT License
40 stars 14 forks source link

fixing read and unread logic to include new type of IGetInboxMessagesParams.status #544

Closed bwebs closed 9 months ago

bwebs commented 9 months ago

When using Inbox with views, unread and read weren't getting applied properly. This PR fixes that by applying the GetInboxMessagesParams.status to fetchMessages()

Description

[Pull Request Description Here]

Type of change

codecov[bot] commented 9 months ago

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@aabbe8d). Click here to learn what that means.

Files Patch % Lines
...ackages/react-hooks/src/inbox/use-inbox-actions.ts 0.00% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #544 +/- ## ======================================= Coverage ? 35.92% ======================================= Files ? 70 Lines ? 1197 Branches ? 366 ======================================= Hits ? 430 Misses ? 767 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.