Skip to content
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
6471a48
feat: rearrange reporter position
vedhav Jul 14, 2025
c2cce0d
fix: make the list borders work + reorganize internal button functions
vedhav Jul 14, 2025
0476c39
[skip style] [skip vbump] Restyle files
github-actions[bot] Jul 15, 2025
5afe25d
chore: remove redundant test
vedhav Jul 15, 2025
1c28236
feat: improve the button ui and handle disable/enable
vedhav Jul 15, 2025
9acfeb7
chore: remove redundant `reporter_previewer_module`
vedhav Jul 15, 2025
096e671
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jul 15, 2025
bec1eb4
chore: fix style changes
vedhav Jul 16, 2025
882ee51
chore: remove local change
vedhav Jul 16, 2025
29c92b1
- set options for teal.reporter download
gogonzo Jul 16, 2025
bc24f10
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jul 16, 2025
8e4096f
fix: make sure teal app works when reporter is not provided
vedhav Jul 16, 2025
db74022
chore: move the reporter args logic inside the temp function
vedhav Jul 16, 2025
0bb2853
[skip style] [skip vbump] Restyle files
github-actions[bot] Jul 16, 2025
ef5f226
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jul 16, 2025
c972d35
Add number of modules next to navigation label (#1565)
averissimo Jul 16, 2025
aebc5c2
feat: improve ui and make reporter visible only when modules contain …
vedhav Jul 16, 2025
2996eee
fix: make sure that the nested tree lines are not broken for some cases
vedhav Jul 17, 2025
5290327
Merge remote-tracking branch 'origin/main' into redesign-ui-ux@main
gogonzo Jul 17, 2025
f20dee3
remove duplicated stuff
gogonzo Jul 18, 2025
2a80293
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jul 18, 2025
f8c661b
fix test after changin the namespace
gogonzo Jul 21, 2025
9fffa4e
fix: make sure the modules and report dropdown have style differences
vedhav Jul 21, 2025
fdac90f
chore: use the labels explicitly as they are generally `NULL` by default
vedhav Jul 22, 2025
5c85f65
nav-link and tab-content to module_nested_tabs
gogonzo Jul 22, 2025
9eaed25
cicd fix
gogonzo Jul 22, 2025
ec4adff
fix spelling and lintr
gogonzo Jul 22, 2025
597bd3b
fix pkgdown
gogonzo Jul 22, 2025
82df1cc
chore: use bslib color vars
vedhav Jul 22, 2025
e568ecf
chore: standardize the modal ui elements based on discussion with the…
vedhav Jul 22, 2025
37642ad
feat: improve snapshot manager interaction
vedhav Jul 22, 2025
bd39c29
feat: add modules count to the label
vedhav Jul 23, 2025
8292330
feat: improve the report previewer button dropdown width
vedhav Jul 23, 2025
9c0f789
docs: update news and deprecation message
vedhav Jul 23, 2025
044286c
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Jul 23, 2025
f8deb83
refurnish (#1568)
gogonzo Jul 24, 2025
bd96b8a
spelling
gogonzo Jul 24, 2025
b5b9fc6
Merge branch 'main' into redesign-ui-ux@main
gogonzo Jul 24, 2025
d992a6d
Update NEWS.md
vedhav Jul 24, 2025
a383aa5
chore: vbump teal.reporter dependency
vedhav Jul 24, 2025
ebe959d
chore: address lluis + dony's comments
vedhav Jul 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Imports:
stats,
teal.code (>= 0.6.1),
teal.logger (>= 0.4.0),
teal.reporter (>= 0.4.0.9004),
teal.reporter (>= 0.4.0.9005),
teal.widgets (>= 0.4.3.9001),
tools,
utils
Expand Down
14 changes: 6 additions & 8 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# Generated by roxygen2: do not edit by hand

S3method(.srv_teal_module,default)
Comment thread
averissimo marked this conversation as resolved.
S3method(.srv_teal_module,teal_module)
S3method(.srv_teal_module,teal_modules)
S3method(.ui_teal_module,default)
S3method(.ui_teal_module,teal_module)
S3method(.ui_teal_module,teal_modules)
S3method(c,teal_slices)
S3method(format,teal_module)
S3method(format,teal_modules)
S3method(join_keys,tdata)
S3method(print,teal_module)
S3method(print,teal_modules)
S3method(srv_teal_module,default)
S3method(srv_teal_module,teal_module)
S3method(srv_teal_module,teal_modules)
S3method(ui_teal_module,default)
S3method(ui_teal_module,teal_module)
S3method(ui_teal_module,teal_modules)
S3method(ui_teal_modules_nav_dropdown,teal_module)
S3method(ui_teal_modules_nav_dropdown,teal_modules)
S3method(within,teal_data_module)
export(TealReportCard)
export(add_landing_modal)
Expand Down
15 changes: 15 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# teal 0.16.0.9015

### Breaking changes

* The `reporter_previewer_module()` is deprecated and will be removed in the future release. The custom `server_args` values can be set using `options()`:
Comment thread
vedhav marked this conversation as resolved.
- `teal.reporter.nav_buttons` to control which buttons will be displayed in the "Report" drop-down.
- `teal.reporter.rmd_outputs` to customize the R Markdown outputs types for the report.
- `teal.reporter.rmd_yaml_args` to customize the widget inputs in the download report modal.
- `teal.reporter.knitr_global` to customize the global `knitr` options for the report.

### Enhancement

* General repositioning of key navigation components across the app:
- Modules: The module navigation is moved from a nested tab selection to a "Module" drop-down selection. The module selection can be done from the nested button of modules.
- Reporter: The Report previewer is no longer displayed as yet another teal module, it is placed inside a "Report" drop-down right next to the "Module" drop-down. The Report previewer is a modal that displays the added report cards. The "Report" drop-down also contains other global report options like download/load/reset the Report.
- Teal Data Module: The UI created by the `teal_data_module()` is now placed inside a modal that can only be closed when it returns `teal_data`.

# teal 0.16.0

### New features
Expand Down
2 changes: 2 additions & 0 deletions R/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ init <- function(data,
list(
ui = function(request) {
bslib::page_fluid(
theme = get_teal_bs_theme(),
style = "--bs-gutter-x: 0;",
title = tags$div(
id = "teal-app-title",
tags$head(
Expand Down
19 changes: 5 additions & 14 deletions R/module_bookmark_manager.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,11 @@ ui_bookmark_panel <- function(id, modules) {
is_unbookmarkable <- need_bookmarking(modules)
shinyOptions(bookmarkStore = bookmark_option)

# Render bookmark warnings count
if (!all(is_unbookmarkable) && identical(bookmark_option, "server")) {
tags$button(
.expand_button(
id = ns("do_bookmark"),
class = "btn action-button wunder_bar_button bookmark_manager_button",
title = "Add bookmark",
tags$span(
suppressMessages(icon("fas fa-bookmark")),
if (any(is_unbookmarkable)) {
tags$span(
sum(is_unbookmarkable),
class = "badge-warning badge-count text-white bg-danger"
)
}
)
label = "Bookmark",
icon = "bookmark-fill"
)
}
}
Expand Down Expand Up @@ -136,7 +126,8 @@ srv_bookmark_panel <- function(id, modules) {
id = ns("bookmark_modal"),
title = "Bookmarked teal app url",
modal_content,
easyClose = TRUE
easyClose = TRUE,
footer = NULL
)
)
)
Expand Down
2 changes: 1 addition & 1 deletion R/module_data_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' Module includes also "Show/Hide unsupported" button to toggle rows of the summary table
#' containing datasets where number of observations are not calculated.
#'
#' @inheritParams module_teal_modules_nav
#' @inheritParams module_teal_module
#'
#' @name module_data_summary
#' @rdname module_data_summary
Expand Down
2 changes: 1 addition & 1 deletion R/module_filter_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' - tab is selected (`is_active`)
#' - when filters are changed (`get_filter_expr` is different than previous)
#'
#' @inheritParams module_teal_modules_nav
#' @inheritParams module_teal_module
#' @param active_datanames (`reactive` returning `character`) this module's data names
#' @name module_filter_data
#' @keywords internal
Expand Down
7 changes: 3 additions & 4 deletions R/module_filter_manager.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ NULL
#' @rdname module_filter_manager
ui_filter_manager_panel <- function(id) {
ns <- NS(id)
tags$button(
.expand_button(
id = ns("show_filter_manager"),
class = "btn action-button wunder_bar_button",
title = "View filter mapping",
suppressMessages(icon("fas fa-grip"))
label = "Filter Manager",
icon = "funnel-fill"
)
}

Expand Down
Loading
Loading