meiji163 / gh-notify

GitHub CLI extension to display GitHub notifications
The Unlicense
209 stars 21 forks source link

Allow filtering #97

Closed NickLarsenNZ closed 2 months ago

NickLarsenNZ commented 2 months ago

Sometimes I only want to see the notification where org:MyOrg reason:mention. For example, what would be displayed by: https://github.com/notifications?query=org%MyOrg+reason%3Amention

Would it be possible to add one or both of:

LangLangBart commented 2 months ago

The feature request is valid, but we can't easily implement it due to GitHub's API limitations. The REST and GraphQL APIs don't offer the notification filtering that's available in the WebUI.

We'll close this issue for now. If GitHub expands their API functionality in the future, we'll reconsider implementing this feature.

The REST API for code search has the ability to use qualifiers (e.g., user:defunkt extension:rb matches code from user defunkt that ends in .rb) to narrow down searches. This shows that GitHub could potentially add similar functionality to the notifications API, but they have chosen not to so far.


Related issues also closed due to API limitations: