gradio icon indicating copy to clipboard operation
gradio copied to clipboard

Gallery events WIP

Open abidlabs opened this issue 1 year ago • 1 comments

Colab with @pngwn to add click() and change() events to Gallery.

  • The click() event should fire when an image is clicked, so that it can be used for some downstream function
  • The change() event should fire when the Gallery loads images, allowing it to trigger downstream actions

Fixes: #1976, fixes: #1379 which should be marked as duplicates

abidlabs avatar Sep 21 '22 16:09 abidlabs

All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-2315-all-demos

github-actions[bot] avatar Sep 21 '22 16:09 github-actions[bot]

@pngwn I'll close this PR for now?

abidlabs avatar Sep 27 '22 14:09 abidlabs

The PR seems to be closed without merging, but it would have fixed many reported issues. Has it not worked as expected? (I see no tests in the PR)

temirov avatar Jan 16 '23 08:01 temirov

We were unable to get a fix that truly worked. However, I agree that this is a pretty important issue. We'll look into this in the near future

abidlabs avatar Jan 16 '23 15:01 abidlabs

Is it on the roadmap, if I may ask? E.g. do we have a vague feeling of the ETA? :-)

temirov avatar Feb 08 '23 08:02 temirov

It is on the roadmap, but not something we can attend to in the next month at least. Feel free to chime into #1976 and we'll try to give it attention as soon as we can

abidlabs avatar Feb 08 '23 17:02 abidlabs