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

Delete bound output code if deleting element #213

Closed nstrayer closed 8 months ago

nstrayer commented 8 months ago

Previously if you deleted an output like a plot that had some render code in the server associated with it, that server code would be left in the server without and bindings. This PR adds logic to detect when deleting a node is about to create this orphaned output code and asks if the user wants to delete that code or leave it. This really helps in the situation where you start with a template that has pre-defined output code that you almost definitely don't want.

netlify[bot] commented 8 months ago

Deploy Preview for shinyuieditor-storybook ready!

Name Link
Latest commit 445e3fa628fa3a8a8261bdb26aab067f3b72215a
Latest deploy log https://app.netlify.com/sites/shinyuieditor-storybook/deploys/6526a7b283ca7c00088b165c
Deploy Preview https://deploy-preview-213--shinyuieditor-storybook.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.