-
Notifications
You must be signed in to change notification settings - Fork 74
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
auto-update support for plugin results #2680
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
5d1e9f4
support user-api to_dict/from_dict
kecnry bc6c5b6
WIP: (optionally) live-updating plugin products
kecnry ce53087
support creating new instances of plugins, independent of tray
kecnry bc9893b
expose auto_update_result switch in add_result user API
kecnry e6977e2
WIP: generalize framework and use for cubeviz spec extraction
kecnry fc4839e
fix spec extract initialized after app/subsets
kecnry 8e67394
allow spectral extraction to overwrite
kecnry 1ed80e0
use plugin name instead of class name when referring to plugin
kecnry dff4340
cleanup print statements
kecnry 2375e2f
auto_update_results as an optional traitlet for AddResults
kecnry ea4482d
changelog entry
kecnry bb89522
disable collapse implementation (for now)
kecnry ac3c16e
don't show collapse toggle for plugins without passing it
kecnry ad7db12
fix rebase issues
kecnry f5ad065
fix not_from_model_fitting filter
kecnry 6762d61
only include auto_update_result in repr if set
kecnry 3b6df87
fix duplicate calling of auto-update for spectral extraction
kecnry d059edf
basic test coverage case
kecnry 0445980
skip deprecated methods in to_dict to avoid warning
kecnry 6b31892
test by manually calling update
kecnry 895b9d7
try if subset order (per-viewer) could be causing the occasional CI fail
kecnry 1d95c67
move changelog entry to 3.10
kecnry 64a5a61
return results during call
kecnry 90cef2d
remove test assert
kecnry 4677435
snackbar message if auto-update fails
kecnry 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
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
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
Oops, something went wrong.
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.
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.
can you change this message to be specific within in the plugin. for spectral extraction, say something like 'auto-update extracted spectrum when selected data is changed' ?
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.
This is a good idea - let's revisit this if the switch ends up staying visible (there is a chance when we swap out the glue implementation, that the switch won't even be available to the user, and it would take some work and thinking about the text to pass the property through to the re-usable component).