rstudio / shinyuieditor

A GUI for laying out a Shiny application that generates clean and human-readable UI code
https://rstudio.github.io/shinyuieditor/
MIT License
216 stars 29 forks source link

concern with design philosophy #193

Closed apsteinmetz closed 1 year ago

apsteinmetz commented 1 year ago

Hi, Nick. Excuse this for being a buzzkill comment. shinyuieditor uses {gridlayout} as its basic layout builder. This is not the "native" shiny page layout code. So that's a bit confusing already. Now it seems that Posit is promoting {bslib} and its page layout vernacular as the more "modern" way. Does that leave this project as a dead-end?

nstrayer commented 1 year ago

This is a good (and sore) point!

Gridlayout was conceived primarily as a method to layout dashboard-style apps. Bslib is more of a styling/component-level framework. That being said we do have a confusing narrative as to how to build dashboards at the moment, with lots of our examples using bslib entirely.

Because gridlayout is so lightweight and for components etc we're using bslib cards etc I think it's fine but I agree that Shiny as a whole should have a clear narrative. Once that's completed, the UI editor can/will be updated to fit that.

It is worth noting that you can use the bslib navbar page as the root of your app; however, for most non-trivial things for layout gridlayout is still the easiest way in the editor.

nstrayer commented 1 year ago

194 fills a similar role to this. I'm going to close this with the idea of consolidating the discussion there. Please feel free to reopen if you think the two issues get at different things. This is definitely going to be a priority moving forward.