Skip to content
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

Command functions should be able to return an updated config #359

Open
keller-mark opened this issue Aug 21, 2024 · 1 comment
Open

Command functions should be able to return an updated config #359

keller-mark opened this issue Aug 21, 2024 · 1 comment
Labels
feature New feature or request

Comments

@keller-mark
Copy link
Member

Chat plugin should be able to both return a string and also return an updated config dict (optionally).

Need to update the python APIs to enable this (would be similar to the on_config_change inputs/outputs and behavior).

https://github.com/vitessce/vitessce-python/blob/main/docs/notebooks/widget_plugin_custom.ipynb

@keller-mark keller-mark added the feature New feature or request label Aug 21, 2024
@keller-mark
Copy link
Member Author

keller-mark commented Aug 21, 2024

Or maybe the command function should just receive a reference to the widget instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant