-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve ui state across Plotly.react redraws #3236
Merged
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
3a70fee
make hover label test independent of selection order
alexcjohnson a86ca58
fix and :lock: bug with impliedEdits and groupby transform
alexcjohnson 4ca328a
remove impliedEdits that got forgotten in #3044
alexcjohnson 082ac38
alias `Lib.nestedProperty` separately in plot_api
alexcjohnson b134a52
fix obscure undo/redo bug with container array relayout removal
alexcjohnson c62cf25
clean up handleHover3d
alexcjohnson a11ec44
add _gui(Restyle|Relayout|Update) and _storeDirectGUIEdit and track c…
alexcjohnson 10ddbb9
fix and :lock: problem with dragging colorbars in sub-containers
alexcjohnson 4af2bf8
add and coerce uirevision attributes
alexcjohnson 03baca7
use uirevisions in Plotly.react to preserve ui state
alexcjohnson 6a9d0d7
add selectedpoints to uirevision framework
alexcjohnson a443747
break Plotly.react tests out of plot_api_test into plot_api_react_test
alexcjohnson 54304b4
test uirevision + react logic
alexcjohnson 86b90d4
remove `apply` arg from _storeDirectGUIEdit
alexcjohnson 502082f
:palm_tree: uirevision tests
alexcjohnson 5182f6a
fix and :lock: polar uirevisions
alexcjohnson 89dde84
:lock: ternary uirevisions
alexcjohnson 778ec15
fix and :lock: mapbox uirevisions
alexcjohnson 21f5db5
fix and :lock: editable shapes & annotations uirevision
alexcjohnson 8f0f075
:palm_tree: uirevision tests
alexcjohnson eb728fe
fix and :lock: editable: true uirevisions
alexcjohnson c95ae07
revert form of rangeslider relayout call (but it's still _guiRelayout)
alexcjohnson 7ab8630
comment on uirevision<->uid in trace.uirevision attribute description
alexcjohnson 756308f
record real initial axis (auto)range so we can update to autorange
alexcjohnson 874a72a
remove now-obsolete comment about autorange/autofill
alexcjohnson 090231b
fix and :lock: selectionrevision with groupby
alexcjohnson 5a27c00
update trace.uirevision description with what it does/doesn't control
alexcjohnson 2034941
partial preGUI fix for 3D camera
alexcjohnson 6cfe7c5
Merge branch 'master' into ui-key
alexcjohnson 8d11985
write camera.up back to layout only when necessary
alexcjohnson d9b3aea
Merge branch 'master' into ui-key
alexcjohnson 0621e43
update uirevisions for new title attribute structure #3276
alexcjohnson bdef7d3
more permissive tickson rotation test for AJ's machine
alexcjohnson 2b77911
looser acceptance for title centering, to work on AJ's machine
alexcjohnson 067bd7d
biger tickwidth difference in tickson rotation test
alexcjohnson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might not have anyone who cares about undo/redo anymore, but we have it so here's a fix. We were missing the
.get()
the way this was written before.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dmt0 @nicolaskruchten for the future perhaps ^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a tentative plan to 🔪 undo/redo in v2 #420 (comment), with the rationale:
so unless we reverse that conclusion let's not build anything else using it.