gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
33.6k stars 2.54k forks source link

Improve discoverability of share feature #8910

Open abidlabs opened 3 months ago

abidlabs commented 3 months ago

The share icon in our Chatbot, Image, etc is very small and hard to discover if you don't already know about it, e.g see:

image

This needs some designing, but it would be great if we could make it more prominent in 5.0 to encourage more Hub sharing features (cc @osanseviero)

gsbm commented 3 months ago

Hi, if I can suggest an idea: The share button could be bigger but hidden, until hovering the output. With a slight animation (the button coming from the side, for example), revealing the button, it would make it more noticiable by the user eyes (by it size and movement), while being less intrusive as possible (hidden until hover). Moreover, the button would need a label, not just an icon, to make the call to action clearer.

abidlabs commented 2 months ago

Thanks @gsbm for the suggestion! Two reasons I hesitate:

I agree with adding a label, but also not clear how to do it in a way that's not intrusive

allisonwhilden commented 2 months ago

I wonder if part of the challenge is the fact that there are multiple corners to look for things. You see the component label on the left, may try to interact with that, and not necessarily realize there are options on the right. If you try and make the options on the right more discoverable, it could start to compete with the other content and cause a distraction as mentioned above.

As another suggestion: maybe you could consolidate the UI and give users a single, more obvious place to look and interact with? If there were some "Menu" icon next to the component label, such as three dots, it is more inline with the path users eye's generally follow down a page.

image

And with it being a dropdown menu, you could easily consolidate commands when some components have multiple commands (such as images), and show a full label, because you have the dropdown.

image