[results feed] Add link to test history next to log link in popup

Change-Id: Ia2bee2f4f7cb4a4ef971b76481105164bc1df9bb
Reviewed-on: https://dart-review.googlesource.com/c/dart_ci/+/157302
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: William Hesse <whesse@google.com>
diff --git a/results_feed/lib/src/components/log_component.dart b/results_feed/lib/src/components/log_component.dart
index a18d64d..98b785b 100644
--- a/results_feed/lib/src/components/log_component.dart
+++ b/results_feed/lib/src/components/log_component.dart
@@ -12,8 +12,13 @@
   providers: [],
   directives: [coreDirectives],
   template: '''
+            {{configuration}}
+            <a
+            href="https://dart-ci.firebaseapp.com/#showLatestFailures=false&test={{test}}&configurations={{configuration}}"
+            target="_blank">history</a>
             <a *ngIf="build != null"
-            href="https://dart-ci.appspot.com/log/{{build.builder}}/{{configuration}}/{{build.buildNumber}}/{{test}}" target="_blank">{{configuration}}</a><br>
+            href="https://dart-ci.appspot.com/log/{{build.builder}}/{{configuration}}/{{build.buildNumber}}/{{test}}"
+            target="_blank">log</a><br>
   ''',
 )
 class LogComponent implements OnInit {
diff --git a/results_feed/lib/src/components/results_panel.html b/results_feed/lib/src/components/results_panel.html
index b6d4015..3fb15c1 100644
--- a/results_feed/lib/src/components/results_panel.html
+++ b/results_feed/lib/src/components/results_panel.html
@@ -35,7 +35,7 @@
           [for]="logs"
           [preferredPositions]="preferredTooltipPositions">
         <div *deferredContent>
-          <h4>Logs</h4>
+          <h4>{{change.name}}</h4>
           <dart-log
               *ngFor="let configuration of change.configurations.configurations"
               [configuration]="configuration"
@@ -44,21 +44,6 @@
           </dart-log>
         </div>
       </material-tooltip-card>
-      <material-tooltip-card
-          *ngIf="builds != null"
-          [for]="logs"
-          [preferredPositions]="preferredTooltipPositions">
-        <div *deferredContent>
-          <h4>Logs</h4>
-          <div *ngFor="let configuration of change.configurations.configurations">
-            <a *ngIf="buildbucketID(change.patchset, configuration) != null"
-               target="_blank"
-               href="https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/{{buildbucketID(change.patchset, configuration)}}/+/steps/test_results/0/logs/new_test_failures__logs_/0">
-              {{configuration}}
-            </a>
-          </div>
-        </div>
-      </material-tooltip-card>
     </span>
     <div
         *ngIf="resultGroup.length > resultLimit"