[MediaWiki-commits] [Gerrit] wikimedia...rainbow[master]: Annotate Reportupdater migration on graphs

2017-03-08 Thread Chelsyx (Code Review)
Chelsyx has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/341742 )

Change subject: Annotate Reportupdater migration on graphs
..


Annotate Reportupdater migration on graphs

Bug: T150915
Change-Id: Ie650b1eb0f5c9cc40e43a316b71f44e0b8b8cab7
---
M server.R
M tab_documentation/app_events.md
M tab_documentation/app_load.md
M tab_documentation/click_position.md
M tab_documentation/desktop_events.md
M tab_documentation/desktop_load.md
M tab_documentation/failure_breakdown.md
M tab_documentation/failure_langproj.md
M tab_documentation/failure_rate.md
M tab_documentation/failure_suggests.md
M tab_documentation/fulltext_basic.md
M tab_documentation/geo_basic.md
M tab_documentation/invoke_source.md
M tab_documentation/kpi_api_usage.md
M tab_documentation/kpi_augmented_clickthroughs.md
M tab_documentation/kpi_load_time.md
M tab_documentation/kpi_zero_results.md
M tab_documentation/language_basic.md
M tab_documentation/mobile_events.md
M tab_documentation/mobile_load.md
M tab_documentation/open_basic.md
M tab_documentation/paulscore_approx.html
M tab_documentation/prefix_basic.md
M tab_documentation/survival.md
24 files changed, 100 insertions(+), 57 deletions(-)

Approvals:
  Chelsyx: Verified; Looks good to me, approved



diff --git a/server.R b/server.R
index 343dd5f..158ecf5 100644
--- a/server.R
+++ b/server.R
@@ -69,7 +69,8 @@
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_desktop_event)) 
%>%
   polloi::make_dygraph(xlab = "Date", ylab = "Events", title = "Desktop 
search events, by day") %>%
   dyRangeSelector %>%
-  dyEvent(as.Date("2016-07-12"), "A (schema switch)", labelLoc = "bottom")
+  dyEvent(as.Date("2016-07-12"), "A (schema switch)", labelLoc = "bottom") 
%>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$desktop_load_plot <- renderDygraph({
@@ -77,7 +78,8 @@
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_desktop_load)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Load time (ms)", title = 
"Desktop load times, by day", use_si = FALSE) %>%
   dyRangeSelector %>%
-  dyEvent(as.Date("2016-07-12"), "A (schema switch)", labelLoc = "bottom")
+  dyEvent(as.Date("2016-07-12"), "A (schema switch)", labelLoc = "bottom") 
%>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$paulscore_approx_plot_fulltext <- renderDygraph({
@@ -149,14 +151,16 @@
 mobile_dygraph_set %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_mobile_event)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Events", title = "Mobile 
search events, by day") %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$mobile_load_plot <- renderDygraph({
 mobile_load_data %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_mobile_load)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Load time (ms)", title = 
"Mobile search events, by day", use_si = FALSE) %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   ## App value boxes
@@ -192,28 +196,32 @@
 android_dygraph_set %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_app_event)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Events", title = "Android 
mobile app search events, by day") %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$android_load_plot <- renderDygraph({
 android_load_data %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_app_load)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Load time (ms)", title = 
"Android result load times, by day", use_si = FALSE) %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$ios_event_plot <- renderDygraph({
 ios_dygraph_set %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_app_event)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Events", title = "iOS mobile 
app search events, by day") %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$ios_load_plot <- renderDygraph({
 ios_load_data %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_app_lo

[MediaWiki-commits] [Gerrit] wikimedia...rainbow[master]: Annotate Reportupdater migration on graphs

2017-03-07 Thread Bearloga (Code Review)
Bearloga has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/341742 )

Change subject: Annotate Reportupdater migration on graphs
..

Annotate Reportupdater migration on graphs

Change-Id: Ie650b1eb0f5c9cc40e43a316b71f44e0b8b8cab7
---
M server.R
M tab_documentation/app_events.md
M tab_documentation/app_load.md
M tab_documentation/click_position.md
M tab_documentation/desktop_events.md
M tab_documentation/desktop_load.md
M tab_documentation/failure_breakdown.md
M tab_documentation/failure_langproj.md
M tab_documentation/failure_rate.md
M tab_documentation/failure_suggests.md
M tab_documentation/fulltext_basic.md
M tab_documentation/geo_basic.md
M tab_documentation/invoke_source.md
M tab_documentation/kpi_api_usage.md
M tab_documentation/kpi_augmented_clickthroughs.md
M tab_documentation/kpi_load_time.md
M tab_documentation/kpi_zero_results.md
M tab_documentation/language_basic.md
M tab_documentation/mobile_events.md
M tab_documentation/mobile_load.md
M tab_documentation/open_basic.md
M tab_documentation/paulscore_approx.html
M tab_documentation/prefix_basic.md
M tab_documentation/survival.md
24 files changed, 100 insertions(+), 57 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/rainbow 
refs/changes/42/341742/1

diff --git a/server.R b/server.R
index 343dd5f..158ecf5 100644
--- a/server.R
+++ b/server.R
@@ -69,7 +69,8 @@
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_desktop_event)) 
%>%
   polloi::make_dygraph(xlab = "Date", ylab = "Events", title = "Desktop 
search events, by day") %>%
   dyRangeSelector %>%
-  dyEvent(as.Date("2016-07-12"), "A (schema switch)", labelLoc = "bottom")
+  dyEvent(as.Date("2016-07-12"), "A (schema switch)", labelLoc = "bottom") 
%>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$desktop_load_plot <- renderDygraph({
@@ -77,7 +78,8 @@
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_desktop_load)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Load time (ms)", title = 
"Desktop load times, by day", use_si = FALSE) %>%
   dyRangeSelector %>%
-  dyEvent(as.Date("2016-07-12"), "A (schema switch)", labelLoc = "bottom")
+  dyEvent(as.Date("2016-07-12"), "A (schema switch)", labelLoc = "bottom") 
%>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$paulscore_approx_plot_fulltext <- renderDygraph({
@@ -149,14 +151,16 @@
 mobile_dygraph_set %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_mobile_event)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Events", title = "Mobile 
search events, by day") %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$mobile_load_plot <- renderDygraph({
 mobile_load_data %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_mobile_load)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Load time (ms)", title = 
"Mobile search events, by day", use_si = FALSE) %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   ## App value boxes
@@ -192,28 +196,32 @@
 android_dygraph_set %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_app_event)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Events", title = "Android 
mobile app search events, by day") %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$android_load_plot <- renderDygraph({
 android_load_data %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_app_load)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Load time (ms)", title = 
"Android result load times, by day", use_si = FALSE) %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$ios_event_plot <- renderDygraph({
 ios_dygraph_set %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, input$smoothing_app_event)) %>%
   polloi::make_dygraph(xlab = "Date", ylab = "Events", title = "iOS mobile 
app search events, by day") %>%
-  dyRangeSelector
+  dyRangeSelector %>%
+  dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom")
   })
 
   output$ios_load_plot <- renderDygraph({
 ios_load_data %>%
   polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, inpu