Refined GitHub Notifications

Enhances the GitHub Notifications page, making it more productive and less noisy.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
huntabyte
Installazioni giornaliere
0
Installazioni totali
8
Valutazione
0 0 0
Versione
0.0.1
Creato il
08/01/2024
Aggiornato il
08/01/2024
Dimensione
23,9 KB
Licenza
MIT
Applica a

Userscript: Refined GitHub Notifications

Enhances the GitHub Notifications page, making it more productive and less noisy.

Install on Greasyfork

Introduction

This is a fork of @antfu's userscript refined-github-notifications customized to my needs.

If you want to learn more about the philosophy and motivations behind this userscript, check Anthony's Talk or the Transcripts.

Features

Note: It's pretty opinionated. I'd encourage you to fork and customize it to your own needs.

Anthony's original features:

  • Add target="_blank" to all notifications (and remove notification_referrer_id)
  • Refresh the page when going back to the tab, so you get the latest notifications
  • Remove bot avatars
  • Colorize the notification type (mention, review request, etc.)
  • Auto mark notifications as done (remove it from the list), if:
    • The issue/PR is closed/merged, and you have not participated at all
    • The issue/PR is closed/merged, and you already read it
    • PRs created by Renovate, if not participating
    • New commits pushed to PRs
    • *Notifications you have bookmarked will be bypassed
  • Make sure only one notification tab is opened
  • When going to the issue from the notification, inject a floating button to mark it as done and close the tab.
  • Alt/Option + X to mark a notification as done and close it
  • Preview issue body when hovering over the title

GitHub Token

When using "Detail Preview" feature, GitHub token would be better to provide to avoid rate limit. You can set the token by running the following command in the console of any page on GitHub:

localStorage.setItem("github_token", "your token");

License

MIT License © 2024 Hunter Johnston MIT License © 2023 Anthony Fu