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

Add a Share / link button on location page #636

Open
wbazant opened this issue Dec 10, 2024 · 2 comments
Open

Add a Share / link button on location page #636

wbazant opened this issue Dec 10, 2024 · 2 comments
Labels
enhancement New feature request

Comments

@wbazant
Copy link
Collaborator

wbazant commented Dec 10, 2024

Let's help Falling Fruit to spread through our users' social graphs by providing an easy way to share locations.

I think the upper right corner would be the place, instead of the arrow down that reveals links to Wikipedia / Eat The Weeds:

Screenshot from 2024-12-10 13-27-47

I suggest removing the links and letting users rely on the Latin name to find out about the species: when I was watching a friend use a site, he at some point selected the text and paste it into google when he wanted to learn more about an unknown plant.

We also had a suggestion to place them just as glyph icons immediately by the type name - but I think each additional visual element detracts from the whole, while the value of a wikipedia link seems limited over having the user google the name.

I propose to share clean URLs to locations, e.g. beta.fallingfruit.org/locations/1809488 - without the map location - since they look nice in whatsapp chats.

The button should look like 🔗 and I'm not sure about the interaction with it. The ones I've seen online are:

  • either pressing the button should copy directly to clipboard and toast the message about it
  • or when clicked it should open a textarea with a link text, as well as a second icon which represents copying to clipboard
@wbazant wbazant added the enhancement New feature request label Dec 10, 2024
@ezwelty
Copy link
Collaborator

ezwelty commented Dec 10, 2024

the value of a wikipedia link seems limited over having the user google the name

@wbazant I have to disagree with this statement, since the links associated with each type are carefully curated and link directly to good resources about that particular type.

However, as you know, I support dropping the space-inefficient type accordions in favor of something like what we have on the mobile list. I hear you about not filling the location page with url logos. So I'm okay dropping the links for now in favor of other functionality, if in the future clicking on a type goes to a type profile page (with the links and much more!) as per the long-term vision of more interactive types:

https://docs.google.com/document/d/1ah6jKO9uizBqeBtTVoIXi51gpYEQEyYzzastcMKOp5Y/edit?tab=t.0#heading=h.cbt21puyoh05

As for the shareable URL, I like the idea, the proposed icon (boxicon link), and the idea of it being copied directly to the clipboard with a toast. 🥳 (Could a link icon, with a second offset link icon, combine the best of link and copy-to-clipboard icon conventions?)

I'll note that this is related to #113, since ideally the link preview displayed by the social media platform would reflect the location, not the website as a whole.

@wbazant
Copy link
Collaborator Author

wbazant commented Dec 15, 2024

This would probably be one UI change with #530 (which is about the types taking too much space as they are now)

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

No branches or pull requests

2 participants