New
Instead of focusing only on replicating features that could be found on GitHub itself (even if it's necessary to avoid going back and forth between both platforms), from time to times we try to add small things than, when added up, can make the whole experience a lot better.
This time it's about code review, a big part of the IssHub platform.
We already saw here how a pull request evolves in time and how we could mark some parts of the code as reviewed.
Mark code as reviewed
But what is "reviewed" anyway? Did I see this chunk of code? Did I validate it? Rejected it?
There were no way to know... until now.
Now, for each chunk of code (and remember than you can still split a chunk into many), you have many choices:
- not reviewed (by default, or you decided to mark it that way)
- ignored (the chunk will be collapsed)
- not sure (you did a pass on it but are not sure yet if you accept it or not)
- refused
- accepted
You can of course do this for a whole file instead of doing it chunk by chunk. What's also new is that by doing this chunk by chunk, the review status of the file is updated, and you even have a review progress bar for the whole pull request:
In addition, you can filter the files to display depending on their review status, and even update the review of many files at once, using the top right menu:
And you can easily filter the issues list to display only the ones you started to review:
Mark comments thread as read/waiting
Often, a review consists of multiple passes from the reviewers and the author, with comments, grouped in threads related to some lines of code.
We added a simple way for you to keep track of the threads you read and the threads you expect an answer.
This way, the next time you'll go on the pull request, you can ignore some threads and focus only on the work to be done:
And you can easily filter on issues where you have something new to read:
Other improvements
Of course among these two big new features, we tweaked a lot of things. For example:
- Pass the mouse over the number of files touched in a pull request/commit and you'll the kind of files that are touched. Useful to know if you only want/have to review JS and the code is only related to CSS:
By pressing "s" while on an issue, you'll have the issue taking the full with of the screen. Useful if the code to review has long lines. You can now reduce the sidebar containing the list of touched files, to have even more horizontal space
You can now group pull requests (in the list or in the board) by status check or review status
In no-details mode in issues lists, the pull-request icon is displayed to easily make the distinction between issues and pull requests
You can open many commits at once in tabs, instead of clicking on each one
You can hide a comments thread if it bothers you to full read the code around this thread (it's the case by default if a thread is marked as read by you, without any new comments)
You can go to the start or the end of a thread
~ The end ~