Skip to content

Conversation

@adufr
Copy link
Contributor

Related issues

Context

Remove notification from state when clicking on it.

setchy
setchy previously approved these changes Feb 18, 2024
Copy link
Member

@setchysetchy left a comment

Choose a reason for hiding this comment

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

lgtm, just needs some more coverage

@setchysetchy added the bug Something isn't working label Feb 18, 2024
@adufr

This comment was marked as resolved.

@adufr
Copy link
ContributorAuthor

Coverage has now increased 🚀

Copy link
Member

@setchysetchy left a comment

Choose a reason for hiding this comment

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

Thanks @adufr

@setchysetchy merged commit 6131e57 into gitify-app:mainFeb 18, 2024
@adufradufr deleted the fix/remove-notification-from-state-on-open branch February 18, 2024 18:48
if(settings.markAsDoneOnOpen){
markNotificationDone(notification.id,hostname);
}else{
// no need to mark as read, github does it by default when opening it
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for the explanation!

adufr added a commit to adufr/gitify that referenced this pull request Feb 19, 2024
* fix: remove notification from state on open * tests: add test for `removeNotificationFromState`
@setchysetchy added this to the Release 5.0.0 milestone Jul 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't working

Development

Successfully merging this pull request may close these issues.

Clicking a notification marks it as read but doesn't remove it from the app

3 participants

@adufr@bmulholland@setchy