Skip to content

Commit

Permalink
Merge pull request #426 from BristolMyersSquibb/358-file-browser-fiel…
Browse files Browse the repository at this point in the history
…d-file-root

Fix file browser field - file root #358
  • Loading branch information
DivadNojnarg authored Oct 1, 2024
2 parents 3625203 + e4185bf commit 5f169ea
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 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.9022
Version: 0.0.2.9023
Authors@R:
c(person(given = "Nicolas",
family = "Bennett",
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# blockr 0.0.2.9022
# blockr 0.0.2.9023

## Feature
- Improved `submit` feature for blocks. Now submit isn't added as a class but as a special block attribute. When you design a block, you can pass the `submit` parameter like so:
Expand Down Expand Up @@ -52,6 +52,7 @@ If not passed, the block will belong to `uncategorized` blocks (default).
- Fix issue in `handle_remove.block`: `vals$stack` wasn't correctly updated
when the last block was removed leading to wrong state.
- Loading spinner is now correctly hidden when the block visual is updated.
- Fix [#358](https://github.com/BristolMyersSquibb/blockr/issues/358).

# blockr 0.0.2

Expand Down
3 changes: 1 addition & 2 deletions R/blocks.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#' @export
new_dataset_block <- function(selected = character(), package = "datasets",
...) {

is_dataset_eligible <- function(x, pkg) {
inherits(do.call("::", list(pkg = pkg, name = x)), "data.frame")
}
Expand Down Expand Up @@ -66,7 +65,7 @@ new_upload_block <- function(file_path = character(), ...) {
#' @param volumes Paths accessible by the shinyFiles browser
#' @export
new_filesbrowser_block <- function(file_path = character(),
volumes = c(home = path.expand("~")), ...) {
volumes = c(root = "/", home = path.expand("~")), ...) {
new_block(
fields = list(
file = new_filesbrowser_field(file_path,
Expand Down
2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,6 @@ reference:

news:
releases:
- text: "blockr 0.0.2.9022"
- text: "blockr 0.0.2.9023"
- text: "blockr 0.0.2"
- text: "blockr 0.0.1.9000"
2 changes: 1 addition & 1 deletion man/new_filesbrowser_block.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5f169ea

Please sign in to comment.