Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokwee committed Apr 19, 2024
1 parent 335510a commit 02ec23b
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 9 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.3.2-master240416
v3.3.2-new-bc240419
2 changes: 1 addition & 1 deletion components/app/R/www/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/board.loading/R/loading_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ LoadingUI <- function(id) {
div(
shiny::actionButton(
ns("loadbutton"),
label = "Analyze dataset",
label = "Load selected",
icon = icon("file-import"),
class = "btn btn-primary",
width = NULL
Expand Down
14 changes: 13 additions & 1 deletion components/board.upload/R/upload_module_preview.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##---------------------------------------------------
## COUNTS
##---------------------------------------------------

upload_table_preview_counts_ui <- function(id) {

ns <- shiny::NS(id)
Expand Down Expand Up @@ -229,6 +233,10 @@ upload_table_preview_counts_server <- function(
}) ## end of moduleServer
} ## end of server

##---------------------------------------------------
## SAMPLES
##---------------------------------------------------

upload_table_preview_samples_ui <- function(id) {
ns <- shiny::NS(id)
uiOutput(ns("table_samples"), fill=TRUE)
Expand Down Expand Up @@ -426,6 +434,10 @@ upload_table_preview_samples_server <- function(
})
}

##---------------------------------------------------
## CONTRASTS
##---------------------------------------------------

upload_table_preview_contrasts_ui <- function(id) {
ns <- shiny::NS(id)
uiOutput(ns("table_contrasts"), fill = TRUE)
Expand Down Expand Up @@ -839,4 +851,4 @@ writeLines('
con = icon_file
)

icon_encoded <- xfun::base64_uri(icon_file)
icon_encoded <- xfun::base64_uri(icon_file)
3 changes: 1 addition & 2 deletions components/board.upload/R/upload_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -636,11 +636,10 @@ UploadBoard <- function(id,
}
})


# lock wizard at Comparison step
observeEvent(
list(input$upload_wizard, modified_ct()),{
req(input$upload_wizard == "Step 3: Comparison")
req(input$upload_wizard == "Step 3: Comparisons")
if (is.null(modified_ct()) || ncol(modified_ct()) == 0 || is.null(checked_contrasts()) || is.null(checked_samples()) || is.null(checked_counts())){
wizardR::lock("upload_wizard")
} else {
Expand Down
4 changes: 2 additions & 2 deletions components/board.upload/R/upload_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ UploadUI <- function(id) {
)

contrasts_ui <- wizardR::wizard_step(
step_title = "Step 3: Comparison",
step_title = "Step 3: Comparisons",
upload_table_preview_contrasts_ui(
ns("contrasts_preview")
)
)
)

# comparisons_panel <- wizardR::wizard_step(
# step_title = "Comparison Builder",
Expand Down
8 changes: 7 additions & 1 deletion scss/components/_wizard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,10 @@

// .modal-body {
// margin-top: 1.5vh;
// }
// }

.wizard .wizard-nav.dots .wizard-step .dot {
top: -25px;
height: 18px;
width: 18px;
}

0 comments on commit 02ec23b

Please sign in to comment.