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

Unified Diff: web/inc/logdog-stream-view/view.ts

Issue 2860453003: LogDog Viewer: Link back to source build. (Closed)
Patch Set: comments Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « web/inc/logdog-stream-view/logdog-stream-view.html ('k') | web/inc/logdog-stream-view/viewer.ts » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: web/inc/logdog-stream-view/view.ts
diff --git a/web/inc/logdog-stream-view/view.ts b/web/inc/logdog-stream-view/view.ts
index db3ab6e5a61724b5b0435d4adb1b8914e429a7ef..88d95110c0a8e2a67182552e083e2fe8d30bc883 100644
--- a/web/inc/logdog-stream-view/view.ts
+++ b/web/inc/logdog-stream-view/view.ts
@@ -51,6 +51,8 @@ namespace LogDog {
bottom: boolean;
/** Is the content fully loaded? */
fullyLoaded: boolean;
+ /** If not undefined, link to this URL for the log stream. */
+ logStreamUrl: string | undefined;
/** Text in the status bar. */
loadingState: LoadingState;
@@ -80,6 +82,7 @@ namespace LogDog {
// Polymer properties.
streams: string[];
+ streamLinkUrl: string | undefined;
mobile: boolean;
isSplit: boolean;
metadata: boolean;
@@ -462,6 +465,7 @@ namespace LogDog {
this.comp._setIsSplit(c.split);
this.comp._updateSplitVisible(c.split && this.renderedLogs);
this.comp._updateBottomVisible(c.bottom && this.renderedLogs);
+ this.comp.streamLinkUrl = c.logStreamUrl;
this.comp._setShowStreamingControls(this.renderedLogs && !c.fullyLoaded);
if (c.fullyLoaded) {
« no previous file with comments | « web/inc/logdog-stream-view/logdog-stream-view.html ('k') | web/inc/logdog-stream-view/viewer.ts » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698