Skip to content

Commit

Permalink
Merge pull request #388 from blockr-org/fix.rendered
Browse files Browse the repository at this point in the history
Rendered block loading not disappearing
  • Loading branch information
DivadNojnarg authored Jul 2, 2024
2 parents 39aec7b + d2ae237 commit db3f076
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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,
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion R/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ generate_server.stack <- function(x, id = NULL, new_block = NULL,
)
})

observe({
observeEvent(input$rendered, {
session$sendCustomMessage(
"blockr-render-stack",
list(
Expand Down
3 changes: 2 additions & 1 deletion R/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ generate_ui.stack <- function(x, id = NULL, ...) {
})
)
),
useBlockr()
useBlockr(),
tags$script(HTML(sprintf("Shiny.setInputValue('%s', 1);", ns("rendered"))))
)
}

Expand Down

0 comments on commit db3f076

Please sign in to comment.