Replies: 3 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Hi @orz-ai, You can use the GitHub CLI to mark the notifications as read: gh api notifications\?all=true | jq -r 'map(select(.unread) | .id)[]' | xargs -L1 sh -c 'gh api -X PATCH notifications/threads/$0'To remove them from the sidebar, I used: gh api notifications\?all=true | jq -r '.[] | select(.subject.title | test("(paradigm|Lido|gitcoin)"; "i")) | .id' \
| xargs -L1 -I{} gh api \
--method DELETE \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/notifications/threads/{}If you don’t have the CLI installed, you can add it via Homebrew: |
Beta Was this translation helpful? Give feedback.
-
|
The solution using the GH cli worked great. In my case, the issue returned by Interestingly, this particular repo seems to be related to a scam. The issue I was mentioned in was titled "Y-Combinator | $30M Y-Combinator W2026 with GitHub". |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
Recently, I ran into a strange bug on GitHub:
My notifications page showed unread messages, but when I clicked in, nothing was there.
It looked like a notification counter bug.
It's quite annoying to see those blue dots.
Here’s what it looked like:
How I Fixed It
I fixed this issue by marking all notifications as read using the [GitHub REST API](https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28#mark-notifications-as-read).
You can do this with a simple
curlcommand:You can generate a classic token here:
👉 https://github.com/settings/tokens
Example Response
After executing the request, you’ll get a response like this:
I actually used Postman instead of
curl: )Final Step
After running the API call, simply log out and log back into your GitHub account.
You’ll notice that:
Like this:
Beta Was this translation helpful? Give feedback.
All reactions