Bearloga has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/260761

Change subject: Gets spider selector from polloi instead
......................................................................

Gets spider selector from polloi instead

Change-Id: I8215e3e75bd58538093034ca93bf32dc6fd7c80f
---
M ui.R
1 file changed, 4 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/wetzel 
refs/changes/61/260761/1

diff --git a/ui.R b/ui.R
index 8996079..32b1b66 100644
--- a/ui.R
+++ b/ui.R
@@ -4,10 +4,6 @@
 
 header <- dashboardHeader(title = "Wikimedia Maps", 
dropdownMenuOutput("message_menu"), disable = FALSE)
 
-spider_check <- function(id_name){
-  shiny::checkboxInput(id_name, label = "Include automata", value = TRUE)
-}
-
 sidebar <- dashboardSidebar(
   tags$head(
     tags$link(rel = "stylesheet", type = "text/css", href = "stylesheet.css"),
@@ -46,7 +42,7 @@
               column(polloi::smooth_select("smoothing_tiles_summary_series"), 
width = 3),
               
column(polloi::timeframe_select("tiles_summary_series_timeframe"), width = 3),
               
column(polloi::timeframe_daterange("tiles_summary_series_timeframe"), width = 
4)),
-            spider_check("tile_summary_automata_check"),
+            polloi::spider_select("tile_summary_automata_check"),
             dygraphOutput("tiles_summary_series"),
             div(id = "tiles_summary_series_legend", style = "text-align: 
right;"),
             includeMarkdown("./tab_documentation/tiles_summary.md")),
@@ -55,7 +51,7 @@
               column(polloi::smooth_select("smoothing_tiles_style_series"), 
width = 4),
               column(polloi::timeframe_select("tiles_style_series_timeframe"), 
width = 4),
               
column(polloi::timeframe_daterange("tiles_style_series_timeframe"), width = 4)),
-            spider_check("tile_style_automata_check"),
+            polloi::spider_select("tile_style_automata_check"),
             dygraphOutput("tiles_style_series"),
             div(id = "tiles_style_series_legend", style = "text-align: 
right;"),
             includeMarkdown("./tab_documentation/tiles_total_by_style.md")),
@@ -64,7 +60,7 @@
               column(polloi::smooth_select("smoothing_tiles_users_series"), 
width = 4),
               column(polloi::timeframe_select("tiles_users_series_timeframe"), 
width = 4),
               
column(polloi::timeframe_daterange("tiles_users_series_timeframe"), width = 4)),
-            spider_check("tile_users_automata_check"),
+            polloi::spider_select("tile_users_automata_check"),
             dygraphOutput("tiles_users_series"),
             div(id = "tiles_users_series_legend", style = "text-align: 
right;"),
             includeMarkdown("./tab_documentation/tiles_users_by_style.md")),
@@ -75,7 +71,7 @@
               
column(polloi::timeframe_daterange("tiles_zoom_series_timeframe"), width = 4)),
             fluidRow(column(uiOutput("zoom_level_selector_container"), width = 
3),
                      column(dygraphOutput("tiles_zoom_series"), width = 8)),
-            spider_check("tile_zoom_automata_check"),
+            polloi::spider_select("tile_zoom_automata_check"),
             div(id = "tiles_zoom_series_legend", style = "text-align: right;"),
             includeMarkdown("./tab_documentation/tiles_total_by_zoom.md")),
     tabItem(tabName = "platform_usage",

-- 
To view, visit https://gerrit.wikimedia.org/r/260761
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8215e3e75bd58538093034ca93bf32dc6fd7c80f
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/wetzel
Gerrit-Branch: master
Gerrit-Owner: Bearloga <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to