-
Notifications
You must be signed in to change notification settings - Fork 634
Add more input events #1392
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
Merged
Merged
Add more input events #1392
Changes from 60 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
379e482
add restyle event, addresses #1321
cpsievert 133e5ff
Merge branch 'master' into input-events
cpsievert 06de984
add an example of mapping parcoord ranges back to the observations of…
cpsievert 8d71818
Merge branch 'master' into input-events
cpsievert 39553e6
New shiny input event 'plotly_brush' returns the x/y range of rectang…
cpsievert eb5a093
add plotly_selecting and plotly_brushing
cpsievert 40f039c
Merge branch 'master' into input-events
cpsievert f949d7c
use Shiny.setInputValue() over Shiny.onInputChange()
cpsievert 849f5f1
Relay full annotation info on 'plotly_clickannotation' event
cpsievert 5514bfe
Relay 'plotly_afterplot' event
cpsievert 5a54e41
Relay traces tied to legend events
cpsievert f23838f
Allow shiny input priority to be configurable at the plot-level, clos…
cpsievert 5576397
fix legend event data and add example app
cpsievert fe1f075
add a 'proxy method' for modifying the plot config; add annotation ex…
cpsievert 80a750d
add double-click, unhover, and deselect events
cpsievert 1522f59
update list of supported events and use match.arg() to make sure a su…
cpsievert e7f718e
avoid fromJSON simplification for legend events
cpsievert 1e10fc7
document
cpsievert b8789dd
tidy up documentation and function signature
cpsievert 6e9e636
'plotly_unhover' emits data
cpsievert 2abe932
attempt to dynamically register events
cpsievert 65f473a
make sure events are registered once; clean up some other bugs
cpsievert f2b5426
always send message on flush and tidy up registration logic
cpsievert eb6cadb
consistent use of [].map
cpsievert d32b86f
silly off-by-one mistake
cpsievert 8f00e01
tidy up R docs
cpsievert 14d674d
resolve priority of 'null' events server-side (with a message)
cpsievert 0eac8b5
plotly_brushed is more consistent naming than plotly_brush
cpsievert d2cf6a2
Merge branch 'master' into input-events
cpsievert dc91b70
Merge branch 'master' into input-events
cpsievert 95b3121
improve parcoords example app
cpsievert c20fbf4
Treat Shiny.addCustomMessageHandler like the 'global' operation that …
cpsievert e4d240a
clean-up comments
cpsievert 5b37957
update event priority example app
cpsievert d2e4042
only add message handler when in shinyMode
cpsievert 8377bec
revert to 6e9e636
cpsievert f293486
force user to specify inputs/events to register as part of plot object
cpsievert c52909a
use modern jsonlite::parse_json for safer JSON parsing
cpsievert f62c50e
Track plot events in user's session data to throw informative errors
cpsievert 1437d64
Merge branch 'master' into input-events
cpsievert ecbe79d
more clean-up
cpsievert f2937d7
events currently need their own dedicated input value
cpsievert d6ea8bc
merge with master
cpsievert a159ded
fix event_data shiny example
cpsievert d4c1d58
remove .clientValue prefix
cpsievert 834498a
always set input values with event priority and leverage reactive cac…
cpsievert 89296a5
fix test expectations
cpsievert d2ffbb0
maintain backwards-compatibility; document priority argument; update …
cpsievert a3b826d
more news
cpsievert e5dde36
clean-up
cpsievert 9128db3
new bullet about event_register() and event_unregister()
cpsievert 7671756
more news improvements
cpsievert 781643d
add a shinytest test for event_data app
cpsievert bd56d2e
update event_data tests
cpsievert 3519787
disable shinytest tests during visual test runs
cpsievert 71d5d48
actually disable this time
cpsievert fe2684a
actually, no really, disable shinytest in vdiffr run
cpsievert 39d9e92
load plotly in example shiny apps
cpsievert 6155442
throw a warning (not an error) if the input value that event_data() i…
cpsievert 8db07c3
Wait to check input values have been registered until after shiny's r…
cpsievert 35a6887
warn instead of stop
cpsievert 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 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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.