Skip to content

Commit

Permalink
feat: improve ux by warning user that a locked button was clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
mauromiguelm committed Mar 29, 2024
1 parent 62a8b03 commit c5889cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/board.upload/R/upload_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,16 @@ UploadBoard <- function(id,
wizardR::reset("upload_wizard")
})

# warn user when locked button is clicked (UX)
observeEvent(
input$upload_wizard_locked, {
shinyalert::shinyalert(
title = "Upload wizard locked",
text = "Please complete the current step before proceeding.",
type = "warning"
)
})

# wizard lock/unlock logic

# lock/unlock wizard for counts.csv
Expand Down

0 comments on commit c5889cb

Please sign in to comment.