Skip to content

Ask HN: Undeleteable GitHub Notification

2 pointslaktak3 comments
On HN

I have a dot on the GitHub notification that can't be cleared..

It helpfully says "1-0 of 2" notifications are shown, which in reality means the list is empty.

It's from some scam repos that mentioned me but were deleted before I could clear the notification.

Am I the only one bothered by this? How do you get rid of the dot? ;)

Comments

I've been dealing with the same issue for the last week or so, but just found a solution!

Install the GitHub CLI ("brew install gh" or similar), authenticate with your GitHub credentials ("gh auth login"), then run the following:

gh api --method PUT -H "Accept: application/vnd.github+json" /notifications -F read=true

Blue dot gone! :-) This marks all notifications as read, which clears the phantom notification from the deleted account.

You might be able to manually clear it: open your web browser inspector, clear a notification, modify that request to target the other.

Or maybe disabling / re-enabling notifications.

<humor>You all are lucky. The one on my account tells me I'm fat.</humor>

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.