+2015-02-20 Ryosuke Niwa <rniwa@webkit.org>
+
+ REGRESSION(r180333): Analysis tasks can't be associated with bugs
+ https://bugs.webkit.org/show_bug.cgi?id=141858
+
+ Reviewed by Andreas Kling.
+
+ Added back the erroneously removed table to associate bugs. Also moved "details-table-container" div outside
+ of the chart-details partial template as it needs to wrap associate bugs in analysis task pages.
+
+ * public/v2/chart-pane.css:
+ * public/v2/index.html:
+
2015-02-20 Ryosuke Niwa <rniwa@webkit.org>
Selecting revisions for A/B testing is hard
height: 15rem;
}
-.analysis-chart-pane .details {
- overflow: scroll;
-}
-
.analysis-chart-pane table {
margin: 0.5rem;
}
.chart-pane .details-table,
.chart-pane .commits-viewer {
font-size: 0.8rem;
- width: 100%;
+ width: auto;
table-layout: fixed;
border-collapse: collapse;
}
selection=overviewSelection}}
{{/if}}
</div>
- {{partial "chart-details"}}
+ <div class="details-table-container">
+ {{partial "chart-details"}}
+ </div>
</div>
</div>
<script type="text/x-handlebars" data-template-name="chart-details">
{{#if details}}
- <div class="details-table-container">
<table class="details-table">
<tbody class="bugs">
{{#each details.bugTrackers}}
{{commits-viewer repository=repository revisionInfo=this caption=name}}
{{/each}}
</div>
- </div>
{{/if}}
</script>
rangeRoute="analysisTask"}}
</div>
<div class="details">
- {{partial "chart-details"}}
+ <div class="details-table-container">
+ <table class="analysis-bugs">
+ <tbody>
+ {{#each bugTrackers}}
+ <tr>
+ <th>{{label}}</th>
+ <td>
+ <form {{action "associateBug" this editedBugNumber on="submit"}}>
+ {{input type=text value=editedBugNumber}}
+ </form>
+ </td>
+ </tr>
+ {{/each}}
+ </tbody>
+ </table>
+ {{partial "chart-details"}}
+ </div>
</div>
</section>
{{/if}}