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

Side by Side Diff: appengine/findit/templates/crash/fracas_result_feedback.html

Issue 2075153003: [Findit] Add fracas analysis result feedback page. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Address 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 unified diff | Download patch
« no previous file with comments | « appengine/findit/main.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <title>Fracas result feedback</title>
4 <meta charset="utf-8">
5 <link rel="stylesheet" href="/common.css">
6 <style>
7 .error {
8 color: #ffffff;
9 background-color: #e98080;
10 border-color: #a77272;
11 }
12 </style>
13 <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1. 11.1/themes/smoothness/jquery-ui.css">
14 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js "></script>
15 <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.m in.js"></script>
16 <script>
17 function CreateUrl(base_url, parameters) {
18 var params = [];
19 for(var key in parameters) {
20 if (parameters[key] != undefined) {
21 params.push(key + '=' + parameters[key]);
22 }
23 }
24
25 if (params.length == 0) {
26 return base_url;
27 } else {
28 return base_url + '?' + params.join('&');
29 }
30 }
31
32 function ConstructMonorailUrl() {
33 var parameters = {};
34 parameters.status = 'Unconfirmed';
35 parameters.labels = 'Pri-2,Restrict-View-Google';
36 parameters.components = 'Tool>Test>Findit';
Martin Barbella 2016/06/22 17:23:12 Shouldn't this be Tools?
Sharu Jiang 2016/06/22 17:45:57 Oops, changed it.
37 parameters.summary = encodeURIComponent('[Findit] Findit bug or feature');
38 parameters.comment = encodeURIComponent(
39 'Signature: {{signature}}\nVersion: {{version}}\n' +
40 'Channel: {{channel}}\nPlatform: {{platform}}\n\n' +
41 'Findit result: ' + window.location.href +
42 '\n\nWhat is the bug or feature');
Martin Barbella 2016/06/22 17:23:12 Nit: end with ?
Sharu Jiang 2016/06/22 17:45:57 Done.
43 return CreateUrl('https://code.google.com/p/chromium/issues/entry',
44 parameters);
45 }
46
47 $(document).ready(function() {
48 $('#monorail-bug').attr('href', ConstructMonorailUrl());
49 })
50 </script>
51 </head>
52 <body>
53 <div>
54 <b>Crash:</b> (<a href="#" id='monorail-bug'>File a Findit bug</a>)
55 <br>
56 Signature: {{signature}}<br>
57 Version: <a href="https://chromium.googlesource.com/chromium/src.git/+/{{ver sion}}">{{version}}</a><br>
58 Channel: {{channel}}<br>
59 Platform: {{platform}}<br>
60 Request time: {{request_time}}<br>
61 <br>
62 </div>
63
64 <div>
65 <b> Stacktrace: </b>
66 <pre>{{stack_trace}}</pre>
67 </div>
68
69 <div>
70 <br>
71 <b> Historical metadata (last 20 versions):</b>
72 <table id="reliable_failures_table">
73 <thead>
74 <tr>
75 <td align="center">Version</td>
76 {% for metadata in historical_metadata %}
77 <td align="center" width="40"> {{metadata.chrome_version}} </td>
78 {% endfor %}
79 </tr>
80 <tr>
81 <td align="center">CPM</td>
82 {% for metadata in historical_metadata %}
83 <td align="center" width="40"> {{metadata.cpm}} </td>
84 {% endfor %}
85 </tr>
86 <tr>
87 <td align="center">Total clients</td>
88 {% for metadata in historical_metadata %}
89 <td align="center" width="40"> {{metadata.client_number}} </td>
90 {% endfor %}
91 </tr>
92 <tr>
93 <td align="center">Total reports</td>
94 {% for metadata in historical_metadata %}
95 <td align="center" width="40"> {{metadata.report_number}} </td>
96 {% endfor %}
97 </tr>
98 </thead>
99 <tbody>
100 </tbody>
101 </table>
102 </div>
103
104 <div>
105 <br>
106 <b> Regression range: </b>
107 {% if regression_range %}
108 <a href="https://chromium.googlesource.com/chromium/src/+log/{{regression_ range[0]}}..{{regression_range[1]}}?pretty=fuller">{{regression_range[0]}} : {{r egression_range[1]}}</a>
109 {% else %}
110 Not found
111 {% endif %}
112 <br>
113 <div>
114
115 <div>
116 <br><br>
117 {% if analysis_completed %}
118 {% if analysis_failed %}
119 <span class="error">No result because of some error in analysis!</span>
120 {% else %}
121 <b> Suspected cls: </b>
122 {% if suspected_cls %}
123 <table id="suspected_cls_table">
124 <tr>
125 <th>Suspected cls</th>
126 <th>Score</th>
127 <th>Reason</th>
128 </tr>
129 <tbody>
130 {% for suspected_cl in suspected_cls %}
131 <tr>
132 <td align="center"> <a href={{suspected_cl.url}}>{{suspected_cl. revision}}</a> </td>
133 <td align="center"> {{suspected_cl.confidence}} </td>
134 <td align="left"><pre>{{suspected_cl.reason}}</pre></td>
135 </tr>
136 {% endfor %}
137 </tbody>
138 </table>
139 {% else %}
140 Not found <br>
141 {% endif %}
142 {% endif %}
143 {% endif %}
144 </div>
145
146 <div>
147 <br><br>
148 <b> Suspected project: </b>
149 {% if suspected_project %}
150 {{suspected_project}}
151 {% else %}
152 Not found
153 {% endif %}
154 <br>
155 </div>
156
157 <div>
158 <br><br>
159 <b> Suspected components:</b>
160 {% if suspected_components %}
161 <br>
162 {% for component in suspected_components %}
163 <li>
164 {{component}}
165 </li>
166 {% endfor %}
167 {% else %}
168 Not found <br>
169 {% endif %}
170 </div>
171
172 </body>
OLDNEW
« no previous file with comments | « appengine/findit/main.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698