Skip to content

feat: try waiting for shinyapps to have loaded before continuing - #169

Draft
G-Rath wants to merge 1 commit into
mainfrom
improve-shiny-handling
Draft

feat: try waiting for shinyapps to have loaded before continuing#169
G-Rath wants to merge 1 commit into
mainfrom
improve-shiny-handling

Conversation

@G-Rath

@G-Rath G-Rath commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Shiny apps look to be a hybrid that relies on loading content with JavaScript after the initial load and they don't seem to be particularly fast so right now it's very common for us to end up auditing nothing unless you've manually set the page load time (which everyone tries to avoid because that means more waiting in general).

This attempts to have the browser wait for Shiny apps to finish loading before continuing by checking that the _router_ui element has children, which looks to be where Shiny apps load their content into

Resolves #136

@G-Rath
G-Rath force-pushed the improve-shiny-handling branch from 9387f83 to f892efd Compare October 8, 2025 23:28
@nzlaura nzlaura changed the title feat: try waiting for shinappys to have loaded before continuing feat: try waiting for shinyapps to have loaded before continuing Oct 16, 2025
@G-Rath
G-Rath force-pushed the improve-shiny-handling branch 3 times, most recently from ef313a1 to a6b0f34 Compare October 29, 2025 01:24
@G-Rath
G-Rath force-pushed the improve-shiny-handling branch 3 times, most recently from 3911cc5 to a9f4d12 Compare May 14, 2026 03:42
@G-Rath
G-Rath force-pushed the improve-shiny-handling branch from a9f4d12 to 8d51c76 Compare May 14, 2026 18:52
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.

include 202 in ok_status_codes?

1 participant