You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the GitHub Raycast Extension has a command (Notifications) to fetch all notifications for the user using the listNotificationsForAuthenticatedUser() endpoint:
When setting the all-parameter to true, it returns all notifications (including done ones). When setting it to false, 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
the notification object gets a done attribute of boolean type (then we can partition the notifications ourselves) or
that the listNotificationsForAuthenticatedUser()endpoint gets more filters e.g showDone (bool), showRead (boolean).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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