notification: filter done/undone #118736
Unanswered
antonengelhardt
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
Hello,
the GitHub Raycast Extension has a command (
Notifications
) to fetch all notifications for the user using thelistNotificationsForAuthenticatedUser()
endpoint:When setting the
all
-parameter totrue
, it returns all notifications (including done ones). When setting it tofalse
, only unread notifications are returned.The GitHub Website groups notifications depending if they're done or undone. Additionally, a filter can display only the unread notifications:
@tom-sherman proposed to follow the GitHub style in a recently opened issue. Following the Github style would mean that the extension would have to group the notifications by undone/done and highlight unread ones, which is currently impossible, because there is no way to tell if a notification is done or not.
My proposal is that either
done
attribute ofboolean
type (then we can partition the notifications ourselves) orlistNotificationsForAuthenticatedUser()
endpoint gets more filters e.gshowDone
(bool
),showRead
(boolean
).Thanks for considering. Cheers.
SDK Version
v3.1.2 Octokit js
Beta Was this translation helpful? Give feedback.
All reactions