| Index: appengine/findit/templates/config.html
|
| diff --git a/appengine/findit/templates/config.html b/appengine/findit/templates/config.html
|
| index 157ce44a34ce6bb2ed6c0854c10442370c9c9128..6bbb15766d07b95991f10d5c6f78dc209fe45b6f 100644
|
| --- a/appengine/findit/templates/config.html
|
| +++ b/appengine/findit/templates/config.html
|
| @@ -32,6 +32,7 @@
|
| findit.swarmingSettings = {{ swarming_settings | tojson | safe }};
|
| findit.downloadBuildDataSettings = {{ download_build_data_settings | tojson | safe }};
|
| findit.actionSettings = {{ action_settings | tojson | safe }};
|
| + findit.checkFlakeSettings = {{ check_flake_settings | tojson | safe }};
|
|
|
| function getJsonOfTextarea(textId) {
|
| return JSON.parse($('#' + textId).val());
|
| @@ -71,6 +72,7 @@
|
| 'swarming_settings': getJsonOfTextarea('swarming-settings'),
|
| 'download_build_data_settings': getJsonOfTextarea('download-build-data-settings'),
|
| 'action_settings': getJsonOfTextarea('action-settings'),
|
| + 'check_flake_settings': getJsonOfTextarea('check-flake-settings')
|
| };
|
| $.post('/waterfall/config', { data: JSON.stringify(newConfig) }).done(function(){
|
| window.location.replace(createUrl(null)); // Reload after successful saving.
|
| @@ -92,6 +94,7 @@
|
| $('#swarming-settings').val(getStringFromJson(findit.swarmingSettings));
|
| $('#download-build-data-settings').val(getStringFromJson(findit.downloadBuildDataSettings));
|
| $('#action-settings').val(getStringFromJson(findit.actionSettings));
|
| + $('#check-flake-settings').val(getStringFromJson(findit.checkFlakeSettings))
|
|
|
| if ({{ version }} < 2) {
|
| $('#previous-version-button').attr('disabled', 'disabled');
|
| @@ -146,6 +149,10 @@
|
| Action Settings for identified culprits or suspects:<br>
|
| <textarea id="action-settings" rows="10" cols="80"></textarea>
|
| </div>
|
| + <div>
|
| + Check Test Flakiness Settings:<br>
|
| + <textarea id="check-flake-settings" rows="10" cols="80"></textarea>
|
| + </div>
|
| <br>
|
| <button type="submit" id="save-button">Save</button>
|
| </body>
|
|
|