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
Suggestion to clean up URL #73
Comments
This is just to ensure that bs4Dash works on all professional RStudio products (If you remove it, you will notice that tab navigation will fail). For instance, shiny apps.io allow to create new R processes based on the current load and each time a new worker is created there is an idea associated. What you see in the url is the workId, there is no bad intention behind it ;) |
Thanks. I ran across this package and I like the functions for change_page, is_page as shown towards the end of this article. I like bs4Dash for all it's cool UI features. I wanted to be able to change tabs from the server. I also have users that try and push the back button, so this would also help here. I tried to combine packages for best of both worlds... am close but how do I disable the workerID in the URL? https://appsilon.com/shiny-router-package/ This code works locally, but on shinyserver all the workerIDs ruin the navigation. If I manage my own page or tab navigation how do I turn off the workID in the URL.
|
I did get this to work. I cloned the repo and found workerID in bs4Dash.js in the inst folder and I just commented out window.history.replaceState. It's still a work in progress for me, I'm not sure if this will be beneficial in the end. But I was able to host an app on shinyserver and use the shiny.router package to control the tabs and then have bs4Dash package for pretty UI elements. When hosting on shiny server I also had to update the href ="" to include the full URL name of my app. For what it's worth here is a link demoing what I did. I have yet to determine if this will be beneficial to me. https://rxdev.dashpbb.net/bs4Router/#!/
|
This looks interesting. I don't have a lot of experience with shiny.router. |
Neither do I. I thought it might be a way to help break up my app... Thanks for your help here. This package is great for a new look for shiny dashboards. |
Hi! I am trying to deploy a Shiny App that, among other things, is capable of reading GET requests. This is possible if the user adds parameters to the address, like Everything works perfectly until I moved the Commenting out that line, as you mention, would be captured by shinyapps.io so that gets solved? Would that create other potential issues? |
When I host an app the URL grows as the user clicks around. Would it be possible to turn off all the /w strings that get added to the URL. Very cosmetic, I know and I'm likely naive, but I don't know what this is doing. Thank you.
For example, what is all this after /bs4DashDemo/
https://dgranjon.shinyapps.io/bs4DashDemo/_w_2e516194/_w_9ab1ab52/_w_f7431d38/
The text was updated successfully, but these errors were encountered: