Re:Code Review from the Command Line (2018)
by gfiorav on Saturday May 04, 2019 @05:19AM
(#19825360)
I’ve gotten used to Vimium [0] (a chrome extension that emulates Vim commands in the browser) and I rarely use the mouse or arrow keys now. For me, that has been the biggest leap in productivity for my CRs.
I agree that it’s nice to review within the context of the terminal, but I still think the UI (at least for Github) is easygoing and productive (specially when you ditch the mouse).
Re:Code Review from the Command Line (2018)
by keriati1 on Saturday May 04, 2019 @06:23AM
(#19825567)
We implemented Vim like shortcuts for github enterprise code review screen and it works pretty nice, no mouse required. However I like the dependency graph, maybe we implement it too...
Re:Code Review from the Command Line (2018)
by GordonS on Saturday May 04, 2019 @08:20AM
(#19825982)
I've been using GitHub's code review features a bit recently. Something I really like is the ability for a reviewer to quickly make suggested code changes that the reviewee can can approve with a button push, instantly committing them. This saves a lot of time, especially for small, relatively insignificant changes.
Overall though I find GitHub's code review a bit fiddly and awkward, and it's features aren't "easily discoverable". Using the feature I mentioned above as an example, it's rare that reviewees actually know about it, or see and use the "Approve" button.
Re:Code Review from the Command Line (2018)
by GordonS on Saturday May 04, 2019 @03:30PM
(#19828694)
Haha, I guess that proves my point about discoverability!
First you hit "Start a review" when viewing a pull request. You can then click on any change and it opens a comment box - in that box, you add hit the button with a plus and minus symbol on it. It then adds the existing code in the box, and you can change it.
Re:Code Review from the Command Line (2018)
by orpheline on Saturday May 04, 2019 @03:26PM
(#19828659)
This is a nice workflow - thanks for sharing!
We're using Bitbucket, not GitHub, but this would mostly work there too.
The one thing I was hoping to see and didn't was adding review comments from the command line. It's appealing to review changes in the terminal, but if I have to open another tool to comment the utility drops.
I agree that it’s nice to review within the context of the terminal, but I still think the UI (at least for Github) is easygoing and productive (specially when you ditch the mouse).
[0] - https://chrome.google.com/webstore/detail/vimium/dbepggeogba...
Overall though I find GitHub's code review a bit fiddly and awkward, and it's features aren't "easily discoverable". Using the feature I mentioned above as an example, it's rare that reviewees actually know about it, or see and use the "Approve" button.
First you hit "Start a review" when viewing a pull request. You can then click on any change and it opens a comment box - in that box, you add hit the button with a plus and minus symbol on it. It then adds the existing code in the box, and you can change it.
Better explained here: https://help.github.com/en/articles/commenting-on-a-pull-req...
```suggestion # your changes ```
We're using Bitbucket, not GitHub, but this would mostly work there too.
The one thing I was hoping to see and didn't was adding review comments from the command line. It's appealing to review changes in the terminal, but if I have to open another tool to comment the utility drops.