[results feed] Add link from test on results feed to current results
Fixes: https://github.com/dart-lang/dart_ci/issues/113
Change-Id: Ia8523ec501c00a31217f17bc503cd94f4ad4d2dc
Reviewed-on: https://dart-review.googlesource.com/c/dart_ci/+/212568
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
diff --git a/results_feed/README.md b/results_feed/README.md
index 9398238..b4fa86f 100644
--- a/results_feed/README.md
+++ b/results_feed/README.md
@@ -5,7 +5,7 @@
It uses Firebase and Firestore, and is hosted at
https://dart-ci.firebaseapp.com/
-## Prerequisites
+## Prerequisites (Verified 2021-09-06)
- Dart SDK version 2.10.0-stable
- webdev 2.5.9 (run `pub global activate webdev 2.5.9`)
@@ -13,7 +13,7 @@
## Building
Build the project with the command
- webdev build
+ webdev build --output=web:build/web
## Testing
Run tests (one at a time only) with the commands
diff --git a/results_feed/lib/src/components/results_panel.html b/results_feed/lib/src/components/results_panel.html
index 8230c7a..20b8fdb 100644
--- a/results_feed/lib/src/components/results_panel.html
+++ b/results_feed/lib/src/components/results_panel.html
@@ -37,10 +37,15 @@
<div *deferredContent>
<h4>{{change.name}}</h4>
<a
+ href="https://dart-ci.firebaseapp.com/current_results/#/filter={{change.name}}&showAll"
+ target="_blank">
+ current test results
+ </a><br>
+ <a
href="https://github.com/dart-lang/sdk/issues?q=is%3Aissue+{{change.name}}"
target="_blank">
GitHub issue search
- </a><br>
+ </a><br><br>
<dart-log
*ngFor="let configuration of change.configurations.configurations"
[configuration]="configuration"
@@ -57,10 +62,15 @@
<div *deferredContent>
<h4>{{change.name}}</h4>
<a
+ href="https://dart-ci.firebaseapp.com/current_results/#/filter={{change.name}}&showAll"
+ target="_blank">
+ current test results
+ </a><br>
+ <a
href="https://github.com/dart-lang/sdk/issues?q=is%3Aissue+{{change.name}}"
target="_blank">
GitHub issue search
- </a><br>
+ </a><br><br>
<div *ngFor="let configuration of change.configurations.configurations">
{{configuration}}
<a
diff --git a/results_feed/lib/src/components/results_selector_panel.html b/results_feed/lib/src/components/results_selector_panel.html
index f2fbb45..916869f 100644
--- a/results_feed/lib/src/components/results_selector_panel.html
+++ b/results_feed/lib/src/components/results_selector_panel.html
@@ -58,10 +58,15 @@
<div *deferredContent>
<h4>{{change.name}}</h4>
<a
+ href="https://dart-ci.firebaseapp.com/current_results/#/filter={{change.name}}&showAll"
+ target="_blank">
+ current test results
+ </a><br>
+ <a
href="https://github.com/dart-lang/sdk/issues?q=is%3Aissue+{{change.name}}"
target="_blank">
GitHub issue search
- </a><br>
+ </a><br><br>
<dart-log
*ngFor="let configuration of change.configurations.configurations"
[configuration]="configuration"
@@ -78,10 +83,15 @@
<div *deferredContent>
<h4>{{change.name}}</h4>
<a
+ href="https://dart-ci.firebaseapp.com/current_results/#/filter={{change.name}}&showAll"
+ target="_blank">
+ current test results
+ </a><br>
+ <a
href="https://github.com/dart-lang/sdk/issues?q=is%3Aissue+{{change.name}}"
target="_blank">
GitHub issue search
- </a><br>
+ </a><br><br>
<div *ngFor="let configuration of change.configurations.configurations">
{{configuration}}
<a