sindresorhus / notifier-for-github

Browser extension - Get notified about new GitHub notifications
MIT License
1.82k stars 133 forks source link

Only show new notifications after activation? #273

Open ihnorton opened 1 year ago

ihnorton commented 1 year ago

I'm trying GH notifications for the first time (~7k unread), quickly found this extension (❤️), and was a bit amused that it seems to be showing desktop alerts for a large number of existing notifications! Looking at the code, I guess it might cap the alerts at 100, but I had to turn it off until I can get the list under control.

Is there any possibility to filter either alerts or unread count by extension activation time? If I'm following the code correctly, it seems like you are already using the Last-Modified filter to only get latest notifications when polling, so perhaps the very first poll could use "since current time" or "time - 30 minutes". Thanks for your consideration (and for making the extension).