Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make shiny's busy indication the default experience #1053

Merged
merged 7 commits into from
May 29, 2024
Merged

Conversation

cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented May 6, 2024

@cpsievert cpsievert mentioned this pull request May 10, 2024
1 task
@cpsievert cpsievert marked this pull request as ready for review May 20, 2024 15:10
@cpsievert cpsievert requested a review from gadenbuie May 20, 2024 15:10
@@ -27,7 +27,8 @@ page <- function(..., title = NULL, theme = bs_theme(), lang = NULL) {
theme = theme,
lang = lang,
# Components require Bootstrap 5+
if (isTRUE(theme_version(theme) >= 5)) component_dependencies()
if (isTRUE(theme_version(theme) >= 5)) component_dependencies(),
if (is_installed("shiny", "1.8.1.9001")) shiny::useBusyIndicators()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should rename is_installed(version=) to gt_eq so that we can write this

if (is_installed("shiny", gt_eq = "1.8.1.9000"))

Otherwise you have to go read the source of is_installed() (like I just did) or remember that version means >=.

@cpsievert cpsievert merged commit 8308155 into main May 29, 2024
13 checks passed
@cpsievert cpsievert deleted the busy-indicators branch May 29, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants