Open
Conversation
The changes are minor and simply involve settings some props on the component. Dash takes care of teh rest. This allows for the code value to be maintained across sessions. See https://dash.plotly.com/persistence for more information
JHSaunders
added a commit
to BusinessOptics/fn_graph_studio
that referenced
this pull request
Mar 29, 2020
The result processor now uses a small ace-editor. It syntax highlights as well as debouncing so input is not sluggish. The dash-ace dependency is currently pulled off of a fork in order to activate persistence, this shoud move of fthe primary package once reasoned-ai/dash-ace#2 is merged. The code definition is now highlighted using pygments.
Author
|
@xumiao Is there any chance of getting this merged in and packaged? Otherwise we have to fork it to create a new pypi package, which we don't want to do, but not having it in a package is stopping us from publishing our downstream packages. |
Contributor
|
@JHSaunders , thanks for the feature. This seems to be useful. Are you fine with the new package? Or you would like to use this one instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plotly offers a standard way to persist values between sessions,
https://dash.plotly.com/persistence
This adds that capability. It is split into two commits, the first makes the actual changes and the second builds all the derived artifacts.
The changes are very simple.