sindresorhus/refined-github

Notifications "select all" by status/type #3229

mcataford posted onGitHub

Hello!

I've been a user of Refined Github (RG) for a while now and it's become a must-have for my development and project management workflow. The features offered by RG pretty much satisfy all my needs, except in the case of Github Notifications management. My notification feed usually contains thousands of items from tens of different repositories, issues and PRs mixed in. Github offers a Select all feature which allows you to grab items in bulk as well as a very limited set of filters that can be used to coerce lists of notifications into a set that you can "select all" on and bulk update / review manually. However, there is no set of filters that allow you to select items by status. For example, the flow of "I want to mark all notifications pertaining to a merged PR as read" has no filter shortcut and can be quite tedious.

Proposed solution

I suggest a dropdown button component not unlike the "..." button that hides the "Mark as read/unread", but for selecting in bulk based on item type and status. With some tinkering, I've put together a mockup of what it could look like:

image

This would sit on the top bar of the notifications screen, alongside the "Select all" checkbox so that users can quickly bulk-select items with some granularity. I've also put together a crude CodePen based off whatever styles and components are already available on the page to give an idea of what the menu would feel like in the UI.

The filtering would only operate on elements that are already in the DOM and would not require to do any sort of network request; each row is already aware of the information that would be used as filter (based on other information displayed in each row already).

I think that this feature would be tremendously helpful for folks that, like me, are flooded by notifications and want to quickly triage through their queue. It could easily be made accessible and even be associated with hotkeys if there's desire to (depending on what the stance of RG is on tacking hotkeys onto the UI via an extension).

I would be happy to take on some of that work and put a PR together if there's any interest in this! It's certainly something that I would use every day and I'm sure others would too. I'd be more than happy to polish this further if this proposal is missing bits and pieces.


It doesn't look like GitHub’s own filtering allows this, so it could make sense to add it as a select dropdown.

However I'd like to see it as a multi-select instead:

<img width="299" alt="" src="https://user-images.githubusercontent.com/1402241/84576989-fb4df780-adb8-11ea-9fb0-0849ed1bcbbc.png">

Select by ↩
  Header: Type
  [ ] PR
  [ ] Issue
  Header: Status
  [ ] Open
  [ ] Closed
  [ ] Merged
  Header: Read
  [ ] Read
  [ ] Unread
posted by fregante almost 5 years ago

I love that idea! I can amend the mock up to see what that would look like and go from there! :rocket:

posted by mcataford almost 5 years ago

Is there progress on this issue? Without being able to mark merges read (or filter them out), the noise of merged PRs makes Github notifications effectively useless.

posted by nyarly almost 4 years ago

+1. I use notifications frequently but this is the single biggest missing feature for me. I end up spending a ridiculous amount of time going through all of my notifications and manually selecting every merged/closed PR to mark it as read. I still find notifications useful but without this feature notification management becomes an active chore that takes up at least 5-10 minutes every day.

posted by smartcontracts almost 4 years ago

I'm working on this. Will open a PR in a few days hours.

posted by cheap-glitch almost 4 years ago

Fund this Issue

$0.00
Funded

Pull requests