Skip to content

Releases: rstudio/shinyuieditor

v0.5.0

27 Sep 15:53
447ed02
Compare
Choose a tag to compare

This release marks a big shift in the internals of the UI editor to do all app parsing on the client with TreeSitter. It also includes a series of stability fixes and marks the shift out of "alpha" for the editor.

Major new features and improvements

  • Switched underlying parsing to use TreeSitter instead of the built-in R parser. This simplifies codebase and also makes whole app faster.

Minor new features and improvements

  • CSS unit inputs now respect valid ranges for their corresponding units. E.g. can't go bigger than 100% or smaller than 0px. (2632494 and a3f385a)
  • You can now pass a direct path to an app in launch_editor(). (c931639)

Bug fixes

  • No longer crashes when special characters (e.g. \ or ") are put into string inputs (2e24127)
  • Fixed bug where refreshing the page when using the editor via the launch_editor() function (as opposed to the vscode extension) could cause app file to be erased. (6aa03f4)
  • Fixed visual bug where headers and footers of bslib cards would show up even when nothing was in them in the vscode extension. (7d253de)
  • Fixed bug where non-bsicon versions of value boxes would be converted to bsicons::bs_icon("undefined"). (aefb778)

v0.4.3

05 Apr 15:44
Compare
Choose a tag to compare

Major new features and improvements

  • Value Boxes from bslib are now available to use

Minor new features and improvements

  • Ability to hook into pre/post processing of a node when going from raw ast to ui node and from ui node to R code. This enables the ability to abstract away things like function calls for arguments into things like enums or strings and then convert them back to function calls when generating R code.
  • Updated underlying data structures to allow for more flexible navigation of the editors internal data structures. This will allow for more advanced features in the future where ui nodes can be added not only as children but as named arguments.

v0.4.2

27 Mar 15:43
Compare
Choose a tag to compare

This update focuses on enhancing the user experience by making the application more robust to errors. Key improvements include catching and communicating failures in reading/parsing app files, isolating front-end editor failures, and providing options for remedying issues, along with submitting bug reports to GitHub. We've also addressed several bugs related to grid layouts, reactive values, and hard resetting the app preview server.

v0.4.1

17 Mar 14:08
Compare
Choose a tag to compare

Major new features and improvements

  • New more flexible bslib::card() based cards are now available along with the old grid cards being updated to reflect the new gridlayout wrapper gridlayout::grid_card().
  • You can now add plain text anywhere you can add normal elements. The new "Static Text" node lets you enter descriptions etc... The contents can also have basic styles applied, such as sizing and decoration.

Minor new features and improvements

  • Cards now have a simple header by default

Bug fixes

  • In vscode, if ui changes are made to the app, the selection of output definitions and addition of new output definitions no longer breaks.
  • Fixed a problem where making many quick updates to the state would cause the app to crash due to the backend and the client getting out of sync.
  • Cards' content can no longer spill over, obscuring other elements like grid tract resizers.
  • The visual indicator for swapping positions of items on the grid no longer flickers and is actually legible.
  • The main editor view now reflects the width argument of shiny text input elements.
  • plot outputs no longer have a fixed width of 200px when their width argument is unset, instead filling the container's width as they do in the running app.
  • Code/ functions that the editor doesn't know how to deal with (e.g. custom functions or non-implemented ui elements) no longer crash app to a blank screen.

v0.4.0

13 Feb 15:26
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Add jump-to-server buttons for inputs and outputs in VSCode extension and a code generation in the static hosted version of the editor. Under the hood large changes have been made to simplify the data-model exchange between the client and backend.
Note: The large version jump is to keep the R package and VSCode extension versions the same.

v0.0.1

25 Jan 22:36
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

First release of the shinyuieditor vscode extension. Install the extension by downloading the .vsix file at inst/vscode-extension/shinyuieditor-0.0.1.vsix (or downloading the one attached to this github release) and then using one of the options described here.

v0.0.0

25 Jan 22:31
Compare
Choose a tag to compare
v0.0.0 Pre-release
Pre-release

Ignore this release. Test run.