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
So, I've added a rudimentary way of opening repo Discussions, filtering the search to show the discussion with the correct title. You will have to click into it to read it.
This is less than ideal, but better than nothing.
How
add this near the top of def format_notification(notification): after the formatted = ... definition
if type == "Discussion":
formatted["href"]= notification["repository"]["html_url"] + "/discussions?discussions_q=" + urllib.parse.quote(formatted["title"])
add this image data for Discussions notifications:
figure out the URL to open to the individual discussion directly
The text was updated successfully, but these errors were encountered:
gingerbeardman
changed the title
notifications.30s.py: add rudimentary support for Discussions notifications
notifications.30s.py: add support for Discussions notifications
Sep 1, 2023
Problem
As-is the GitHub Notifications xbar script does not support opening Discussions notifications.
Solution
So, I've added a rudimentary way of opening repo Discussions, filtering the search to show the discussion with the correct title. You will have to click into it to read it.
This is less than ideal, but better than nothing.
How
def format_notification(notification):
after theformatted = ...
definitionTo Do
The text was updated successfully, but these errors were encountered: