Skip to content

Commit 4f6f470

Browse files
authored
Removes 2 reporter buttons (#1428)
# Pull Request - Fixes #1376 ### Changes description - Removes 2 UI buttons that were leftover from #1392 - Adds NEWS.md section
1 parent 71593e4 commit 4f6f470

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# teal.modules.clinical 0.11.1.9006
22

33
### Enhancements
4+
* Modules return a `teal_report` object that contains the data, code and report. All the reporter buttons were removed from the modules' UI in favor of the framework level reporter buttons (#1376).
45
* Added `xticks` parameter to `tm_g_km` module to allow users to specify x-axis tick positions programmatically.
56
When `xticks` is provided, the interactive input field is pre-populated with the specified values as a default.
67
Users can then modify these values interactively, and their changes will take precedence over the default.

R/tm_g_ci.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,6 @@ ui_g_ci <- function(id, ...) {
364364
teal.widgets::standard_layout(
365365
output = teal.widgets::plot_with_settings_ui(id = ns("myplot")),
366366
encoding = tags$div(
367-
### Reporter
368-
teal.reporter::add_card_button_ui(ns("add_reporter"), label = "Add Report Card"),
369-
tags$br(), tags$br(),
370-
###
371367
tags$label("Encodings", class = "text-primary"), tags$br(),
372368
teal.transform::datanames_input(args[c("x_var", "y_var", "color")]),
373369
teal.transform::data_extract_ui(

R/tm_g_km.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -469,10 +469,6 @@ ui_g_km <- function(id, ...) {
469469
)
470470
),
471471
encoding = tags$div(
472-
### Reporter
473-
teal.reporter::add_card_button_ui(ns("add_reporter"), label = "Add Report Card"),
474-
tags$br(), tags$br(),
475-
###
476472
tags$label("Encodings", class = "text-primary"), tags$br(),
477473
teal.transform::datanames_input(a[c("arm_var", "paramcd", "strata_var", "facet_var", "aval_var", "cnsr_var")]),
478474
teal.transform::data_extract_ui(

0 commit comments

Comments
 (0)