Two weeks ago we released changes, a feature that allows you to suggest changes to code in a pull request. Once changes are , the author or assignees can accept (and commit) suggestions with the click of a button.

Before

A code review comment before suggested changes

After

A code review comment with a suggested change

Since its release, more than 10 percent of all reviewers suggested at least one change, totaling over 100,000 suggestions—and nearly four percent of all review comments created included a suggestion. Based on these early numbers, we see you’re quick to adopt suggested changes and make them a natural part of your code review workflow.

Between the number of suggestions created and the feedback we received from over 2,500 people who have used the feature, you’ve helped us understand what we can improve moving forward.

By far the most frequent requests were:

  1. The ability to suggest changes to multiple lines at once.
  2. The ability to accept multiple changes in a single commit.

We want to make suggested changes the best feature it can possibly be. Your feedback is valuable and will inform our next steps. Until then, we encourage you to try out suggested changes and tell us what you think.



Source link https://blog.github.com/2018-11-01-suggested-changes-update/

LEAVE A REPLY

Please enter your comment!
Please enter your name here