Skip to content

Conversation

@setchy
Copy link
Member

@setchy setchy commented Feb 29, 2024

Closes: #829

Extracts the notification state logic into it's own file. Also refactored the test suite to be clearer on the scenarios being tested

@setchy setchy marked this pull request as draft February 29, 2024 20:54
@setchy setchy marked this pull request as ready for review March 1, 2024 13:21
Copy link
Collaborator

@bmulholland bmulholland left a comment

Choose a reason for hiding this comment

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

I'm assuming this is pretty much just moved code, not any functional changes. Approving on that basis -- I haven't reviewed each individual line. If there are functionality changes too, please point them out so I can take a closer look.

@setchy
Copy link
Member Author

setchy commented Mar 1, 2024

I'm assuming this is pretty much just moved code, not any functional changes. Approving on that basis -- I haven't reviewed each individual line. If there are functionality changes too, please point them out so I can take a closer look.

that's correct, pretty much just moved across.

@setchy setchy merged commit ac23cfd into gitify-app:main Mar 1, 2024
@setchy setchy deleted the refactor/extract-state-logic branch March 1, 2024 15:18
adufr pushed a commit to adufr/gitify that referenced this pull request Mar 25, 2024
* refactor: extract state notification logic

* refactor tests
@setchy setchy added the refactor Refactoring of existing feature label Mar 27, 2024
@setchy setchy added this to the Release 5.0.0 milestone Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring of existing feature

Development

Successfully merging this pull request may close these issues.

refactor state logic within useNotifications

2 participants