-
Notifications
You must be signed in to change notification settings - Fork 511
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
add option to auto-execute operator on params change #4251
base: develop
Are you sure you want to change the base?
Conversation
WalkthroughThe recent update brings significant changes to the operator functionality in the application. It introduces new constants for default auto-execute delays, refines the Changes
Recent Review DetailsConfiguration used: .coderabbit.yaml Files selected for processing (4)
Files skipped from review due to trivial changes (1)
Additional Context UsedPath-based Instructions (2)
Additional comments not posted (5)
Warning Following problems were encountered
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
dfa59ca
to
47d0f85
Compare
47d0f85
to
b81b220
Compare
b81b220
to
e51c92c
Compare
e51c92c
to
a8a8116
Compare
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.
Actionable comments posted: 0
Out of diff range and nitpick comments (1)
app/packages/operators/src/state.ts (1)
508-523
: Implementation of debounced auto-execution function.Consider adding error handling or a cancellation mechanism within the
debouncedAutoExecute
function to manage scenarios where the execution needs to be stopped or modified based on changing conditions. This could enhance the robustness of the feature, especially in dynamic environments where operator parameters might change frequently.
What changes are proposed in this pull request?
Add support for
auto_execute
. When set toTrue
, the operator will automatically execute when an operator prompt input changeHow is this patch tested? If it is not, please explain why.
Usage
Preview
Kapture.2024-04-23.at.11.01.05.mp4
Release Notes
Is this a user-facing change that should be mentioned in the release notes?
notes for FiftyOne users.
Add support for
execute_on_change
. When set toTrue
, the operator will automatically execute when a operator prompt input changeWhat areas of FiftyOne does this PR affect?
fiftyone
Python library changesSummary by CodeRabbit