Skip to content

refactor: extract notification retrieval logic #1073

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

Merged
merged 7 commits into from
May 2, 2024

Conversation

setchy
Copy link
Member

@setchy setchy commented Apr 30, 2024

useNotifications was becoming quite bloated.

This PR aims to assist by moving some of the logic into utils/notifications, split into three main logical parts

  1. fetch all notifications (raw notifications)
  2. enrich notifications
  3. filter notifications

@setchy setchy added the refactor Refactoring of existing feature label Apr 30, 2024
@setchy setchy added this to the Release 5.5.0 milestone Apr 30, 2024
Copy link
Member

@afonsojramos afonsojramos left a comment

Choose a reason for hiding this comment

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

Looking awesome! 🧽

@setchy setchy merged commit e57925f into main May 2, 2024
@setchy setchy deleted the refactor/extract-notification-calls branch May 2, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactoring of existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants