Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2947)

Unified Diff: appengine/findit/templates/config.html

Issue 2104113002: [Findit] Add settings for actions after culprits or suspects are identified. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@group_same_failures
Patch Set: Address chan's comments. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/findit/templates/config.html
diff --git a/appengine/findit/templates/config.html b/appengine/findit/templates/config.html
index e8b61057563d6cc1e91fe736a655924fffbe17e8..157ce44a34ce6bb2ed6c0854c10442370c9c9128 100644
--- a/appengine/findit/templates/config.html
+++ b/appengine/findit/templates/config.html
@@ -30,7 +30,8 @@
findit.builders = {{ builders | tojson | safe }};
findit.tryJobSettings = {{ try_job_settings | tojson | safe}};
findit.swarmingSettings = {{ swarming_settings | tojson | safe }};
- findit.downloadBuildDataSettings = {{ download_build_data_settings | tojson | safe }}
+ findit.downloadBuildDataSettings = {{ download_build_data_settings | tojson | safe }};
+ findit.actionSettings = {{ action_settings | tojson | safe }};
function getJsonOfTextarea(textId) {
return JSON.parse($('#' + textId).val());
@@ -68,7 +69,8 @@
'builders_to_trybots': getJsonOfTextarea('builders-to-trybots'),
'try_job_settings': getJsonOfTextarea('try-job-settings'),
'swarming_settings': getJsonOfTextarea('swarming-settings'),
- 'download_build_data_settings': getJsonOfTextarea('download-build-data-settings')
+ 'download_build_data_settings': getJsonOfTextarea('download-build-data-settings'),
+ 'action_settings': getJsonOfTextarea('action-settings'),
};
$.post('/waterfall/config', { data: JSON.stringify(newConfig) }).done(function(){
window.location.replace(createUrl(null)); // Reload after successful saving.
@@ -89,6 +91,7 @@
$('#try-job-settings').val(getStringFromJson(findit.tryJobSettings));
$('#swarming-settings').val(getStringFromJson(findit.swarmingSettings));
$('#download-build-data-settings').val(getStringFromJson(findit.downloadBuildDataSettings));
+ $('#action-settings').val(getStringFromJson(findit.actionSettings));
if ({{ version }} < 2) {
$('#previous-version-button').attr('disabled', 'disabled');
@@ -139,6 +142,10 @@
Download Build Data Settings:<br>
<textarea id="download-build-data-settings" rows="10" cols="80"></textarea>
</div>
+ <div>
+ Action Settings for identified culprits or suspects:<br>
+ <textarea id="action-settings" rows="10" cols="80"></textarea>
+ </div>
<br>
<button type="submit" id="save-button">Save</button>
</body>
« no previous file with comments | « appengine/findit/model/wf_config.py ('k') | appengine/findit/waterfall/send_notification_for_culprit_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698