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

Misc bug squash #162

Closed nstrayer closed 1 year ago

nstrayer commented 1 year ago

Fixes bug where empty card header and footers would show up in the vscode extension even if they weren't actually present in the card. Was due to the over-optimistic use of the :has() selector, which isnt supported in vscode's webview yet.

It also fixes a nasty bug where, when using the editor from the R function launch_editor(), if you refreshed the page the whole app could just vanish. This was caused due to the backend trying to always guarantee that if the user had switched app types from the template viewer that it didn't leave around old files. Unfortunately, this meant that it erased existing files every time the app loaded, which, when a refresh happened, would be the app you were working on...

netlify[bot] commented 1 year ago

Deploy Preview for shiny-ui-editor ready!

Name Link
Latest commit d4c2c0094fcf96ab6a5ddb4b70e5409c0872c4a1
Latest deploy log https://app.netlify.com/sites/shiny-ui-editor/deploys/64342a42b2056a00089a2b20
Deploy Preview https://deploy-preview-162--shiny-ui-editor.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 settings.

nstrayer commented 1 year ago

/update-snapshots

netlify[bot] commented 1 year ago

Deploy Preview for shinyuieditor-storybook ready!

Name Link
Latest commit d4c2c0094fcf96ab6a5ddb4b70e5409c0872c4a1
Latest deploy log https://app.netlify.com/sites/shinyuieditor-storybook/deploys/64342a42613d080008d10fa7
Deploy Preview https://deploy-preview-162--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 settings.