My work
My work is githq's home screen: every open issue and pull request on GitHub that waits on you, in one list. It covers every repository, tracked or not, including other people's.
What it collects
githq asks GitHub's search for four things, and each becomes a group of My work:
| Group | What it holds |
|---|---|
| Review requested | Open pull requests that ask for your review |
| My pull requests | Open pull requests you opened |
| Assigned to me | Open issues assigned to you |
| Mentioned | Open issues and pull requests that mention you |
An item shows once, in the first group that applies, in the order of the table. A pull request that asks for your review and also mentions you is under Review requested only.
Closed and merged items leave My work. Nothing has to be tracked for an item to show here: see Choose what to track.
Pull requests under the issue they close
A pull request of yours that closes an issue assigned to you sits under that issue, not in My pull requests. The issue and the work on it read as one row.
Stacks
A stack of pull requests, each building on the one before, is one entry, in the first group any of its pull requests belongs to. The entry starts collapsed. Press → to expand it and ← to collapse it, or click its chevron. On a board, Space does the same. When only one pull request of a stack is still open, it is an ordinary row, marked as part of its stack.
Narrow it down
The sidebar. Under My work the sidebar lists the four groups with their counts. Choose one to see only that group. Each group has GitHub's own address of the same list, such as /pulls/review-requested or /issues/assigned.
The filters. Three tabs at the top of the list:
| Key | Filter | What it keeps |
|---|---|---|
| 1 | All | Everything in My work |
| 2 | Needs me | Reviews asked of you, issues assigned to you, and your pull requests with failing checks, changes requested or conflicts |
| 3 | Waiting on others | Your pull requests waiting for a review or for checks still running |
A mention alone never counts as Needs me. When Needs me is empty, the screen says Nothing needs you right now and tells you how many of your pull requests are waiting on others.
Group, order and layout
The toolbar sets how My work is shown:
- Group: by Reason (the four groups above, the default), by Repository, by Status or by Author. Grouped by repository, your tracked repositories come first, in the sidebar's order, then Other repositories. Grouped by status, the groups are Needs me, Ready to merge, Waiting on others, Draft and Other.
- Order: newest first by default.
- Properties: what each row shows.
- Layout: a List, or a Board with a column per group. The command menu switches between them too.
These choices are saved on this device only. Nothing on the board moves between columns: a reason or an author isn't something you set.
Open an item
Move through the list with J and K, or ↓ and ↑. Press Enter or click a row to open it. Press O to open the selected item on GitHub instead.
An opened item shows in a panel beside the list, which stays in view. Press Enter again, or Shift Enter, to open it full screen, on its own page at the same address as on GitHub; Esc brings it back to the panel. In a window too narrow for the list and the panel side by side, an item opens full screen straight away. The button beside Open on GitHub does the same.
While an item is open, J and K step to the next and previous item of the list, and Esc in the panel closes it and takes you back to the list, with the item still selected. Wide enough, the item shows in two columns: where it stands, its reviews, checks and properties on the left, and its history on the right. The two scroll together wherever the pointer is, the left column staying in view (drag the gap between the two to widen it). Full screen, the two columns stand centred: drag their left or right edge to make them wider or narrower, and githq keeps that width for the next item. Pull requests and reviews describes what a pull request's page shows.
Act from the list
Keys act on the selected row, without opening it:
| Key | What it does |
|---|---|
| R | Opens the item with the cursor in its comment box |
| A, L, M | Assignees, labels, milestone |
| S, P, I | Status, priority and iteration in its project |
| Shift X | Close or reopen |
| Shift R | Request reviewers of a pull request |
| Shift M | Merge a pull request you may merge |
githq offers only what your role in the repository allows. Right-click a row for its menu: every action, each with its key, plus Copy link, Add to project and Open full screen.
Several items at once
Press X to select a row for editing together, and Shift J or ShiftK to select the next or previous one too. A toolbar shows what you can do to all of them: assign, label, set a milestone or close. The same keys work on the selection. Esc clears it. If only some of the items can take a change, githq says how many, such as 2 of 3 editable, and leaves the others as they are.
Every change shows at once and goes to GitHub in the background. See Your edits.
Draft reviews
A code review you started and haven't submitted is a draft: only you see its comments. While you have one, the sidebar shows Draft reviews with their count, above My work. The list holds each pull request with your draft, the one waiting longest first.
Press Enter to open the review where the draft is, or Shift S to open it at the submit dialog. See Draft reviews and submitting.
When it is empty
When every group has arrived and nothing is left, My work says so plainly. With nothing at all, it reads Nothing on your plate and offers New issue and Jump to a project. An empty My work is an answer you can trust, not a screen still loading: until GitHub's search answers, faded placeholder rows stand where the items will be.