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
209 stars 29 forks source link

Add simple python support and modularize codebase #164

Closed nstrayer closed 1 year ago

nstrayer commented 1 year ago

This PR adds very basic (and non-enabled) support for ShinyForPython apps along with a new repo structure where info about the UI nodes is stored in a separate "library" in the main mono-repo so it can be shared across the different backends/clients without needing to bring along the entire react dependency and all the annoying with it.

The main con of this change is that to add an element to the editor, you now need to add it in two places:

  1. In the inst/ui-node-definitions/ library for the basic information
  2. In the inst/editor/ library to bind it to a React Component and provide optional render overrides for the settings panels.
netlify[bot] commented 1 year ago

Deploy Preview for shiny-ui-editor failed.

Name Link
Latest commit c345e42b632028d9b20cfd08cb1ddd0290b8eb17
Latest deploy log https://app.netlify.com/sites/shiny-ui-editor/deploys/6453c898b4cc430008ebb3fe
netlify[bot] commented 1 year ago

Deploy Preview for shinyuieditor-storybook failed.

Name Link
Latest commit c345e42b632028d9b20cfd08cb1ddd0290b8eb17
Latest deploy log https://app.netlify.com/sites/shinyuieditor-storybook/deploys/6453c89881a9e3000898754c
nstrayer commented 1 year ago

Closing in favor of #166