diff --git a/DESCRIPTION b/DESCRIPTION index 2784c8a0..8ace0c10 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: blockr Title: A block-based framework for data manipulation and visualization -Version: 0.0.2 +Version: 0.0.2.9000 Authors@R: c(person(given = "Nicolas", family = "Bennett", @@ -22,7 +22,7 @@ Description: A framework for data manipulation and visualization using a License: GPL (>= 3) Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.1.9000 Imports: magrittr, shiny, diff --git a/NEWS.md b/NEWS.md index 634cf134..e97b7bb3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +# blockr 0.0.2.9000 + +## Fixes + +- Loading spinner is now correctly hidden when the block visual is updated. + # blockr 0.0.2 ## Breaking changes diff --git a/R/server.R b/R/server.R index 248435ff..07926764 100644 --- a/R/server.R +++ b/R/server.R @@ -434,7 +434,7 @@ generate_server.stack <- function(x, id = NULL, new_block = NULL, ) }) - observe({ + observeEvent(input$rendered, { session$sendCustomMessage( "blockr-render-stack", list( diff --git a/R/ui.R b/R/ui.R index 9b43139b..96e411f4 100644 --- a/R/ui.R +++ b/R/ui.R @@ -329,7 +329,8 @@ generate_ui.stack <- function(x, id = NULL, ...) { }) ) ), - useBlockr() + useBlockr(), + tags$script(HTML(sprintf("Shiny.setInputValue('%s', 1);", ns("rendered")))) ) }