Skip to content

feat: add "Mark as done on open" setting #746

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 10 commits into from
Feb 6, 2024
Merged

feat: add "Mark as done on open" setting #746

merged 10 commits into from
Feb 6, 2024

Conversation

adufr
Copy link
Contributor

@adufr adufr 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

@setchy setchy 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

@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.

Thank you!

@bmulholland bmulholland merged commit 1e1adde into gitify-app:main Feb 6, 2024
@adufr adufr deleted the feat/mark-notification-done-on-open branch February 6, 2024 18:13
@setchy setchy added the enhancement New feature or enhancement to existing functionality 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
enhancement New feature or enhancement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants