Use Hush
Pull requests and issues
The list in each view, how Group by puts it into sections, and how Sort orders them.
Each view lists its open pull requests and issues, also when GitHub sent no notification about them. An item that is merged or closed stays for 24 hours, at the end of the list: see Merged and closed. When the view finds both types, a menu at the top has Pull requests and Issues: check one, or both to see all. T changes it, and this browser remembers the choice for each view. Each item has its categories.
Row layout
Each item is a card by default: its title, then its repository, author, and size, then badges for whose turn it is, CI, reviews, and categories. Settings → General → Row layout changes all lists to a table: one line for each item, with its facts in columns. The table has no action button: click a row to open it in the peek, or on its full page when Click opens is Full page. On a narrow screen, the table shows only the title and the time.
The settings under the layout are for the layout you use. With cards, Row contents chooses the parts of each card. With the table, Table columns chooses the columns: the turn, the repository, the author, the category icons or names, CI, the size, the comment count, and the time. See rowLayout and tableColumns.
Hover card
Hold the mouse pointer on a row for half a second to see its card: the full title, the state, whose turn it is and why, CI and reviews, the start of the description, all the labels and categories, the author, the assignees, and the review requests. Move to the next row and its card shows at once. The buttons on a row, and the parts that have their own tooltip, do not open the card. The card does not show for the item in the peek, and it does not show on touch screens. A key press, a click, or a scroll closes it. The rows of a stack in the peek show the card too.
Group by
The Display button, at the top right, has Group by, Sort, and Merged and closed. Group by puts the list into sections. Each view keeps its own choice (the groupBy of the view): Mine starts with Your role, and a new view with Status.
| Group by | Sections |
|---|---|
| None | One list, with no sections. |
| Your role | You opened, Reviews (your review or your team's review is requested, or you reviewed it), Assigned to you, Involved (everything else). |
| Status | Pull requests: No review yet, In review, Changes requested, Approved, Drafts. Issues: Unassigned, Assigned. |
| Repository, Author | One section for each repository, or each author, in name order. |
| Label, Assignee | One section for each set of labels, or of assignees, such as “bug, docs”. An item with none is in No labels or No assignee. |
| A category group, such as Effort | One section for each category, then Not sorted for the items that have no category from the group. See Categories. |
| A project, such as Website status | One section for each Status of the project, in the board's order, then No status, then Not in project. See Project status. |
| Custom sections | The sections that you made for this view, then Everything else. See Custom sections. |
An item is in exactly one section. Sections with no items do not show. Choose the name of a section to close it or open it; Drafts is closed at first. This browser remembers your choice for each view and each Group by.
With Both, Status shows the pull request sections first, then the issue sections.
⌘ K / Ctrl + K finds the Group by choices too: type “group by”.
Sort
Sort by, in the Display button, orders the items in each section. Each view keeps its own sort (the sort of the view). The sections stay in the order of Group by.
| Sort by | Order |
|---|---|
| Whose turn | The default: the items that need you first. See Order and reasons. |
| Updated | The time of the last change on GitHub. |
| Created | The time the pull request or issue was opened. |
| Waiting since | The time the current turn started. |
| Comments | The number of comments. |
| Size | Lines added and removed. Issues have no size: they come after the pull requests, in turn order. |
| Title | The title, from A to Z. |
Order reverses the sort, for example Newest first or Oldest first. Each sort starts in its usual order.
Your turn first is on at first. It keeps your turn at the top of each section, then your team's turn, then theirs, and the sort orders each part. Turn it off to order the items by the sort only.
⌘ K / Ctrl + K finds the sorts too: type “sort”.
Custom sections
A view can have its own sections. Each one is a name and a rule in the query language, such as status:failure or size:<50 OR category:effort/low:
review-requested:@me review:none
- An item goes into the first section whose rule matches, top to bottom. Everything else holds the rest, and is always last.
- Make them on the view's card in Settings → Views: set Group by to Custom sections, then add sections. Edit custom sections… at the end of the Group by menu goes there.
- A view has up to 10 sections. Each name is unique, up to 40 characters.
- A rule can use every word that Hush checks, such as
review:,status:,size:,updated:,from:, andcategory:. It cannot useabout:: make a category whose rule usesabout:, then usecategory:. Words that only GitHub has, such asmentions:, do not work here. - The view keeps its sections when you choose another Group by.
Project status
Group by lists each open GitHub project that holds an item of the view, with the most items first. Hush reads the project's Status field: its options are the sections, with the color of each option.
- An item that is in the project with no Status is in No status.
- An item that is not in the project is in Not in project.
- If GitHub cannot return an item's project membership and Hush has no known value, the item is in Project data unavailable.
- To change an item's Status, open it in the peek. The list moves it when Hush reads the project again.
- Hush needs project access: sign in with GitHub again if Group by says Project status needs project access. A custom token needs the
read:projectscope (projectto change a Status).
Merged and closed
When Hush sees a pull request or issue in a view get merged or closed, it does not leave the view at once. It stays for 24 hours after it closed, in a Merged and closed section at the end of the list (Closed in a view of issues only), with the newest first. Its row says Merged, Closed, Closed as not planned, or Closed as duplicate.
- The section is the same for every Group by. Choose its name to close it or open it, as with other sections.
- The numbers on the tabs and on the app icon do not count these items: they need nothing from you.
- To remove one before the 24 hours end, snooze it until new activity (
E). - To turn this off for a view, turn off Merged and closed in the Display button. Each view keeps its own choice (the
keepClosedof the view). - When GitHub sends no notification about the change, Hush finds it at the next search of your views, within about 15 minutes.
- A view whose searches find merged or closed items themselves, for example with
is:merged, lists them in their usual sections, for as long as the searches find them.
Order and reasons
With Sort by Whose turn, the items in a section that need you come first, the most urgent first (failing CI before a comment), then the ones that waited longest. Each row says what is going on, in a few words:
- Pull requests: CI failing · Changes requested · Merge conflict · 2 open threads · Ready to merge · @alice commented · Review requested · Re-review requested · Assigned to you · New commits since your review · Review for acme/web · CI running · Waiting for review · Waiting on author · You approved · Draft · Bot PR · Merged · Closed.
- Issues: Assigned to you · @alice replied · Waiting for replies · No replies yet · Waiting for a reply · Closed · Closed as not planned · Closed as duplicate.
Whose turn it is
Hush decides whose turn it is from the facts of each item: CI, reviews, review requests, conflicts, and comments. It is your turn when one of these is true.
Your pull requests (not drafts):
- CI fails.
- Someone requested changes.
- It has merge conflicts.
- It is approved, but review threads are still open.
- It is approved and CI is not running: it is ready to merge.
- A person commented after your newest push.
Other people's pull requests:
- Your review is requested from you by name, also again after your review.
- It is assigned to you.
- New commits arrived since your review.
Issues: it is assigned to you, or a person replied on an issue that is assigned to you or that you opened.
A review request to one of your teams is your team's turn: the row says “Review for acme/web”. Other items wait on someone else (“Waiting for review”, “You approved”), or on nobody (“Draft”, “Bot PR”).
- Bots: a pull request that a bot opened is not your turn, unless it asks for your review by name. A comment or a review by a bot is not a reply. A bot comment after a person's comment does not hide that comment.
- Review requests end only when GitHub no longer asks you. A review by someone else does not end your request.
- Approvals: when a repository does not require reviews, GitHub gives no review decision. Hush then reads the newest approval or change request of each reviewer: one change request makes it “Changes requested”, else one approval makes it approved. The turn,
review:, and Group by Status all use this. - Smart decisions: with smart decisions on (the default), Jev reads the newest comments. When they need nothing from you (thanks, approval, a status update, +1), they are not your turn. The row then says “no reply needed”.
- Categories do not change whose turn it is.
Since you looked
A row also lists what changed since you last looked at the item: “+2 commits”, “CI fails”, “@alice approved”, “3 new comments”. Hush remembers what the item looked like when you opened it in the peek or on its full page, or opened it on GitHub from Hush. The row and the peek list:
- New commits, new comments, and new reviews (“@alice approved”, “@bob requested changes”).
- CI: “CI fails”, “CI passes now”, “CI running”.
- Your review requested again; merged, closed, or reopened; ready for review or back to draft; new labels.
Before your first look, nothing is listed. Your own changes do not count. To hide this list on rows, turn off Changes since you looked in Settings → General → Row contents.
Stale
An item that has waited on you or on others for more than 3 days is stale: it says how long it waited (“waiting 5d”) in amber. Change the number of days with dash.staleDays.
Stacked pull requests
A pull request is on top of another one when its base branch is the head branch of the other one. Hush shows a stack as one row, in the place of its most urgent pull request. Stacks from gh stack, Graphite, and branches that you made yourself are all the same to Hush.
- The row is in the section of the stack's most urgent pull request, and shows that pull request first. “2 of 4” is its place in the stack, from the base branch up. Click the row to peek it.
- The peek lists the whole stack at the top.
[and]move down and up the stack, and the row in the list turns to show the same pull request as the peek. - The full page lists the stack at the top too, with the same keys.
- A pull request that is in the stack but not in this view shows as “Not in this list”. You can peek it, but it has no actions in the list.
Hush finds up to 3 open pull requests under each pull request in your list, in the same repository.
Categories
An item has one category from each category group, or none when it is Not sorted there. Their icons show on each row; to show their names too, turn on Category names in Settings → General → Row contents. The category button, at the right of the toolbar, lists every group and its categories, with counts. Choose one or more to see only their items: in one group, an item needs any of your choices (Low or Medium effort); across groups, it needs one choice from each (Low effort and High impact). Not sorted chooses the items with no category from that group, and Every category clears your choices.
To change an item's category, right-click it, choose the name of a group, such as Effort, and choose a category. Choose automatically removes your choice for that group. This works on a selection too.
Set up category groups, and how Hush places items, in Settings → Categories. See Categories.
External contributors
An item opened by someone who is not a member or collaborator of the repository has an External badge. It shows First-time when it is their first pull request or issue there. Bots get no badge. To turn the badge off, go to Settings → General → Row contents and turn off External contributor; the peek follows the same setting.
Find an item
A view has no filter box: its searches decide what is in it. To find a pull request or issue, use search: press ⌘ K / Ctrl + K or /, and type words from its title, its repository, or its number. To show different items, edit the view, or add another view.
Actions
| Action | Key | What it does |
|---|---|---|
| Peek | Space |
Read it in the peek, and act on GitHub from there. |
| Main action | O or Enter |
Review, Fix CI, Reply… on GitHub. |
| Open on GitHub | Shift + O |
The PR or issue itself. |
| Snooze until new activity | E |
The item leaves the list until something new happens on it. See Snooze. |
| Snooze until tomorrow | S |
The item leaves the list until tomorrow at 9:00. |
| Mute | M |
The item leaves the list until you unmute it. |
| Mark as read or unread | U |
See Unread. |
| Show snoozed and muted items | H |
Lists the items that you snoozed or muted, to wake one up or unmute it. |
| Copy link | C |
Copies the links of the item or the selection. |
| Refresh | R |
Searches GitHub again now. |
Right-click an item (or choose ⋯ on a phone) for these actions and more, such as its categories. To change the items of this menu, see Menus.
Snooze
Snooze takes an item out of the list for a while. Choose Snooze in the item's menu (right-click, or ⋯ on a phone), in the bar at the bottom of the peek, or in the bar for a selection. On a full page, press E, or choose a time in ⌘ K / Ctrl + K. The choices:
- Until new activity: the item comes back when something new happens on it on GitHub, such as a comment, a review, or a commit. This is
E. - A time: 1 hour, 3 hours, tomorrow at 9:00 (
S), or next Monday at 9:00. The item comes back at that time, also if something happens before. - Until something happens: CI passes, CI finishes, someone approves, a new review, new commits, someone replies, or it is merged or closed. Comments and reviews by bots do not count. The item comes back when that happens, when it is merged or closed, or after 7 days. A merged or closed item comes back in Merged and closed. A choice that is already true is greyed out.
Mute takes an item out of the list until you unmute it.
The Hidden button at the top shows the number of snoozed and muted items. It shows only when an item is snoozed or muted. Choose it to list them, with until when each one sleeps. Wake up (E) puts an item back in the list now; Unmute (M) ends a mute.
When a snooze ends because the thing happened, Hush pushes, for example “Snooze over: CI passed”. See What gets pushed.
Snooze and Mute stay in Hush. They do not change your notifications on GitHub.
Unread
An item is unread when you did not look at it in Hush yet, or when something new happened on it since you last looked. A new label or a change in CI alone does not count. An unread item has a dot on its avatar and a bold title. When a view fills for the first time (a new view, your first sign-in, or after Hush paused), the items that Hush did not know yet start as read: only items that come in after that are unread.
You look at an item when you open it in the peek, open its full page, or open it on GitHub from Hush. When you comment on an item or review it, in Hush or on GitHub, Hush also marks it as read. If you opened one by mistake, press U to make it unread again: the peek and the full page do not mark it as read again until you open it again. U marks it as read or unread. To mark every item in the view as read, choose Mark all as read in ⌘ K / Ctrl + K.
The number on each view in the top bar is the number of its unread items that are not snoozed or muted.
Select many
Select many items to snooze, mute, mark as read, or copy them together.
Xselects or deselects the item under the cursor.Shift + JandShift + Kextend the selection.- ⌘-click (Ctrl-click) adds an item. Shift-click selects a range.
⌘ A/Ctrl + Aselects all. - With a selection, a bar at the bottom has Snooze, Read, and Copy links. The keys and the right-click menu act on all selected items.
Escclears the selection.
Refresh
Hush runs the searches of your views about every 15 minutes while it checks GitHub, also when no view is open, and keeps each result until the next one. A view opens at once from what Hush stored, and changes while you look when new results or changes arrive. Refresh runs every search again at once. If a search drops a closed item before Hush reads it again, the item can leave at once, without its 24 hours in Merged and closed.
A refresh is fast, also for large accounts. The searches ask only for each item's ID and update time (up to 100 results for each search). Then Hush reads the full details (CI, reviews, review threads, conflicts) only for items that are new, changed on GitHub, still running CI, or that it last read more than an hour ago. So a PR that did not change can show details up to an hour old. Press R, or the refresh icon next to “Updated …” at the left of the toolbar, to run every search and check notifications again now; Hush then reads the items that changed. The peek always reads the item fresh. When a search fails, a message says which one; if GitHub needs more access for it (for example an org that has not approved Hush), the message links to GitHub access.