Change the number of reviewer suggestions from 10 to 6
It is unlikely that users benefit from more than 6 suggestions. OTOH big suggestion boxes can obscure useful content. Bug: Issue 10793 Change-Id: Ib32833f01cb422f6c8873bdcdd79807055dfcdf2
This commit is contained in:
@@ -1526,7 +1526,9 @@
|
||||
* @param {function(?Response, string=)=} opt_errFn
|
||||
*/
|
||||
getChangeSuggestedReviewers(changeNum, inputVal, opt_errFn) {
|
||||
const params = {n: 10};
|
||||
// More suggestions may obscure content underneath in the reply dialog,
|
||||
// see issue 10793.
|
||||
const params = {n: 6};
|
||||
if (inputVal) { params.q = inputVal; }
|
||||
return this._getChangeURLAndFetch({
|
||||
changeNum,
|
||||
|
||||
Reference in New Issue
Block a user