RinteRface / argonDash

argon dashboard template
https://rinterface.github.io/argonDash/
138 stars 37 forks source link

Sidebar tab doesn't work when published to shinyapps.io #23

Closed nicolasgomasjaya closed 4 years ago

nicolasgomasjaya commented 4 years ago

I completely copy your example code that I get from https://rdrr.io/cran/argonDash/src/inst/examples/app.R and try to publish it. Here is the link https://nicolasgomasjaya.shinyapps.io/test . Everything works perfectly fine until it get published to shinyapps.io. I don't know how to solve this.

DivadNojnarg commented 4 years ago

What version of shiny are you currently using? In 1.4.0 there are breaking changes regarding Bootstrap and jQuery. This might be the problem since argonDash was not update since.

nicolasgomasjaya commented 4 years ago

Thanks for your response, but I am using shiny version 1.3.2.

DivadNojnarg commented 4 years ago

Well. In that case I will Check what happens on shiny apps.io. Do you have any warning or error in the JavaScript console?

nicolasgomasjaya commented 4 years ago

There is no error at all in the Rstudio. I can run the apps locally and it is perfect. The only problem is when it get published in shinyapps.io, the sidebar menu weirdly doesn't work. I am currently making a demo of my project with argon dashboard. I just want to say that I really admire your work, and I hope I can provide you information to fix this issue. Thanks man.

DivadNojnarg commented 4 years ago

Ok I see: if you are using argonDash from CRAN, please install the dev version instead:

devtools::install_github("RinteRface/argonR")
devtools::install_github("RinteRface/argonDash")

and redeploy your app. I acknowledge this is misleading. Initially I planned to push the new version on CRAN during the summer but did not have time yet.

nicolasgomasjaya commented 4 years ago

Hi David, I tried to reinstall the packages as you instructed and it solves the issue. Thank you very much, really appreciate it.