Skip to content

Conversation

@adufr
Copy link
Contributor

@adufradufr commented Feb 6, 2024

Issues related

Implements #714

Context

This PR introduces a new setting which I called "Mark as done on open" (defaults to false).

It takes advantage of the new API to mark a notification as done, and replaces the old "Mark as read on click" setting (which was removed in #713 because it became obsolete).

The PR also includes test, I pretty much copy-pasted everything from #713 to implement both the feature and the test, so there's really nothing new 😉

Discussion

I decided to name the setting "Mark as done on open" instead of "Mark as done on click" because "click" felt too vague to me (click on what?)

This can be discussed.

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

Copy link
Collaborator

@bmulhollandbmulholland left a comment

Choose a reason for hiding this comment

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

Thank you!

@bmulhollandbmulholland merged commit 1e1adde into gitify-app:mainFeb 6, 2024
@adufradufr deleted the feat/mark-notification-done-on-open branch February 6, 2024 18:13
@setchysetchy added the enhancement New feature or enhancement to existing functionality label Mar 27, 2024
@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

enhancementNew feature or enhancement to existing functionality

Development

Successfully merging this pull request may close these issues.

3 participants

@adufr@bmulholland@setchy