[results feed] Restore try results logs popup accidentally removed
Change-Id: I36f36a2073d5247f5fc2a92a6ca76f8fb3dad99c
Reviewed-on: https://dart-review.googlesource.com/c/dart_ci/+/157502
Reviewed-by: Alexander Thomas <athom@google.com>
diff --git a/results_feed/lib/src/components/results_panel.html b/results_feed/lib/src/components/results_panel.html
index 3fb15c1..1c16849 100644
--- a/results_feed/lib/src/components/results_panel.html
+++ b/results_feed/lib/src/components/results_panel.html
@@ -44,6 +44,21 @@
</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"
diff --git a/results_feed/lib/src/components/results_selector_panel.html b/results_feed/lib/src/components/results_selector_panel.html
index 6d44bf5..611e83a 100644
--- a/results_feed/lib/src/components/results_selector_panel.html
+++ b/results_feed/lib/src/components/results_selector_panel.html
@@ -56,7 +56,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"