diff --git a/DESCRIPTION b/DESCRIPTION index 31adedcaac..fa944e2344 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -64,11 +64,14 @@ Suggests: knitr (>= 1.42), mirai (>= 1.1.1), MultiAssayExperiment, + otel(>= 0.2.0), + otelsdk(>= 0.2.2), R6, renv (>= 1.0.11), rmarkdown (>= 2.23), roxy.shinylive, rvest (>= 1.0.0), + shiny (>= 1.12.1), shinytest2, shinyvalidate, testthat (>= 3.2.0), diff --git a/R/module_nested_tabs.R b/R/module_nested_tabs.R index 616096fc54..e0b29606b8 100644 --- a/R/module_nested_tabs.R +++ b/R/module_nested_tabs.R @@ -107,6 +107,10 @@ srv_teal_module <- function(id, reporter = teal.reporter::Reporter$new(), data_load_status = reactive("ok")) { moduleServer(id, function(input, output, session) { + observeEvent(input$active_module_id, { + otel::log_info(sprintf("The app current module is %s", input$active_module_id)) + }) + .srv_teal_module( id = "nav", data = data,