Raise pr-tree response limit to max
This commit is contained in:
parent
f9bb5b72ee
commit
637d07c71e
|
@ -180,7 +180,7 @@ class GitHub extends PjaxAdapter {
|
|||
*/
|
||||
_getPatch(opts, cb) {
|
||||
const {pullNumber} = opts.repo
|
||||
this._get(`/pulls/${pullNumber}/files`, opts, (err, res) => {
|
||||
this._get(`/pulls/${pullNumber}/files?per_page=300`, opts, (err, res) => {
|
||||
if (err) cb(err)
|
||||
else {
|
||||
const diffMap = {}
|
||||
|
|
|
@ -169,6 +169,11 @@
|
|||
height: 60px;
|
||||
}
|
||||
}
|
||||
.octotree_opts_disclaimer {
|
||||
color: gray;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -80,7 +80,11 @@
|
|||
</div>
|
||||
|
||||
<div class="octotree_github_only">
|
||||
<label><input type="checkbox" data-store="PR"> Show only changes in pull requests</label>
|
||||
<label>
|
||||
<input type="checkbox" data-store="PR">
|
||||
Show only changes in pull requests
|
||||
<span class="octotree_opts_disclaimer">Note: displays a maximum of 300 files</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
|
Loading…
Reference in New Issue