-
Notifications
You must be signed in to change notification settings - Fork 270
Not filtering by excluded handle (GHE) #1848
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
Comments
@grahamj - in your settings is |
I do have that enabled. |
Thanks @grahamj - I missed you had mentioned this in your original issue - apologies. I haven't been able to reproduce the above on my side this morning with GitHub Cloud notifications. If you are able to run gitify from source and debug the following that would be helpful. From the screenshots you provided, gitify/src/renderer/utils/notifications/filters/filter.ts Lines 29 to 33 in 649ce40
|
ok maybe it's a GHE thing. I'll give it a whirl and get back. |
nvm, I found option-cmd-i |
Alright I see the issue: you're looking for
but in my response the
Unfortunately the handle doesn't appear anywhere else in that payload either. However it looks like you're requesting information about each PR too and the handle does appear there. If you're able to filter on |
When the gitify/src/renderer/utils/subject.ts Lines 29 to 59 in 88bdc1b
|
ah ok, if you're merging oh hold on, doesn't this being first mean if I have user type filters the excludes will not be evaluated?
|
yeah that's it, if I turn off the user type filter it works I think the logic there needs to be reworked - you can return immediately if the handle is excluded but for the other things you only want to return if there's not a match so they're effectively ANDed. I'd probably just have a "pass" flag and return it at the end. |
Thanks very much! |
🔍 Is there already an issue for your problem?
📝 Description
I have a handle exclusion specified in filters yet am still receiving notifications for PRs from that user.
PS thanks for Gitify, love it!
🪜 Steps To Reproduce
🪵 Log Excerpts
No response
Gitify Version
6.1.0
Operating System
macOS
GitHub Account
GitHub Enterprise Server
📸 Screenshots
The text was updated successfully, but these errors were encountered: