Claudius-Appel / duflor.gui

GUI frontent for `duflor`-package
https://claudius-appel.github.io/duflor.gui/
MIT License
0 stars 0 forks source link

Buttons `select area to analyse` must throw warnings `please select image in 'tbl_dir_files'` when no row is selected #29

Closed Claudius-Appel closed 6 months ago

Claudius-Appel commented 6 months ago

If no row is selected, these buttons will just do nothing. Instead, they must issue shinyWarnings.

mockup:

if (is.na(input$row_selected)) {
shinyNotification()
}
req(input$row_selected) # the rest of the callback requires this parameter to be set.
Claudius-Appel commented 6 months ago

Additionally, the buttons are now simply not available until tbl_dir_files is populated.