Tychobra / polished

Authentication and Administration for Shiny apps
https://polished.tech
Other
234 stars 36 forks source link

Polished.tech Dashboard #139

Closed Lwan12 closed 3 years ago

Lwan12 commented 3 years ago

Hi,

Polished is an amazing R package and is very helpful to me.

And I am very interested in Polished dashborad program, there is a function I don’t know how to implement it with RShiny.

The function is how you present two interfaces in one menuItem(just like menuitem='shiny apps'), and the second interface is presented according to the different APP name selected in the first interface.

Does this dashboard have open source code? Or how this part is realized, can you give me some hints, thank you! polish

merlinoa commented 3 years ago

For this particular functionality, we just use the shinyjs R package and show/hide the content when the user click to edit an app. We detect the button clicks by adding Javascript event listeners and sending info about the app being edited back to Shiny. These apps follow a similar pattern of using a small amount of custom Javascript with Shiny: https://github.com/Tychobra/shiny_crud

I'm going to close this out as it is not really relevant to polished

Lwan12 commented 3 years ago

For this particular functionality, we just use the shinyjs R package and show/hide the content when the user click to edit an app. We detect the button clicks by adding Javascript event listeners and sending info about the app being edited back to Shiny. These apps follow a similar pattern of using a small amount of custom Javascript with Shiny: https://github.com/Tychobra/shiny_crud

I'm going to close this out as it is not really relevant to polished

Thanks!