fiftyone-plugins icon indicating copy to clipboard operation
fiftyone-plugins copied to clipboard

Custom Plugin

Open tugcekiziltepe opened this issue 1 year ago • 1 comments

I wanted to add a new plugin. in execute() function I select some samples. I want to show them when the operation is done. For this purpose in execute() function I added a line like this:

ctx.trigger("set_selected_samples", params=dict(samples=[ids]))

ids is a list of sample ids that have been selected. In the end, nothing happens. These samples cannot be shown to the user by using this operation on App. Do you have an idea what might be the problem?

tugcekiziltepe avatar Feb 22 '24 16:02 tugcekiziltepe